Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001388/0.001388, allocations: 107.9 kB / 16.41 MB, free: 6.492 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.001568/0.001568, allocations: 187 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8106/0.8106, allocations: 132.2 MB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 68.05 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.698/0.8415, allocations: 379.2 MB / 1.031 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5218/1.363, allocations: 44.41 MB / 1.074 GB, free: 16.29 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007033/1.37, allocations: 175.1 kB / 1.074 GB, free: 16.29 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.007831/1.378, allocations: 2.808 MB / 1.077 GB, free: 16.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0203/1.399, allocations: 7.269 MB / 1.084 GB, free: 16.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009911/1.409, allocations: 3.789 MB / 1.088 GB, free: 16.03 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01651/1.425, allocations: 11.51 MB / 1.099 GB, free: 16.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/1.435, allocations: 5.556 MB / 1.104 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.016/1.451, allocations: 6.467 MB / 1.111 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008586/1.46, allocations: 3.608 MB / 1.114 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002086/1.462, allocations: 498.4 kB / 1.115 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/1.479, allocations: 6.155 MB / 1.121 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00363/1.482, allocations: 1.724 MB / 1.122 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006789/1.489, allocations: 2.772 MB / 1.125 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01971/1.509, allocations: 9.304 MB / 1.134 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.509, allocations: 4 kB / 1.134 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/1.509, allocations: 0 / 1.134 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002576/1.509, allocations: 0 / 1.134 GB, free: 12.75 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: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01479/1.524, allocations: 5.655 MB / 1.14 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.524, allocations: 10.03 kB / 1.14 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/1.535, allocations: 1.793 MB / 1.142 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009338/1.545, allocations: 3.747 MB / 1.145 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/1.545, allocations: 386.6 kB / 1.146 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001286/1.547, allocations: 347.7 kB / 1.146 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009561/1.556, allocations: 4.47 MB / 1.15 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.496e-05/1.556, allocations: 5.906 kB / 1.15 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/1.557, allocations: 143.3 kB / 1.15 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/1.557, allocations: 133.6 kB / 1.151 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00922/1.566, allocations: 3.892 MB / 1.154 GB, free: 6.312 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.0341/1.6, allocations: 18.75 MB / 1.173 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00484/1.605, allocations: 1.774 MB / 1.174 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/1.608, allocations: 0.9047 MB / 1.175 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/1.608, allocations: 410.6 kB / 1.176 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003002/1.611, allocations: 1.065 MB / 1.177 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=129): time 4.759e-06/1.611, allocations: 0 / 1.177 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=129): time 0.009006/1.62, allocations: 2.82 MB / 1.179 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/1.621, allocations: 149.8 kB / 1.18 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00763/1.628, allocations: 3.475 MB / 1.183 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004798/1.629, allocations: 60.42 kB / 1.183 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002318/1.631, allocations: 2.143 MB / 1.185 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/1.632, allocations: 459.2 kB / 1.186 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/1.633, allocations: 494.1 kB / 1.186 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.633, allocations: 302.9 kB / 1.186 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003081/1.636, allocations: 1.006 MB / 1.187 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/1.64, allocations: 2.077 MB / 1.189 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006069/1.646, allocations: 3.016 MB / 1.192 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.488e-05/1.646, allocations: 8 kB / 1.192 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009298/1.656, allocations: 3.305 MB / 1.196 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.054e-05/1.656, allocations: 45.7 kB / 1.196 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-05/1.656, allocations: 32.88 kB / 1.196 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.962e-05/1.656, allocations: 44 kB / 1.196 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/1.659, allocations: 0.6168 MB / 1.196 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.023e-05/1.659, allocations: 65.08 kB / 1.196 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.663, allocations: 441.4 kB / 1.197 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004645/1.664, allocations: 136 kB / 1.197 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005931/1.67, allocations: 1.917 MB / 1.199 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003939/1.674, allocations: 2.051 MB / 1.201 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005995/1.68, allocations: 2.96 MB / 1.204 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.008e-05/1.68, allocations: 8.109 kB / 1.204 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.009332/1.689, allocations: 3.246 MB / 1.207 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/1.689, allocations: 49.7 kB / 1.207 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.65e-05/1.689, allocations: 35.98 kB / 1.207 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.201e-05/1.689, allocations: 48 kB / 1.207 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/1.692, allocations: 0.6066 MB / 1.208 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.518e-05/1.692, allocations: 60.27 kB / 1.208 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/1.696, allocations: 376.3 kB / 1.208 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005117/1.697, allocations: 120 kB / 1.208 GB, free: 1.281 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * 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 (287): * Single equations (assignments): 283 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * 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.0008885/1.698, allocations: 352.8 kB / 1.208 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.699, allocations: 367.3 kB / 1.209 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006174/1.705, allocations: 2.277 MB / 1.211 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/1.705, allocations: 12 kB / 1.211 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.705, allocations: 4 kB / 1.211 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004268/1.709, allocations: 1.897 MB / 1.213 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/1.725, allocations: 6.1 MB / 1.219 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/1.725, allocations: 19.31 kB / 1.219 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.727, allocations: 308.6 kB / 1.219 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/1.727, allocations: 63.92 kB / 1.219 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.728, allocations: 43.92 kB / 1.219 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/1.729, allocations: 1.543 MB / 1.221 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.729, allocations: 15.28 kB / 1.221 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008119/1.737, allocations: 3.307 MB / 1.224 GB, free: 0.5898 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/1.739, allocations: 0.6211 MB / 1.225 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.74, allocations: 47.86 kB / 1.225 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.743, allocations: 155.9 kB / 1.225 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.743, allocations: 117.9 kB / 1.225 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/1.744, allocations: 63.97 kB / 1.225 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005214/1.749, allocations: 2.344 MB / 1.227 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.61e-07/1.749, allocations: 4 kB / 1.227 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.007553/1.756, allocations: 1.994 MB / 1.229 GB, free: 11.22 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (127): * Single equations (assignments): 124 * 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.001467/1.758, allocations: 492.7 kB / 1.23 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009764/1.768, allocations: 3.826 MB / 1.233 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/1.768, allocations: 7.938 kB / 1.233 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002723/1.771, allocations: 0.9989 MB / 1.234 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009659/1.78, allocations: 1.742 MB / 1.236 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.799, allocations: 7.793 MB / 1.244 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.802, allocations: 2.638 MB / 1.246 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/1.803, allocations: 271.4 kB / 1.246 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of SimCode: time 7.12e-07/1.803, allocations: 0 / 1.246 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of Templates: time 0.111/1.915, allocations: 75.12 MB / 1.32 GB, free: 14.98 MB / 0.9825 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)