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.001075/0.001075, allocations: 106.5 kB / 16.4 MB, free: 6.5 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.001111/0.001111, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7234/0.7234, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 62.17 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.151, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7874/0.9384, allocations: 380.1 MB / 1.003 GB, free: 88 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.07069/1.009, allocations: 46.54 MB / 1.048 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009667/1.019, allocations: 183 kB / 1.048 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.585/1.604, allocations: 3.634 MB / 1.052 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01906/1.623, allocations: 7.599 MB / 1.059 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009374/1.632, allocations: 3.972 MB / 1.063 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02548/1.658, allocations: 17.34 MB / 1.08 GB, free: 15.84 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008811/1.667, allocations: 5.627 MB / 1.086 GB, free: 15.28 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01465/1.681, allocations: 6.458 MB / 1.092 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007971/1.689, allocations: 3.767 MB / 1.096 GB, free: 14.79 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001461/1.691, allocations: 0.5051 MB / 1.096 GB, free: 14.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/1.705, allocations: 6.344 MB / 1.102 GB, free: 14.73 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003275/1.708, allocations: 2.005 MB / 1.104 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005422/1.713, allocations: 3.152 MB / 1.107 GB, free: 13.62 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/1.734, allocations: 10.38 MB / 1.118 GB, free: 12.31 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/1.734, allocations: 3.188 kB / 1.118 GB, free: 12.31 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.944e-06/1.734, allocations: 0 / 1.118 GB, free: 12.31 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002671/1.734, allocations: 0 / 1.118 GB, free: 12.31 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.01442/1.749, allocations: 6.484 MB / 1.124 GB, free: 9.352 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.749, allocations: 8.344 kB / 1.124 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006565/1.749, allocations: 476.1 kB / 1.124 GB, free: 9.293 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.761, allocations: 2.008 MB / 1.126 GB, free: 8.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01248/1.773, allocations: 5.875 MB / 1.132 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/1.773, allocations: 378.2 kB / 1.132 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009855/1.774, allocations: 347.2 kB / 1.133 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008546/1.783, allocations: 4.508 MB / 1.137 GB, free: 6.156 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.466e-05/1.783, allocations: 9.094 kB / 1.137 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003402/1.783, allocations: 138.9 kB / 1.137 GB, free: 6.152 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/1.784, allocations: 134.9 kB / 1.137 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008465/1.792, allocations: 3.953 MB / 1.141 GB, free: 5.355 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.03537/1.827, allocations: 19.52 MB / 1.16 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/1.832, allocations: 1.739 MB / 1.162 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002213/1.834, allocations: 0.9041 MB / 1.163 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/1.835, allocations: 412.5 kB / 1.163 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002586/1.837, allocations: 1.047 MB / 1.164 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=127): time 3.287e-06/1.837, allocations: 0 / 1.164 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=127): time 0.00901/1.846, allocations: 2.894 MB / 1.167 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/1.846, allocations: 144.2 kB / 1.167 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/1.857, allocations: 4.655 MB / 1.172 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003988/1.857, allocations: 58.77 kB / 1.172 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.86, allocations: 2.438 MB / 1.174 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007323/1.861, allocations: 467.5 kB / 1.175 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/1.862, allocations: 0.6838 MB / 1.175 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.862, allocations: 305.1 kB / 1.176 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/1.866, allocations: 1.358 MB / 1.177 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/1.87, allocations: 2.511 MB / 1.179 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006067/1.876, allocations: 3.676 MB / 1.183 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.39e-05/1.876, allocations: 8 kB / 1.183 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.008998/1.885, allocations: 4.24 MB / 1.187 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/1.885, allocations: 59.5 kB / 1.187 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-05/1.885, allocations: 36 kB / 1.187 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.321e-05/1.885, allocations: 48 kB / 1.187 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/1.888, allocations: 0.713 MB / 1.188 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.787e-05/1.888, allocations: 71.73 kB / 1.188 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/1.892, allocations: 0.5273 MB / 1.189 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/1.893, allocations: 147.7 kB / 1.189 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00536/1.898, allocations: 2.514 MB / 1.191 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003931/1.902, allocations: 2.508 MB / 1.194 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006341/1.908, allocations: 3.68 MB / 1.197 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.581e-05/1.908, allocations: 12 kB / 1.197 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01001/1.918, allocations: 4.241 MB / 1.201 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/1.918, allocations: 46.64 kB / 1.201 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-05/1.919, allocations: 32 kB / 1.201 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.465e-05/1.919, allocations: 51.94 kB / 1.201 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/1.922, allocations: 0.7138 MB / 1.202 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.557e-05/1.922, allocations: 77.38 kB / 1.202 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00503/1.927, allocations: 441.1 kB / 1.203 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004951/1.927, allocations: 144 kB / 1.203 GB, free: 11.23 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.0009292/1.928, allocations: 359.1 kB / 1.203 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.929, allocations: 442.3 kB / 1.204 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/1.936, allocations: 2.295 MB / 1.206 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/1.936, allocations: 12 kB / 1.206 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.936, allocations: 0 / 1.206 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004373/1.94, allocations: 1.898 MB / 1.208 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/1.958, allocations: 6.683 MB / 1.214 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.958, allocations: 19.95 kB / 1.214 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.959, allocations: 318 kB / 1.215 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/1.96, allocations: 56.67 kB / 1.215 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/1.96, allocations: 47.97 kB / 1.215 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/1.961, allocations: 1.546 MB / 1.216 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.961, allocations: 21.47 kB / 1.216 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008062/1.969, allocations: 3.354 MB / 1.219 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/1.972, allocations: 0.7256 MB / 1.22 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.973, allocations: 43.98 kB / 1.22 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00325/1.976, allocations: 183.8 kB / 1.22 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/1.977, allocations: 122.8 kB / 1.22 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.977, allocations: 63.95 kB / 1.221 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.006969/1.984, allocations: 3.114 MB / 1.224 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/1.984, allocations: 0 / 1.224 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.009422/1.993, allocations: 2.308 MB / 1.226 GB, free: 3.277 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.01121/2.004, allocations: 4.44 MB / 1.23 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01107/2.016, allocations: 4.847 MB / 1.235 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/2.016, allocations: 4 kB / 1.235 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00266/2.018, allocations: 1.042 MB / 1.236 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/2.03, allocations: 2.131 MB / 1.238 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0731/2.103, allocations: 33.31 MB / 1.271 GB, free: 4.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004652/2.108, allocations: 3.015 MB / 1.273 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006095/2.114, allocations: 1.304 MB / 1.275 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003515/2.118, allocations: 2.094 MB / 1.277 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of SimCode: time 1.102e-06/2.118, allocations: 0 / 1.277 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/2.297, allocations: 109.6 MB / 1.384 GB, free: 1.809 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.52/21.81, allocations: 0 / 1.384 GB, free: 1.809 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)