Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009418, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00734/0.00734, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005464, allocations: 17.27 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2535, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8993/1.153, allocations: 335.8 MB / 1.116 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.06085/1.214, allocations: 39.16 MB / 1.154 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008146/1.222, allocations: 123.1 kB / 1.154 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01061/1.233, allocations: 1.978 MB / 1.156 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01931/1.252, allocations: 5.371 MB / 1.161 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009856/1.262, allocations: 2.747 MB / 1.164 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01915/1.281, allocations: 11.35 MB / 1.175 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007083/1.288, allocations: 3.432 MB / 1.178 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/1.301, allocations: 4.19 MB / 1.183 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007803/1.309, allocations: 2.544 MB / 1.185 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001554/1.31, allocations: 120 kB / 1.185 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/1.325, allocations: 5.713 MB / 1.191 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003133/1.328, allocations: 0.9769 MB / 1.192 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005426/1.333, allocations: 1.769 MB / 1.193 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01983/1.353, allocations: 7.048 MB / 1.2 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/1.353, allocations: 0 / 1.2 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.781e-06/1.353, allocations: 0 / 1.2 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003739/1.354, allocations: 0 / 1.2 GB, free: 5.16 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01182/1.366, allocations: 3.651 MB / 1.204 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.366, allocations: 12.03 kB / 1.204 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009198/1.375, allocations: 1.467 MB / 1.205 GB, free: 15.94 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007922/1.383, allocations: 2.719 MB / 1.208 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001301/1.384, allocations: 493.9 kB / 1.208 GB, free: 12.64 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/1.385, allocations: 256 kB / 1.209 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/1.398, allocations: 3.401 MB / 1.212 GB, free: 8.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.906e-05/1.398, allocations: 0 / 1.212 GB, free: 8.891 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007471/1.399, allocations: 112 kB / 1.212 GB, free: 8.781 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/1.399, allocations: 112.8 kB / 1.212 GB, free: 8.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008613/1.408, allocations: 3.072 MB / 1.215 GB, free: 5.582 MB / 0.92 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.02549/1.434, allocations: 14.1 MB / 1.229 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/1.437, allocations: 1.616 MB / 1.231 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/1.439, allocations: 0.6953 MB / 1.231 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/1.439, allocations: 312.3 kB / 1.232 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001898/1.441, allocations: 0.8294 MB / 1.232 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00154/1.443, allocations: 106.7 kB / 1.232 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=106): time 3.656e-06/1.443, allocations: 0 / 1.232 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106): time 0.006072/1.449, allocations: 2.182 MB / 1.235 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.449, allocations: 115.8 kB / 1.235 GB, free: 392 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.453, allocations: 2.508 MB / 1.237 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002498/1.454, allocations: 49.7 kB / 1.237 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/1.455, allocations: 1.588 MB / 1.239 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004546/1.456, allocations: 378.6 kB / 1.239 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.456, allocations: 149.6 kB / 1.239 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.456, allocations: 305.1 kB / 1.24 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/1.458, allocations: 0.7847 MB / 1.24 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/1.461, allocations: 1.543 MB / 1.242 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/1.465, allocations: 2.212 MB / 1.244 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.465, allocations: 11.94 kB / 1.244 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00637/1.471, allocations: 2.519 MB / 1.246 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007726/1.472, allocations: 0.7449 MB / 1.247 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.378e-05/1.472, allocations: 23.98 kB / 1.247 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.643e-05/1.472, allocations: 39.88 kB / 1.247 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002102/1.474, allocations: 479.3 kB / 1.248 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.729e-05/1.474, allocations: 43.86 kB / 1.248 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/1.478, allocations: 454.1 kB / 1.248 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.479, allocations: 91.97 kB / 1.248 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.479, allocations: 4 kB / 1.248 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005808/1.484, allocations: 2.237 MB / 1.25 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.587e-05/1.485, allocations: 20 kB / 1.25 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/1.485, allocations: 32 kB / 1.251 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.487, allocations: 491.7 kB / 1.251 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.09e-05/1.487, allocations: 43.86 kB / 1.251 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003484/1.49, allocations: 360 kB / 1.251 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/1.49, allocations: 95.97 kB / 1.251 GB, free: 14.23 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (218): * Single equations (assignments): 215 * Array equations: 2 * 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.00219/1.493, allocations: 0.8909 MB / 1.252 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009253/1.494, allocations: 264.6 kB / 1.253 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/1.498, allocations: 1.683 MB / 1.254 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/1.498, allocations: 15.94 kB / 1.254 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.498, allocations: 0 / 1.254 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003023/1.501, allocations: 1.325 MB / 1.256 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.513, allocations: 4.453 MB / 1.26 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.513, allocations: 8 kB / 1.26 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.514, allocations: 240.2 kB / 1.26 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002762/1.515, allocations: 60.81 kB / 1.26 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.515, allocations: 43.75 kB / 1.26 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/1.516, allocations: 1.425 MB / 1.262 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.893e-05/1.516, allocations: 8 kB / 1.262 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005994/1.522, allocations: 2.577 MB / 1.264 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/1.524, allocations: 485.5 kB / 1.265 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009343/1.525, allocations: 32 kB / 1.265 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.528, allocations: 243.7 kB / 1.265 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.528, allocations: 92.33 kB / 1.265 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.528, allocations: 47.97 kB / 1.265 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004535/1.533, allocations: 1.707 MB / 1.267 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/1.533, allocations: 0 / 1.267 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006898/1.54, allocations: 1.565 MB / 1.268 GB, free: 12.58 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (105): * Single equations (assignments): 102 * 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.001369/1.541, allocations: 451.6 kB / 1.269 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007912/1.549, allocations: 2.965 MB / 1.272 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/1.549, allocations: 4 kB / 1.272 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/1.551, allocations: 0.8241 MB / 1.272 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01018/1.562, allocations: 1.201 MB / 1.274 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.578, allocations: 6.941 MB / 1.28 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.541/2.119, allocations: 2.119 MB / 1.282 GB, free: 373.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004494/2.124, allocations: 0.7633 MB / 1.283 GB, free: 373.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007532/2.124, allocations: 186.1 kB / 1.283 GB, free: 373.1 MB / 0.9825 GB Notification: Performance of SimCode: time 1.974e-06/2.124, allocations: 2.312 kB / 1.283 GB, free: 373.1 MB / 0.9825 GB Notification: Performance of Templates: time 0.1088/2.233, allocations: 45.36 MB / 1.328 GB, free: 357.3 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: