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.001437/0.001437, allocations: 120.8 kB / 17.09 MB, free: 5.992 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.001691/0.001691, allocations: 196.6 kB / 18.02 MB, free: 5.066 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.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.3 MB / 407.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.55 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1475, allocations: 76.19 MB / 0.6328 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7329/0.8804, allocations: 380.1 MB / 1.004 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0612/0.9417, allocations: 46.53 MB / 1.049 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007978/0.9497, allocations: 179 kB / 1.05 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.4892/1.439, allocations: 3.711 MB / 1.053 GB, free: 15.89 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02179/1.461, allocations: 7.895 MB / 1.061 GB, free: 15.87 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/1.472, allocations: 3.985 MB / 1.065 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02862/1.5, allocations: 17.35 MB / 1.082 GB, free: 15.76 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/1.51, allocations: 5.634 MB / 1.087 GB, free: 15.19 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/1.527, allocations: 6.557 MB / 1.094 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00913/1.536, allocations: 3.766 MB / 1.097 GB, free: 14.71 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002375/1.539, allocations: 0.5036 MB / 1.098 GB, free: 14.71 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/1.554, allocations: 6.367 MB / 1.104 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003958/1.558, allocations: 2.009 MB / 1.106 GB, free: 14.42 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007704/1.566, allocations: 3.147 MB / 1.109 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02099/1.587, allocations: 10.38 MB / 1.119 GB, free: 12.22 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.587, allocations: 0 / 1.119 GB, free: 12.22 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.094e-06/1.587, allocations: 0 / 1.119 GB, free: 12.22 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000353/1.587, allocations: 2.875 kB / 1.119 GB, free: 12.22 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.01782/1.605, allocations: 6.481 MB / 1.125 GB, free: 9.266 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.605, allocations: 8.75 kB / 1.126 GB, free: 9.266 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/1.618, allocations: 2.01 MB / 1.127 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/1.631, allocations: 5.859 MB / 1.133 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/1.631, allocations: 392 kB / 1.134 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/1.632, allocations: 354 kB / 1.134 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009869/1.642, allocations: 4.508 MB / 1.138 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.015e-05/1.642, allocations: 7.156 kB / 1.138 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003969/1.643, allocations: 140.8 kB / 1.138 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/1.643, allocations: 141.7 kB / 1.139 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009532/1.652, allocations: 3.948 MB / 1.142 GB, free: 5.145 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.03593/1.688, allocations: 19.5 MB / 1.161 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/1.693, allocations: 1.744 MB / 1.163 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/1.696, allocations: 0.9043 MB / 1.164 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008206/1.696, allocations: 413.4 kB / 1.164 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002846/1.699, allocations: 1.047 MB / 1.165 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=127): time 3.887e-06/1.699, allocations: 0 / 1.165 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=127): time 0.009136/1.708, allocations: 2.887 MB / 1.168 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/1.709, allocations: 153.5 kB / 1.168 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.72, allocations: 4.655 MB / 1.173 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000522/1.721, allocations: 57.84 kB / 1.173 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/1.724, allocations: 2.437 MB / 1.175 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000912/1.725, allocations: 470.4 kB / 1.176 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/1.727, allocations: 0.6805 MB / 1.177 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.727, allocations: 305.1 kB / 1.177 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003706/1.731, allocations: 1.362 MB / 1.178 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004625/1.735, allocations: 2.516 MB / 1.181 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007043/1.742, allocations: 3.675 MB / 1.184 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-05/1.743, allocations: 8 kB / 1.184 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01109/1.754, allocations: 4.248 MB / 1.188 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.567e-05/1.754, allocations: 45.7 kB / 1.188 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.5e-05/1.754, allocations: 40.88 kB / 1.188 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.505e-05/1.754, allocations: 48 kB / 1.188 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003224/1.757, allocations: 0.7152 MB / 1.189 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.39e-05/1.757, allocations: 73.31 kB / 1.189 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00509/1.762, allocations: 0.522 MB / 1.19 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005519/1.763, allocations: 140 kB / 1.19 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006378/1.769, allocations: 2.52 MB / 1.192 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004549/1.774, allocations: 2.501 MB / 1.195 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007234/1.781, allocations: 3.684 MB / 1.198 GB, free: 420 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.873e-05/1.781, allocations: 8 kB / 1.198 GB, free: 412 kB / 0.8419 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.01079/1.792, allocations: 4.247 MB / 1.203 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/1.792, allocations: 45.7 kB / 1.203 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.394e-05/1.792, allocations: 35.98 kB / 1.203 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.656e-05/1.792, allocations: 59.03 kB / 1.203 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.795, allocations: 0.7119 MB / 1.203 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-05/1.796, allocations: 72 kB / 1.203 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00527/1.801, allocations: 434.4 kB / 1.204 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005684/1.801, allocations: 146.1 kB / 1.204 GB, free: 10.92 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.0009833/1.802, allocations: 360.6 kB / 1.204 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.804, allocations: 434.4 kB / 1.205 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/1.811, allocations: 2.305 MB / 1.207 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.811, allocations: 16 kB / 1.207 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/1.811, allocations: 0 / 1.207 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004388/1.815, allocations: 1.897 MB / 1.209 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/1.834, allocations: 6.686 MB / 1.215 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/1.834, allocations: 12.72 kB / 1.215 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/1.836, allocations: 323.5 kB / 1.216 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/1.836, allocations: 60.83 kB / 1.216 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.836, allocations: 43.98 kB / 1.216 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/1.838, allocations: 1.552 MB / 1.217 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/1.838, allocations: 19.5 kB / 1.217 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008483/1.847, allocations: 3.338 MB / 1.221 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.849, allocations: 0.7295 MB / 1.221 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001522/1.851, allocations: 47.92 kB / 1.221 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003701/1.854, allocations: 184.1 kB / 1.222 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003176/1.855, allocations: 114 kB / 1.222 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.855, allocations: 71.95 kB / 1.222 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.007868/1.863, allocations: 3.121 MB / 1.225 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4e-07/1.863, allocations: 0 / 1.225 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0101/1.873, allocations: 2.291 MB / 1.227 GB, free: 2.969 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.001945/1.875, allocations: 0.6275 MB / 1.228 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01222/1.887, allocations: 4.852 MB / 1.232 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-05/1.887, allocations: 5.312 kB / 1.232 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/1.89, allocations: 1.004 MB / 1.233 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/1.903, allocations: 2.143 MB / 1.235 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/1.926, allocations: 9.04 MB / 1.244 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003452/1.93, allocations: 2.978 MB / 1.247 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/1.931, allocations: 335.3 kB / 1.248 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of SimCode: time 7.42e-07/1.931, allocations: 0 / 1.248 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.132/2.064, allocations: 87.78 MB / 1.333 GB, free: 6.977 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)