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.001238/0.001238, allocations: 113.3 kB / 17.08 MB, free: 5.941 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.001232/0.001232, allocations: 197.9 kB / 18.02 MB, free: 5.027 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.454/1.454, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7459/0.7459, allocations: 115.3 MB / 407.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 65.72 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 76.18 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7767/0.9327, allocations: 380.1 MB / 1.004 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.06544/0.9982, allocations: 46.54 MB / 1.049 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008092/1.006, allocations: 179.1 kB / 1.05 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.5274/1.534, allocations: 3.631 MB / 1.053 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02143/1.555, allocations: 7.594 MB / 1.06 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009969/1.565, allocations: 3.973 MB / 1.064 GB, free: 15.78 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02732/1.593, allocations: 17.33 MB / 1.081 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01239/1.605, allocations: 5.632 MB / 1.087 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/1.622, allocations: 6.452 MB / 1.093 GB, free: 15.1 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009612/1.632, allocations: 3.772 MB / 1.097 GB, free: 14.69 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002686/1.634, allocations: 0.5059 MB / 1.097 GB, free: 14.69 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01661/1.651, allocations: 6.349 MB / 1.103 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004585/1.656, allocations: 2.008 MB / 1.105 GB, free: 14.4 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.008785/1.664, allocations: 3.145 MB / 1.109 GB, free: 13.52 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02262/1.687, allocations: 10.38 MB / 1.119 GB, free: 12.21 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/1.687, allocations: 0 / 1.119 GB, free: 12.21 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.404e-06/1.687, allocations: 4 kB / 1.119 GB, free: 12.21 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003701/1.687, allocations: 0 / 1.119 GB, free: 12.21 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.02057/1.708, allocations: 6.48 MB / 1.125 GB, free: 9.254 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.708, allocations: 9.562 kB / 1.125 GB, free: 9.254 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/1.721, allocations: 2.013 MB / 1.127 GB, free: 8.867 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01312/1.734, allocations: 5.855 MB / 1.133 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000463/1.735, allocations: 385.5 kB / 1.133 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/1.737, allocations: 347.2 kB / 1.133 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/1.749, allocations: 4.516 MB / 1.138 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/1.749, allocations: 6 kB / 1.138 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008235/1.75, allocations: 137.8 kB / 1.138 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/1.75, allocations: 135 kB / 1.138 GB, free: 6.051 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009812/1.76, allocations: 3.951 MB / 1.142 GB, free: 5.328 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.03239/1.792, allocations: 19.51 MB / 1.161 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/1.796, allocations: 1.749 MB / 1.163 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/1.798, allocations: 0.9051 MB / 1.164 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/1.799, allocations: 408.3 kB / 1.164 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002527/1.802, allocations: 1.048 MB / 1.165 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=127): time 4.569e-06/1.802, allocations: 3.938 kB / 1.165 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of matching and sorting (n=127): time 0.008531/1.81, allocations: 2.89 MB / 1.168 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/1.81, allocations: 141.5 kB / 1.168 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009746/1.82, allocations: 4.66 MB / 1.172 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004773/1.821, allocations: 64.38 kB / 1.173 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/1.823, allocations: 2.44 MB / 1.175 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006504/1.824, allocations: 466.6 kB / 1.175 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/1.825, allocations: 0.6831 MB / 1.176 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/1.825, allocations: 301.1 kB / 1.176 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003061/1.828, allocations: 1.366 MB / 1.178 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/1.832, allocations: 2.504 MB / 1.18 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006304/1.838, allocations: 3.677 MB / 1.184 GB, free: 64 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-05/1.838, allocations: 8 kB / 1.184 GB, free: 56 kB / 0.8262 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01007/1.848, allocations: 4.241 MB / 1.188 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/1.848, allocations: 55.14 kB / 1.188 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.388e-05/1.848, allocations: 39.92 kB / 1.188 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.203e-05/1.849, allocations: 52 kB / 1.188 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/1.852, allocations: 0.7126 MB / 1.189 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.304e-05/1.852, allocations: 71.53 kB / 1.189 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/1.857, allocations: 0.5197 MB / 1.189 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006204/1.858, allocations: 148 kB / 1.189 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006555/1.864, allocations: 2.518 MB / 1.192 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004488/1.869, allocations: 2.508 MB / 1.194 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007008/1.876, allocations: 3.682 MB / 1.198 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.215e-05/1.876, allocations: 10.53 kB / 1.198 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01107/1.887, allocations: 4.248 MB / 1.202 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.887, allocations: 45.7 kB / 1.202 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-05/1.887, allocations: 36 kB / 1.202 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-05/1.887, allocations: 51.94 kB / 1.202 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/1.891, allocations: 0.7127 MB / 1.203 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.67e-05/1.891, allocations: 71.25 kB / 1.203 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005573/1.897, allocations: 438.4 kB / 1.203 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006437/1.897, allocations: 144 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.001264/1.899, allocations: 367.2 kB / 1.204 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/1.9, allocations: 434.4 kB / 1.204 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006839/1.907, allocations: 2.301 MB / 1.207 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.907, allocations: 15.94 kB / 1.207 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/1.907, allocations: 0 / 1.207 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004387/1.911, allocations: 1.897 MB / 1.208 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/1.93, allocations: 6.682 MB / 1.215 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/1.93, allocations: 12 kB / 1.215 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.932, allocations: 323.8 kB / 1.215 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002784/1.932, allocations: 56.58 kB / 1.215 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/1.932, allocations: 47.97 kB / 1.215 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/1.934, allocations: 1.552 MB / 1.217 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.001e-05/1.934, allocations: 21.09 kB / 1.217 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008218/1.942, allocations: 3.347 MB / 1.22 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.945, allocations: 0.7256 MB / 1.221 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/1.946, allocations: 43.92 kB / 1.221 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004012/1.95, allocations: 187.8 kB / 1.221 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/1.951, allocations: 118.8 kB / 1.221 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/1.951, allocations: 59.97 kB / 1.221 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.008033/1.959, allocations: 3.121 MB / 1.224 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.61e-07/1.959, allocations: 0 / 1.224 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.01064/1.97, allocations: 2.297 MB / 1.227 GB, free: 3.512 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.002036/1.972, allocations: 0.6255 MB / 1.227 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01207/1.984, allocations: 4.85 MB / 1.232 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/1.984, allocations: 4 kB / 1.232 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/1.987, allocations: 1.014 MB / 1.233 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/2, allocations: 2.135 MB / 1.235 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/2.024, allocations: 9.038 MB / 1.244 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005238/2.029, allocations: 2.978 MB / 1.247 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/2.031, allocations: 335.3 kB / 1.247 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of SimCode: time 1.263e-06/2.031, allocations: 0 / 1.247 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.1385/2.169, allocations: 87.78 MB / 1.333 GB, free: 7.527 MB / 0.9825 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)