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.001276/0.001276, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001392/0.001392, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.454/1.454, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.873/1.873, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001934/0.001935, allocations: 71.88 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.9198/1.231, allocations: 342.5 MB / 1.119 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.6372/1.869, allocations: 39 MB / 1.157 GB, free: 17.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00674/1.876, allocations: 134.5 kB / 1.158 GB, free: 17.32 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.007973/1.884, allocations: 2.339 MB / 1.16 GB, free: 17.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01977/1.903, allocations: 5.742 MB / 1.165 GB, free: 17.12 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008354/1.912, allocations: 3.052 MB / 1.168 GB, free: 17.06 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01514/1.927, allocations: 8.534 MB / 1.177 GB, free: 17.04 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007747/1.935, allocations: 4.183 MB / 1.181 GB, free: 16.54 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01357/1.948, allocations: 4.925 MB / 1.186 GB, free: 16.47 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008578/1.957, allocations: 2.689 MB / 1.188 GB, free: 16.47 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001819/1.959, allocations: 376.2 kB / 1.189 GB, free: 16.46 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/1.974, allocations: 5.135 MB / 1.194 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002813/1.977, allocations: 1.258 MB / 1.195 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004776/1.982, allocations: 2.075 MB / 1.197 GB, free: 16.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01614/1.998, allocations: 7.124 MB / 1.204 GB, free: 15.22 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.998, allocations: 0 / 1.204 GB, free: 15.22 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.464e-06/1.998, allocations: 0 / 1.204 GB, free: 15.22 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002109/1.998, allocations: 0 / 1.204 GB, free: 15.22 MB / 0.92 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.01124/2.01, allocations: 4.368 MB / 1.208 GB, free: 13.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/2.01, allocations: 7.906 kB / 1.208 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008533/2.018, allocations: 1.38 MB / 1.209 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007668/2.026, allocations: 2.828 MB / 1.212 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/2.026, allocations: 297.4 kB / 1.212 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007133/2.027, allocations: 260.5 kB / 1.213 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/2.035, allocations: 3.352 MB / 1.216 GB, free: 11.87 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/2.035, allocations: 4 kB / 1.216 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/2.035, allocations: 112 kB / 1.216 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/2.035, allocations: 107.7 kB / 1.216 GB, free: 11.85 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/2.042, allocations: 2.943 MB / 1.219 GB, free: 11.79 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.0229/2.065, allocations: 14.18 MB / 1.233 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/2.068, allocations: 1.577 MB / 1.234 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/2.07, allocations: 0.6935 MB / 1.235 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003799/2.07, allocations: 295.8 kB / 1.235 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/2.072, allocations: 0.8217 MB / 1.236 GB, free: 2.551 MB / 0.92 GB Notification: Performance of pre-optimization done (n=104): time 3.016e-06/2.072, allocations: 0 / 1.236 GB, free: 2.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=104): time 0.006085/2.078, allocations: 2.144 MB / 1.238 GB, free: 1.973 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/2.078, allocations: 116 kB / 1.238 GB, free: 1.848 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/2.083, allocations: 2.593 MB / 1.241 GB, free: 1.152 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002649/2.083, allocations: 51.89 kB / 1.241 GB, free: 1.121 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001291/2.084, allocations: 1.581 MB / 1.243 GB, free: 384 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/2.085, allocations: 372 kB / 1.243 GB, free: 120 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005992/2.085, allocations: 375.3 kB / 1.243 GB, free: 32 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001272/2.085, allocations: 311.4 kB / 1.244 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/2.087, allocations: 0.75 MB / 1.244 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/2.09, allocations: 1.505 MB / 1.246 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/2.094, allocations: 2.173 MB / 1.248 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/2.094, allocations: 12.03 kB / 1.248 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006192/2.1, allocations: 2.447 MB / 1.25 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/2.1, allocations: 44.88 kB / 1.25 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.384e-05/2.1, allocations: 20.72 kB / 1.25 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.38e-05/2.101, allocations: 34.31 kB / 1.25 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/2.102, allocations: 467.4 kB / 1.251 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.284e-05/2.103, allocations: 46.59 kB / 1.251 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003438/2.106, allocations: 354.2 kB / 1.251 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/2.106, allocations: 93.11 kB / 1.251 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003787/2.11, allocations: 1.436 MB / 1.253 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002547/2.113, allocations: 1.483 MB / 1.254 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004206/2.117, allocations: 2.142 MB / 1.256 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.345e-05/2.117, allocations: 8 kB / 1.256 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=219) (initialization_lambda0): time 0.006118/2.123, allocations: 2.419 MB / 1.259 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/2.123, allocations: 46.78 kB / 1.259 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/2.123, allocations: 20 kB / 1.259 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/2.123, allocations: 32.66 kB / 1.259 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/2.125, allocations: 467.3 kB / 1.259 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-05/2.125, allocations: 45.36 kB / 1.259 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/2.129, allocations: 286.9 kB / 1.259 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/2.129, allocations: 89.61 kB / 1.26 GB, free: 7.465 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (216): * Single equations (assignments): 213 * 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.00064/2.129, allocations: 316 kB / 1.26 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006555/2.13, allocations: 272.6 kB / 1.26 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/2.134, allocations: 1.655 MB / 1.262 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002999/2.137, allocations: 1.3 MB / 1.263 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/2.137, allocations: 0 / 1.263 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/2.139, allocations: 492.3 kB / 1.263 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/2.139, allocations: 21.5 kB / 1.264 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/2.141, allocations: 120.7 kB / 1.264 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/2.141, allocations: 71.88 kB / 1.264 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004065/2.145, allocations: 1.489 MB / 1.265 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005323/2.151, allocations: 2.408 MB / 1.268 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001422/2.152, allocations: 0.6223 MB / 1.268 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003088/2.155, allocations: 1.76 MB / 1.27 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of Backend: time 6.61e-07/2.155, allocations: 0 / 1.27 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009887/2.165, allocations: 3.403 MB / 1.273 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01285/2.178, allocations: 6.393 MB / 1.279 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of Templates: time 0.1167/2.295, allocations: 66.29 MB / 1.344 GB, free: 4.133 MB / 1.014 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (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)