Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.001104/0.001104, allocations: 106.5 kB / 16.4 MB, free: 6.445 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.001402/0.001402, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6895/0.6895, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.11 kB / 0.5572 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1447, allocations: 76.17 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7557/0.9004, allocations: 380.1 MB / 1.003 GB, free: 212 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.06299/0.9635, allocations: 46.55 MB / 1.048 GB, free: 1.531 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008458/0.972, allocations: 179 kB / 1.048 GB, free: 1.355 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.4757/1.448, allocations: 3.627 MB / 1.052 GB, free: 16.05 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01937/1.467, allocations: 7.593 MB / 1.059 GB, free: 16.05 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009331/1.476, allocations: 3.979 MB / 1.063 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02483/1.501, allocations: 17.33 MB / 1.08 GB, free: 15.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/1.512, allocations: 5.635 MB / 1.086 GB, free: 15.36 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01522/1.527, allocations: 6.451 MB / 1.092 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007833/1.535, allocations: 3.765 MB / 1.096 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/1.536, allocations: 0.5046 MB / 1.096 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/1.55, allocations: 6.355 MB / 1.102 GB, free: 14.8 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003123/1.553, allocations: 2.007 MB / 1.104 GB, free: 14.58 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00534/1.559, allocations: 3.148 MB / 1.107 GB, free: 13.7 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/1.575, allocations: 10.37 MB / 1.118 GB, free: 12.39 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.575, allocations: 0 / 1.118 GB, free: 12.39 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/1.575, allocations: 2.531 kB / 1.118 GB, free: 12.39 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001857/1.575, allocations: 0 / 1.118 GB, free: 12.39 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01372/1.589, allocations: 6.482 MB / 1.124 GB, free: 9.434 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.589, allocations: 8.312 kB / 1.124 GB, free: 9.434 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007704/1.59, allocations: 479.8 kB / 1.124 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/1.602, allocations: 2.006 MB / 1.126 GB, free: 8.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/1.614, allocations: 5.865 MB / 1.132 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/1.614, allocations: 388.4 kB / 1.132 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008427/1.615, allocations: 347.1 kB / 1.133 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008023/1.623, allocations: 4.508 MB / 1.137 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.886e-05/1.623, allocations: 0 / 1.137 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/1.623, allocations: 143.8 kB / 1.137 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/1.624, allocations: 138.3 kB / 1.137 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007942/1.632, allocations: 3.95 MB / 1.141 GB, free: 5.551 MB / 0.795 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.02941/1.661, allocations: 19.52 MB / 1.16 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003654/1.665, allocations: 1.75 MB / 1.162 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/1.667, allocations: 0.9017 MB / 1.163 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/1.667, allocations: 407.3 kB / 1.163 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/1.67, allocations: 1.047 MB / 1.164 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=127): time 4.429e-06/1.67, allocations: 0 / 1.164 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=127): time 0.008116/1.678, allocations: 2.898 MB / 1.167 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/1.678, allocations: 141.5 kB / 1.167 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009089/1.687, allocations: 4.655 MB / 1.172 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003661/1.688, allocations: 60 kB / 1.172 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.69, allocations: 2.435 MB / 1.174 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006091/1.691, allocations: 475.2 kB / 1.175 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/1.692, allocations: 0.6768 MB / 1.175 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.208e-05/1.692, allocations: 305.1 kB / 1.176 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/1.695, allocations: 1.369 MB / 1.177 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003584/1.699, allocations: 2.502 MB / 1.179 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005964/1.704, allocations: 3.677 MB / 1.183 GB, free: 132 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-05/1.705, allocations: 8 kB / 1.183 GB, free: 124 kB / 0.8262 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009142/1.714, allocations: 4.241 MB / 1.187 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/1.714, allocations: 54.58 kB / 1.187 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.464e-05/1.714, allocations: 36 kB / 1.187 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.353e-05/1.714, allocations: 48 kB / 1.187 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/1.717, allocations: 0.7149 MB / 1.188 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.32e-05/1.717, allocations: 76.27 kB / 1.188 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004548/1.722, allocations: 0.5119 MB / 1.189 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/1.722, allocations: 148 kB / 1.189 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00541/1.727, allocations: 2.518 MB / 1.191 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004145/1.732, allocations: 2.505 MB / 1.194 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006139/1.738, allocations: 3.686 MB / 1.197 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-05/1.738, allocations: 12 kB / 1.197 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.00889/1.747, allocations: 4.255 MB / 1.201 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/1.747, allocations: 45.7 kB / 1.201 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/1.747, allocations: 32 kB / 1.201 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/1.747, allocations: 51.94 kB / 1.201 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/1.75, allocations: 0.7124 MB / 1.202 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.867e-05/1.75, allocations: 67.27 kB / 1.202 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/1.754, allocations: 442.4 kB / 1.203 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/1.755, allocations: 136 kB / 1.203 GB, free: 11.53 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.0006692/1.755, allocations: 377.2 kB / 1.203 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.756, allocations: 438.3 kB / 1.204 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/1.762, allocations: 2.298 MB / 1.206 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.762, allocations: 16 kB / 1.206 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.762, allocations: 0 / 1.206 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003919/1.766, allocations: 1.889 MB / 1.208 GB, free: 6.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0158/1.782, allocations: 6.691 MB / 1.214 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/1.782, allocations: 8 kB / 1.214 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.783, allocations: 323.4 kB / 1.215 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/1.784, allocations: 55.45 kB / 1.215 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/1.784, allocations: 43.98 kB / 1.215 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/1.785, allocations: 1.547 MB / 1.216 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/1.785, allocations: 21.09 kB / 1.216 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007758/1.793, allocations: 3.353 MB / 1.219 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/1.795, allocations: 0.7333 MB / 1.22 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/1.796, allocations: 36 kB / 1.22 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/1.799, allocations: 187.8 kB / 1.22 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/1.8, allocations: 122.5 kB / 1.22 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.8, allocations: 59.97 kB / 1.221 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005718/1.806, allocations: 3.115 MB / 1.224 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.71e-07/1.806, allocations: 0 / 1.224 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00624/1.812, allocations: 2.298 MB / 1.226 GB, free: 3.582 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008134/1.82, allocations: 4.435 MB / 1.23 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009543/1.83, allocations: 4.849 MB / 1.235 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/1.83, allocations: 4 kB / 1.235 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/1.832, allocations: 1.055 MB / 1.236 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009727/1.842, allocations: 2.13 MB / 1.238 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06387/1.906, allocations: 33.31 MB / 1.271 GB, free: 4.863 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/1.909, allocations: 3.019 MB / 1.273 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004987/1.914, allocations: 1.304 MB / 1.275 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003098/1.917, allocations: 2.093 MB / 1.277 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of SimCode: time 7.41e-07/1.917, allocations: 0 / 1.277 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1762/2.093, allocations: 109.6 MB / 1.384 GB, free: 2.098 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.37/21.46, allocations: 10.69 kB / 1.384 GB, free: 2.09 MB / 1.029 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)