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: translateModel(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001895, allocations: 113.1 kB / 17.08 MB, free: 6.008 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.002183/0.002183, allocations: 192.1 kB / 18.02 MB, free: 5.086 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.456/1.456, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8301/0.8301, allocations: 126.4 MB / 418.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.28 kB / 0.5742 GB, free: 26.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1722, allocations: 78.78 MB / 0.6512 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.771/0.9433, allocations: 380.3 MB / 1.023 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.5956/1.539, allocations: 46.52 MB / 1.068 GB, free: 16.3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007617/1.547, allocations: 176.2 kB / 1.068 GB, free: 16.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01188/1.558, allocations: 3.756 MB / 1.072 GB, free: 16.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02249/1.581, allocations: 7.87 MB / 1.08 GB, free: 16.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009614/1.591, allocations: 3.981 MB / 1.083 GB, free: 16.13 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02341/1.614, allocations: 17.36 MB / 1.1 GB, free: 16.08 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00812/1.622, allocations: 5.63 MB / 1.106 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0155/1.638, allocations: 6.93 MB / 1.113 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007511/1.645, allocations: 3.717 MB / 1.116 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001984/1.647, allocations: 0.5068 MB / 1.117 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/1.665, allocations: 6.323 MB / 1.123 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003435/1.668, allocations: 1.999 MB / 1.125 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005446/1.674, allocations: 3.152 MB / 1.128 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/1.691, allocations: 10.43 MB / 1.138 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.691, allocations: 3.047 kB / 1.138 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/1.691, allocations: 2.594 kB / 1.138 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003146/1.692, allocations: 0 / 1.138 GB, free: 12.45 MB / 0.8106 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.01559/1.707, allocations: 6.674 MB / 1.145 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/1.707, allocations: 10.59 kB / 1.145 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/1.719, allocations: 2.044 MB / 1.147 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/1.731, allocations: 5.904 MB / 1.152 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004717/1.731, allocations: 388.4 kB / 1.153 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/1.733, allocations: 345.4 kB / 1.153 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008704/1.741, allocations: 4.505 MB / 1.158 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-05/1.741, allocations: 6.531 kB / 1.158 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003775/1.742, allocations: 144.6 kB / 1.158 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.794e-05/1.742, allocations: 140.7 kB / 1.158 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008065/1.75, allocations: 3.95 MB / 1.162 GB, free: 1.68 MB / 0.8106 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.03276/1.783, allocations: 19.85 MB / 1.181 GB, free: 308 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/1.787, allocations: 1.737 MB / 1.183 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/1.789, allocations: 0.9072 MB / 1.184 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007588/1.79, allocations: 410.7 kB / 1.184 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002533/1.792, allocations: 1.056 MB / 1.185 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=127): time 3.006e-06/1.793, allocations: 2.625 kB / 1.185 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=127): time 0.008833/1.801, allocations: 2.903 MB / 1.188 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.801, allocations: 152 kB / 1.188 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008749/1.81, allocations: 4.662 MB / 1.193 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004245/1.811, allocations: 53.7 kB / 1.193 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002647/1.813, allocations: 2.481 MB / 1.195 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006383/1.814, allocations: 488.7 kB / 1.196 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/1.815, allocations: 0.6898 MB / 1.196 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.815, allocations: 305.1 kB / 1.196 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/1.819, allocations: 1.366 MB / 1.198 GB, free: 96 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004347/1.823, allocations: 2.51 MB / 1.2 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007035/1.83, allocations: 3.68 MB / 1.204 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-05/1.83, allocations: 15.94 kB / 1.204 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01142/1.841, allocations: 4.266 MB / 1.208 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/1.842, allocations: 45.7 kB / 1.208 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-05/1.842, allocations: 35.98 kB / 1.208 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.978e-05/1.842, allocations: 48 kB / 1.208 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/1.845, allocations: 0.7158 MB / 1.209 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.406e-05/1.845, allocations: 70.22 kB / 1.209 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004694/1.85, allocations: 0.5323 MB / 1.209 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004112/1.85, allocations: 140 kB / 1.21 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005797/1.856, allocations: 2.526 MB / 1.212 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004192/1.86, allocations: 2.507 MB / 1.215 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007308/1.868, allocations: 3.677 MB / 1.218 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.416e-05/1.868, allocations: 8 kB / 1.218 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01008/1.878, allocations: 4.272 MB / 1.222 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/1.878, allocations: 50.64 kB / 1.222 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.282e-05/1.878, allocations: 32 kB / 1.222 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.698e-05/1.878, allocations: 56 kB / 1.222 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/1.881, allocations: 0.7109 MB / 1.223 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.994e-05/1.881, allocations: 72.25 kB / 1.223 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004544/1.886, allocations: 446.3 kB / 1.224 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002973/1.886, allocations: 140 kB / 1.224 GB, free: 4.445 MB / 0.8731 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.000725/1.887, allocations: 366.7 kB / 1.224 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008724/1.888, allocations: 460.9 kB / 1.225 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006113/1.894, allocations: 2.288 MB / 1.227 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.894, allocations: 12 kB / 1.227 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/1.894, allocations: 4 kB / 1.227 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004432/1.898, allocations: 1.901 MB / 1.229 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.914, allocations: 6.691 MB / 1.235 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.914, allocations: 12 kB / 1.235 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/1.915, allocations: 318.8 kB / 1.235 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/1.916, allocations: 60.83 kB / 1.236 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/1.916, allocations: 43.27 kB / 1.236 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/1.917, allocations: 1.549 MB / 1.237 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.917, allocations: 15.09 kB / 1.237 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008203/1.925, allocations: 3.372 MB / 1.24 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/1.927, allocations: 0.7593 MB / 1.241 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005653/1.928, allocations: 44 kB / 1.241 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.93, allocations: 179.8 kB / 1.241 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/1.931, allocations: 122.2 kB / 1.241 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.931, allocations: 63.97 kB / 1.242 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005738/1.937, allocations: 3.115 MB / 1.245 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.1e-07/1.937, allocations: 0 / 1.245 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006669/1.943, allocations: 2.321 MB / 1.247 GB, free: 12.41 MB / 0.9044 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.001465/1.945, allocations: 0.6235 MB / 1.247 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.956, allocations: 4.849 MB / 1.252 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.11e-05/1.956, allocations: 4.438 kB / 1.252 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/1.959, allocations: 1.051 MB / 1.253 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009638/1.968, allocations: 2.14 MB / 1.255 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.986, allocations: 8.977 MB / 1.264 GB, free: 11 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004512/1.991, allocations: 3.022 MB / 1.267 GB, free: 7.949 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.005571/1.996, allocations: 1.296 MB / 1.268 GB, free: 6.648 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.998, allocations: 311.3 kB / 1.269 GB, free: 6.344 MB / 0.92 GB Notification: Performance of SimCode: time 8.22e-07/1.998, allocations: 0 / 1.269 GB, free: 6.344 MB / 0.92 GB Notification: Performance of Templates: time 0.1445/2.142, allocations: 75.52 MB / 1.342 GB, free: 12.03 MB / 0.9981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)