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.00126/0.00126, allocations: 107 kB / 16.4 MB, free: 6.402 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.001127/0.001127, allocations: 195.1 kB / 17.34 MB, free: 5.695 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7953/0.7953, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 70.47 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 76.17 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8724/1.038, allocations: 380.1 MB / 1.003 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06809/1.106, allocations: 46.54 MB / 1.049 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01009/1.116, allocations: 175.1 kB / 1.049 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.6149/1.731, allocations: 3.635 MB / 1.052 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02369/1.755, allocations: 7.593 MB / 1.06 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01143/1.766, allocations: 3.971 MB / 1.064 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.03089/1.797, allocations: 17.34 MB / 1.081 GB, free: 15.84 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01154/1.809, allocations: 5.637 MB / 1.086 GB, free: 15.27 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01659/1.825, allocations: 6.448 MB / 1.092 GB, free: 15.19 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009387/1.835, allocations: 3.765 MB / 1.096 GB, free: 14.79 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002738/1.838, allocations: 0.5045 MB / 1.097 GB, free: 14.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0231/1.861, allocations: 6.348 MB / 1.103 GB, free: 14.72 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005774/1.866, allocations: 2.01 MB / 1.105 GB, free: 14.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01058/1.877, allocations: 3.149 MB / 1.108 GB, free: 13.61 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0264/1.904, allocations: 10.37 MB / 1.118 GB, free: 12.3 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/1.904, allocations: 2.656 kB / 1.118 GB, free: 12.3 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.278e-06/1.904, allocations: 4 kB / 1.118 GB, free: 12.3 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0005796/1.904, allocations: 3.656 kB / 1.118 GB, free: 12.3 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.01824/1.922, allocations: 6.476 MB / 1.124 GB, free: 9.352 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.923, allocations: 11.5 kB / 1.124 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01325/1.936, allocations: 2.009 MB / 1.126 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/1.951, allocations: 5.866 MB / 1.132 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005421/1.951, allocations: 381.3 kB / 1.132 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001604/1.953, allocations: 349.8 kB / 1.133 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009633/1.962, allocations: 4.509 MB / 1.137 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/1.962, allocations: 1.594 kB / 1.137 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/1.963, allocations: 141.3 kB / 1.137 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/1.963, allocations: 132.5 kB / 1.137 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009029/1.972, allocations: 3.96 MB / 1.141 GB, free: 5.41 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.03358/2.006, allocations: 19.52 MB / 1.16 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/2.01, allocations: 1.743 MB / 1.162 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/2.012, allocations: 0.9063 MB / 1.163 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007626/2.013, allocations: 411.8 kB / 1.163 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002718/2.015, allocations: 1.049 MB / 1.164 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=127): time 4.138e-06/2.015, allocations: 0 / 1.164 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=127): time 0.01/2.025, allocations: 2.883 MB / 1.167 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/2.026, allocations: 149.4 kB / 1.167 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/2.036, allocations: 4.659 MB / 1.172 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0005598/2.036, allocations: 58.52 kB / 1.172 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/2.039, allocations: 2.441 MB / 1.174 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006888/2.04, allocations: 463.9 kB / 1.175 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/2.041, allocations: 0.6795 MB / 1.175 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001201/2.041, allocations: 305.1 kB / 1.176 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003028/2.044, allocations: 1.358 MB / 1.177 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003982/2.048, allocations: 2.51 MB / 1.179 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006679/2.055, allocations: 3.677 MB / 1.183 GB, free: 64 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.493e-05/2.055, allocations: 8 kB / 1.183 GB, free: 56 kB / 0.8262 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01039/2.065, allocations: 4.246 MB / 1.187 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/2.065, allocations: 53.73 kB / 1.187 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.647e-05/2.065, allocations: 43.67 kB / 1.187 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-05/2.065, allocations: 48 kB / 1.187 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/2.069, allocations: 0.715 MB / 1.188 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-05/2.069, allocations: 68.34 kB / 1.188 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00587/2.075, allocations: 0.5158 MB / 1.189 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006624/2.075, allocations: 144 kB / 1.189 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006514/2.082, allocations: 2.524 MB / 1.191 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004437/2.086, allocations: 2.508 MB / 1.194 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006895/2.093, allocations: 3.685 MB / 1.197 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.537e-05/2.093, allocations: 8.781 kB / 1.197 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01061/2.104, allocations: 4.248 MB / 1.201 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-05/2.104, allocations: 45.7 kB / 1.201 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.136e-05/2.104, allocations: 32 kB / 1.201 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.534e-05/2.104, allocations: 55.94 kB / 1.202 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/2.107, allocations: 0.7166 MB / 1.202 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.809e-05/2.107, allocations: 71.25 kB / 1.202 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006543/2.114, allocations: 430.4 kB / 1.203 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006318/2.115, allocations: 152 kB / 1.203 GB, free: 11.46 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.001389/2.116, allocations: 363.2 kB / 1.203 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002123/2.118, allocations: 434.4 kB / 1.204 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00689/2.125, allocations: 2.298 MB / 1.206 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/2.125, allocations: 16 kB / 1.206 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/2.125, allocations: 0 / 1.206 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004118/2.129, allocations: 1.901 MB / 1.208 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/2.145, allocations: 6.68 MB / 1.214 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/2.145, allocations: 12 kB / 1.214 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/2.147, allocations: 321.1 kB / 1.215 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/2.147, allocations: 63.86 kB / 1.215 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/2.147, allocations: 51.95 kB / 1.215 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/2.149, allocations: 1.541 MB / 1.216 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/2.149, allocations: 22.5 kB / 1.216 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00772/2.156, allocations: 3.341 MB / 1.219 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002757/2.159, allocations: 0.7295 MB / 1.22 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/2.16, allocations: 43.92 kB / 1.22 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/2.163, allocations: 187.8 kB / 1.22 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/2.163, allocations: 115.3 kB / 1.221 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/2.163, allocations: 63.97 kB / 1.221 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005517/2.169, allocations: 3.121 MB / 1.224 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/2.169, allocations: 3.469 kB / 1.224 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.007384/2.176, allocations: 2.298 MB / 1.226 GB, free: 3.508 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.001588/2.178, allocations: 0.6218 MB / 1.226 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01128/2.189, allocations: 4.853 MB / 1.231 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.186e-05/2.189, allocations: 4 kB / 1.231 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002833/2.192, allocations: 1.05 MB / 1.232 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/2.203, allocations: 2.139 MB / 1.234 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/2.223, allocations: 8.831 MB / 1.243 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003379/2.227, allocations: 3.015 MB / 1.246 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.005911/2.233, allocations: 1.308 MB / 1.247 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/2.234, allocations: 306.7 kB / 1.247 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of SimCode: time 1.383e-06/2.234, allocations: 0 / 1.247 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.1481/2.382, allocations: 75.21 MB / 1.321 GB, free: 3.574 MB / 0.9669 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)