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.001442/0.001442, allocations: 101.4 kB / 16.4 MB, free: 6.484 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.001614/0.001614, allocations: 195.8 kB / 17.34 MB, free: 5.762 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.487/1.487, 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.7959/0.7959, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 66.53 kB / 0.5577 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 76.19 MB / 0.6321 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7717/0.9424, allocations: 380.1 MB / 1.003 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06852/1.011, allocations: 46.53 MB / 1.049 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01018/1.021, allocations: 175.1 kB / 1.049 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.6023/1.624, allocations: 3.626 MB / 1.052 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0261/1.65, allocations: 7.597 MB / 1.06 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01207/1.662, allocations: 3.987 MB / 1.064 GB, free: 15.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02885/1.691, allocations: 17.33 MB / 1.081 GB, free: 15.74 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009617/1.7, allocations: 5.632 MB / 1.086 GB, free: 15.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01548/1.716, allocations: 6.451 MB / 1.092 GB, free: 15.08 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00955/1.725, allocations: 3.774 MB / 1.096 GB, free: 14.67 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002333/1.728, allocations: 0.5046 MB / 1.097 GB, free: 14.67 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/1.747, allocations: 6.343 MB / 1.103 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004363/1.751, allocations: 2.011 MB / 1.105 GB, free: 14.39 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008101/1.759, allocations: 3.145 MB / 1.108 GB, free: 13.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02467/1.784, allocations: 10.38 MB / 1.118 GB, free: 12.2 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.784, allocations: 3.938 kB / 1.118 GB, free: 12.19 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.126e-06/1.784, allocations: 2.281 kB / 1.118 GB, free: 12.19 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003347/1.784, allocations: 0 / 1.118 GB, free: 12.19 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.01859/1.803, allocations: 6.484 MB / 1.124 GB, free: 9.234 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.803, allocations: 8.469 kB / 1.124 GB, free: 9.234 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/1.816, allocations: 2.01 MB / 1.126 GB, free: 8.848 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/1.83, allocations: 5.857 MB / 1.132 GB, free: 7.555 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004638/1.83, allocations: 385.2 kB / 1.132 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/1.832, allocations: 355 kB / 1.133 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01073/1.843, allocations: 4.51 MB / 1.137 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.703e-05/1.843, allocations: 7.219 kB / 1.137 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004355/1.843, allocations: 141.9 kB / 1.137 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.843, allocations: 134.6 kB / 1.137 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009759/1.853, allocations: 3.951 MB / 1.141 GB, free: 5.391 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.03442/1.887, allocations: 19.51 MB / 1.16 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/1.892, allocations: 1.743 MB / 1.162 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.894, allocations: 0.903 MB / 1.163 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006794/1.894, allocations: 406.8 kB / 1.163 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002487/1.897, allocations: 1.057 MB / 1.164 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=127): time 3.266e-06/1.897, allocations: 0 / 1.164 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=127): time 0.008688/1.906, allocations: 2.883 MB / 1.167 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/1.906, allocations: 141.5 kB / 1.167 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008506/1.914, allocations: 4.657 MB / 1.172 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004929/1.915, allocations: 57.2 kB / 1.172 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003241/1.918, allocations: 2.439 MB / 1.174 GB, free: 10 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007518/1.919, allocations: 477.3 kB / 1.175 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/1.92, allocations: 0.6742 MB / 1.175 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.92, allocations: 301.1 kB / 1.176 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003079/1.923, allocations: 1.365 MB / 1.177 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004163/1.927, allocations: 2.507 MB / 1.179 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006341/1.934, allocations: 3.676 MB / 1.183 GB, free: 196 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/1.934, allocations: 12 kB / 1.183 GB, free: 184 kB / 0.8262 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009483/1.943, allocations: 4.247 MB / 1.187 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/1.943, allocations: 51.56 kB / 1.187 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-05/1.943, allocations: 44.03 kB / 1.187 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.063e-05/1.943, allocations: 51.94 kB / 1.187 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/1.946, allocations: 0.7158 MB / 1.188 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.985e-05/1.946, allocations: 70.95 kB / 1.188 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/1.951, allocations: 0.5158 MB / 1.189 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/1.951, allocations: 144 kB / 1.189 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005424/1.957, allocations: 2.52 MB / 1.191 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003991/1.961, allocations: 2.509 MB / 1.194 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00627/1.967, allocations: 3.678 MB / 1.197 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.321e-05/1.967, allocations: 16 kB / 1.197 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.009476/1.976, allocations: 4.251 MB / 1.201 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/1.976, allocations: 45.7 kB / 1.201 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-05/1.977, allocations: 32 kB / 1.201 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.704e-05/1.977, allocations: 51.94 kB / 1.202 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/1.979, allocations: 0.7166 MB / 1.202 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.626e-05/1.979, allocations: 68.72 kB / 1.202 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/1.984, allocations: 434.4 kB / 1.203 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/1.984, allocations: 140 kB / 1.203 GB, free: 11.59 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.0006773/1.985, allocations: 368.3 kB / 1.203 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009677/1.986, allocations: 434.4 kB / 1.204 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/1.992, allocations: 2.302 MB / 1.206 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.992, allocations: 12 kB / 1.206 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.992, allocations: 0 / 1.206 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004241/1.996, allocations: 1.895 MB / 1.208 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/2.012, allocations: 6.689 MB / 1.214 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/2.012, allocations: 8 kB / 1.214 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/2.013, allocations: 326.2 kB / 1.215 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/2.014, allocations: 56.83 kB / 1.215 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/2.014, allocations: 47.97 kB / 1.215 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/2.015, allocations: 1.542 MB / 1.216 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/2.015, allocations: 21.06 kB / 1.216 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007695/2.023, allocations: 3.353 MB / 1.219 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/2.025, allocations: 0.7295 MB / 1.22 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006058/2.026, allocations: 39.92 kB / 1.22 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/2.028, allocations: 195.6 kB / 1.22 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/2.028, allocations: 112 kB / 1.221 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/2.029, allocations: 67.95 kB / 1.221 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.005675/2.034, allocations: 3.114 MB / 1.224 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/2.034, allocations: 0 / 1.224 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00646/2.041, allocations: 2.302 MB / 1.226 GB, free: 3.629 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.001403/2.042, allocations: 0.627 MB / 1.226 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01088/2.053, allocations: 4.846 MB / 1.231 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/2.053, allocations: 0 / 1.231 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/2.056, allocations: 1.049 MB / 1.232 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/2.066, allocations: 2.141 MB / 1.234 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/2.086, allocations: 8.839 MB / 1.243 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/2.089, allocations: 3.019 MB / 1.246 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.005516/2.094, allocations: 1.304 MB / 1.247 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/2.095, allocations: 303.4 kB / 1.247 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of SimCode: time 1.232e-06/2.095, allocations: 0 / 1.247 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.1312/2.226, allocations: 76.37 MB / 1.322 GB, free: 2.566 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)