Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Examples.Performance.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",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.0008505/0.0008506, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008307/0.0008308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 16 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7604, allocations: 142.3 MB / 0.9538 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06019/0.8206, allocations: 66.6 MB / 1.019 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02283/0.8435, allocations: 15.93 MB / 1.034 GB, free: 13.39 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.8469, allocations: 75.5 kB / 1.035 GB, free: 13.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.8496, allocations: 0.6716 MB / 1.035 GB, free: 12.64 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.8556, allocations: 1.935 MB / 1.037 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004762/0.8603, allocations: 1.567 MB / 1.039 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.8706, allocations: 9.075 MB / 1.047 GB, free: 48 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00725/0.8779, allocations: 5.322 MB / 1.053 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006182/0.8841, allocations: 2.707 MB / 1.055 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/0.8887, allocations: 2.31 MB / 1.058 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000749/0.8895, allocations: 132 kB / 1.058 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.8929, allocations: 1.014 MB / 1.059 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008818/0.8938, allocations: 0.6066 MB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.8952, allocations: 0.6484 MB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004615/0.8999, allocations: 3.499 MB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.8999, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8999, allocations: 4 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001302/0.9001, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.007594/0.9077, allocations: 3.866 MB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9077, allocations: 8.031 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004623/0.9082, allocations: 236 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.911, allocations: 0.6593 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005034/0.916, allocations: 2.533 MB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.9161, allocations: 139.8 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.9164, allocations: 188 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/0.9204, allocations: 2.451 MB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.9205, allocations: 3.938 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.9207, allocations: 71.98 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.9207, allocations: 40 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/0.9247, allocations: 2.126 MB / 1.075 GB, free: 3.117 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.9398, allocations: 12.23 MB / 1.087 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.943, allocations: 1.571 MB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001906/0.945, allocations: 1.125 MB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006688/0.9517, allocations: 4.119 MB / 1.094 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001637/0.9534, allocations: 0.9223 MB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001759/0.9551, allocations: 454.6 kB / 1.095 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=96): time 3.647e-06/0.9551, allocations: 0 / 1.095 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=96): time 0.01521/0.9704, allocations: 5.291 MB / 1.1 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.9704, allocations: 72.33 kB / 1.1 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/0.9747, allocations: 3.016 MB / 1.103 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.975, allocations: 53.7 kB / 1.103 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.9763, allocations: 1.428 MB / 1.105 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.9767, allocations: 351 kB / 1.105 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.9768, allocations: 28 kB / 1.105 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9769, allocations: 365.9 kB / 1.106 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.9784, allocations: 0.7222 MB / 1.106 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.9803, allocations: 1.525 MB / 1.108 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/0.9819, allocations: 0.9262 MB / 1.109 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.9819, allocations: 4 kB / 1.109 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006517/0.9885, allocations: 3.022 MB / 1.112 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004399/0.9889, allocations: 0.5302 MB / 1.112 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/0.989, allocations: 15.94 kB / 1.112 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/0.9917, allocations: 0.7739 MB / 1.113 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/0.993, allocations: 325.2 kB / 1.113 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/0.9959, allocations: 2.173 MB / 1.115 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/0.9995, allocations: 260.6 kB / 1.116 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.9998, allocations: 79.97 kB / 1.116 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.9998, allocations: 4 kB / 1.116 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004625/1.004, allocations: 2.368 MB / 1.118 GB, free: 5.738 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/1.004, allocations: 15.95 kB / 1.118 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/1.006, allocations: 0.5878 MB / 1.119 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.007, allocations: 293.4 kB / 1.119 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007532/1.014, allocations: 6.494 MB / 1.125 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.017, allocations: 248.7 kB / 1.125 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/1.017, allocations: 71.98 kB / 1.126 GB, free: 13.75 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001533/1.019, allocations: 0.827 MB / 1.126 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/1.02, allocations: 292.2 kB / 1.127 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/1.024, allocations: 2.554 MB / 1.129 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.024, allocations: 16 kB / 1.129 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.024, allocations: 3.953 kB / 1.129 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003626/1.028, allocations: 2.248 MB / 1.131 GB, free: 7.707 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008568/1.036, allocations: 4.809 MB / 1.136 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.037, allocations: 0 / 1.136 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/1.037, allocations: 169.7 kB / 1.136 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/1.039, allocations: 0.5479 MB / 1.137 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/1.039, allocations: 27.97 kB / 1.137 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/1.041, allocations: 2.084 MB / 1.139 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.041, allocations: 11.95 kB / 1.139 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/1.047, allocations: 3.439 MB / 1.142 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.049, allocations: 0.5673 MB / 1.143 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/1.049, allocations: 20.06 kB / 1.143 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.051, allocations: 215.5 kB / 1.143 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/1.051, allocations: 68.89 kB / 1.143 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.51e-05/1.051, allocations: 39.97 kB / 1.143 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00316/1.054, allocations: 2.06 MB / 1.145 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.054, allocations: 0 / 1.145 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00502/1.059, allocations: 1.486 MB / 1.146 GB, free: 7.973 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.0068/1.066, allocations: 4.123 MB / 1.151 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006361/1.072, allocations: 3.35 MB / 1.154 GB, free: 432 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.072, allocations: 4 kB / 1.154 GB, free: 428 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/1.074, allocations: 0.8578 MB / 1.155 GB, free: 15.56 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007854/1.082, allocations: 1.532 MB / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04853/1.131, allocations: 21.48 MB / 1.177 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/1.132, allocations: 2.037 MB / 1.179 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002997/1.135, allocations: 0.6795 MB / 1.18 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/1.137, allocations: 1.183 MB / 1.181 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of SimCode: time 9.62e-07/1.137, allocations: 0 / 1.181 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6902/1.827, allocations: 84.81 MB / 1.264 GB, free: 264.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/1.827, allocations: 260.1 kB / 1.264 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.123/5.95, allocations: 0 / 1.264 GB, free: 263.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat does not exist to compare? outputFormat=mat