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.001272/0.001273, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 222.1 MB, free: 5.688 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.789/1.789, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005071/0.0005072, allocations: 16.28 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2426, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002712/0.2454, allocations: 1.987 MB / 0.7892 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.2462, allocations: 0.4973 MB / 0.7897 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.2463, allocations: 4 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.2467, allocations: 123.4 kB / 0.7898 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.2468, allocations: 87.77 kB / 0.7899 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.2469, allocations: 27.97 kB / 0.7899 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.2472, allocations: 179.6 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.2473, allocations: 81.27 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2475, allocations: 71.73 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.2476, allocations: 91.56 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.2477, allocations: 8 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.986e-05/0.2477, allocations: 8 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.2478, allocations: 75.75 kB / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.2479, allocations: 85.45 kB / 0.7905 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2481, allocations: 247.4 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2481, allocations: 0 / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2481, allocations: 0 / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2481, allocations: 0 / 0.7907 GB, free: 8.293 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.0008194/0.2489, allocations: 0.5989 MB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.249, allocations: 8.031 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.2491, allocations: 50.55 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.2491, allocations: 43.44 kB / 0.7914 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.2495, allocations: 289.2 kB / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2495, allocations: 15.94 kB / 0.7917 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.2496, allocations: 20 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.2499, allocations: 141.1 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2499, allocations: 0 / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.2499, allocations: 4 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2499, allocations: 4 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.2501, allocations: 95.89 kB / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.251, allocations: 0.59 MB / 0.7925 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.2512, allocations: 94.61 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.2513, allocations: 0 / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2513, allocations: 34.75 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.2513, allocations: 3.938 kB / 0.7926 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003549/0.2517, allocations: 145.2 kB / 0.7928 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.2517, allocations: 59.34 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.2521, allocations: 393.9 kB / 0.7932 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.2521, allocations: 25.7 kB / 0.7932 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.2523, allocations: 212 kB / 0.7934 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.2523, allocations: 31.55 kB / 0.7935 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.2524, allocations: 4 kB / 0.7935 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2525, allocations: 342.8 kB / 0.7938 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.2526, allocations: 31.98 kB / 0.7938 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.2527, allocations: 51.42 kB / 0.7939 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.2528, allocations: 32 kB / 0.7939 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2529, allocations: 3.984 kB / 0.7939 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002343/0.2531, allocations: 145.4 kB / 0.794 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2531, allocations: 11.98 kB / 0.7941 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2531, allocations: 4.094 kB / 0.7941 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2532, allocations: 0 / 0.7941 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2533, allocations: 27.92 kB / 0.7941 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2533, allocations: 4 kB / 0.7941 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2534, allocations: 19.8 kB / 0.7941 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2534, allocations: 4 kB / 0.7941 GB, free: 4.555 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.2536, allocations: 161.8 kB / 0.7943 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.2537, allocations: 31.62 kB / 0.7943 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.293e-05/0.2537, allocations: 43.2 kB / 0.7943 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2537, allocations: 0 / 0.7943 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.2538, allocations: 4 kB / 0.7943 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.2538, allocations: 0 / 0.7943 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.2541, allocations: 313.4 kB / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2541, allocations: 0 / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.2542, allocations: 23.86 kB / 0.7947 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2543, allocations: 4 kB / 0.7947 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2543, allocations: 4 kB / 0.7947 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2543, allocations: 0 / 0.7947 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2543, allocations: 0 / 0.7947 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.2546, allocations: 255 kB / 0.7949 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2548, allocations: 108.7 kB / 0.795 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.2548, allocations: 7.984 kB / 0.795 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.2549, allocations: 4 kB / 0.795 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2549, allocations: 7.984 kB / 0.795 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.255, allocations: 0 / 0.795 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003028/0.2553, allocations: 279.2 kB / 0.7953 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2553, allocations: 0 / 0.7953 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002626/0.2555, allocations: 47.84 kB / 0.7953 GB, free: 3.191 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000721/0.2563, allocations: 0.7979 MB / 0.7961 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2565, allocations: 67.98 kB / 0.7962 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2565, allocations: 0 / 0.7962 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.2566, allocations: 39.92 kB / 0.7962 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2569, allocations: 21.55 kB / 0.7963 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.2598, allocations: 2.29 MB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.2602, allocations: 0.8062 MB / 0.7993 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.619e-05/0.2603, allocations: 20.62 kB / 0.7993 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.2604, allocations: 95.41 kB / 0.7994 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2604, allocations: 3.938 kB / 0.7994 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.2812, allocations: 4.805 MB / 0.8041 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.2816, allocations: 197 kB / 0.8043 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.078, allocations: 3.938 kB / 0.8043 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/linux/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) Environment - environmentSimulation: