Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 101.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 193.1 kB / 16.63 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 68.91 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2337, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003581/0.2373, allocations: 2.456 MB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000783/0.2381, allocations: 0.5365 MB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-05/0.2382, allocations: 4 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.2386, allocations: 128.3 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2388, allocations: 95.27 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.2389, allocations: 35.97 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.2391, allocations: 250.7 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.2393, allocations: 107.1 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2394, allocations: 83.61 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2396, allocations: 95.56 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.548e-05/0.2396, allocations: 20 kB / 0.7873 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.714e-05/0.2396, allocations: 20 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.2397, allocations: 79.69 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.2399, allocations: 163 kB / 0.7876 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.2402, allocations: 334.7 kB / 0.7879 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2402, allocations: 3.938 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2402, allocations: 8 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.2402, allocations: 0 / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007222/0.2409, allocations: 0.6455 MB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.241, allocations: 8.031 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.241, allocations: 46.73 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.2411, allocations: 44.38 kB / 0.7886 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.2414, allocations: 310.2 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.2414, allocations: 8.375 kB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.2414, allocations: 16.38 kB / 0.789 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.2417, allocations: 137.9 kB / 0.7891 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2417, allocations: 3.938 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.2417, allocations: 8 kB / 0.7891 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2418, allocations: 11.92 kB / 0.7891 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.242, allocations: 87.95 kB / 0.7892 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.2427, allocations: 0.5858 MB / 0.7898 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.2429, allocations: 86.56 kB / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.243, allocations: 48.89 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.2431, allocations: 4 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2431, allocations: 34.55 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2431, allocations: 0 / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003309/0.2434, allocations: 149.2 kB / 0.7901 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2435, allocations: 51.41 kB / 0.7901 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.2438, allocations: 390 kB / 0.7905 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2438, allocations: 25.7 kB / 0.7905 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.244, allocations: 227.9 kB / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.244, allocations: 27.56 kB / 0.7908 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.2441, allocations: 25.7 kB / 0.7908 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2442, allocations: 350.7 kB / 0.7911 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.2443, allocations: 27.94 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.946e-05/0.2444, allocations: 58.03 kB / 0.7912 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2445, allocations: 95.36 kB / 0.7913 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2446, allocations: 0 / 0.7913 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002251/0.2448, allocations: 149.1 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2448, allocations: 4.094 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2448, allocations: 8 kB / 0.7914 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2448, allocations: 0 / 0.7914 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.245, allocations: 23.98 kB / 0.7915 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.245, allocations: 4 kB / 0.7915 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.398e-05/0.245, allocations: 7.938 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2451, allocations: 7.938 kB / 0.7915 GB, free: 4.891 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.2452, allocations: 166.9 kB / 0.7916 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.2453, allocations: 39.52 kB / 0.7917 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.2453, allocations: 39.22 kB / 0.7917 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2453, allocations: 4 kB / 0.7917 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2453, allocations: 0 / 0.7917 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2453, allocations: 3.938 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.2456, allocations: 313.4 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2456, allocations: 0 / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.2458, allocations: 19.98 kB / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2458, allocations: 0 / 0.7921 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2458, allocations: 4 kB / 0.7921 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2458, allocations: 0 / 0.7921 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2458, allocations: 0 / 0.7921 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.2461, allocations: 258.9 kB / 0.7923 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.2462, allocations: 108.8 kB / 0.7924 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2462, allocations: 8 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.2463, allocations: 3.938 kB / 0.7924 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.2464, allocations: 4 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.2464, allocations: 0 / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002434/0.2466, allocations: 291.1 kB / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2466, allocations: 0 / 0.7927 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000257/0.2469, allocations: 47.84 kB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000599/0.2475, allocations: 0.7862 MB / 0.7935 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.2477, allocations: 76.09 kB / 0.7936 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2477, allocations: 4 kB / 0.7936 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.897e-05/0.2478, allocations: 39.92 kB / 0.7936 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.2482, allocations: 23.95 kB / 0.7936 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.2512, allocations: 2.716 MB / 0.7963 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2515, allocations: 0.7981 MB / 0.7971 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.307e-05/0.2516, allocations: 16.62 kB / 0.7971 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.2517, allocations: 103.4 kB / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2517, allocations: 0 / 0.7972 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.2721, allocations: 4.873 MB / 0.802 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.024, allocations: 13.92 kB / 0.802 GB, free: 10.07 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)