Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.554/2.554, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002188/0.002187, allocations: 190.2 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.687/2.687, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001227, allocations: 92.41 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004707, allocations: 13.09 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.253, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.199/1.452, allocations: 348 MB / 1.239 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.096/1.548, allocations: 44.21 MB / 1.282 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007553/1.556, allocations: 139.1 kB / 1.282 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009561/1.566, allocations: 1.785 MB / 1.284 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02542/1.591, allocations: 5.494 MB / 1.289 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01318/1.604, allocations: 2.797 MB / 1.292 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02504/1.629, allocations: 13.28 MB / 1.305 GB, free: 4.297 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/1.641, allocations: 4.336 MB / 1.309 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/1.657, allocations: 4.672 MB / 1.314 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009054/1.666, allocations: 3.396 MB / 1.317 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001711/1.668, allocations: 172 kB / 1.317 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/1.682, allocations: 3.352 MB / 1.321 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003378/1.686, allocations: 1.335 MB / 1.322 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002947/1.689, allocations: 1.003 MB / 1.323 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01482/1.704, allocations: 6.632 MB / 1.329 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.704, allocations: 0 / 1.329 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.307e-06/1.704, allocations: 0 / 1.329 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002893/1.704, allocations: 0 / 1.329 GB, free: 11.29 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01609/1.72, allocations: 4.765 MB / 1.334 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.72, allocations: 8.031 kB / 1.334 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/1.738, allocations: 1.867 MB / 1.336 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/1.751, allocations: 3.382 MB / 1.339 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003402/1.754, allocations: 0.7048 MB / 1.34 GB, free: 392 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/1.755, allocations: 347.9 kB / 1.34 GB, free: 44 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/1.772, allocations: 4.609 MB / 1.345 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/1.773, allocations: 0 / 1.345 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006657/1.773, allocations: 140 kB / 1.345 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/1.774, allocations: 134.5 kB / 1.345 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/1.793, allocations: 4.198 MB / 1.349 GB, free: 6.855 MB / 0.8698 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.05327/1.846, allocations: 18.8 MB / 1.367 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008558/1.854, allocations: 2.068 MB / 1.369 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004632/1.859, allocations: 1.089 MB / 1.37 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.86, allocations: 445.5 kB / 1.371 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005055/1.865, allocations: 1.272 MB / 1.372 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002662/1.868, allocations: 178 kB / 1.372 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=135): time 5.67e-06/1.868, allocations: 0 / 1.372 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=135): time 0.01579/1.884, allocations: 3.283 MB / 1.375 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.884, allocations: 153.8 kB / 1.376 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009793/1.894, allocations: 3.65 MB / 1.379 GB, free: 6.363 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005454/1.895, allocations: 61.7 kB / 1.379 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003255/1.898, allocations: 2.009 MB / 1.381 GB, free: 4.273 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/1.899, allocations: 465.3 kB / 1.382 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/1.899, allocations: 39.98 kB / 1.382 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002543/1.899, allocations: 377.9 kB / 1.382 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006062/1.905, allocations: 1.148 MB / 1.383 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00745/1.913, allocations: 1.826 MB / 1.385 GB, free: 132 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007798/1.921, allocations: 1.312 MB / 1.386 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.693e-05/1.921, allocations: 4 kB / 1.386 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.0196/1.941, allocations: 3.259 MB / 1.389 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000648/1.941, allocations: 0.5998 MB / 1.39 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/1.941, allocations: 16 kB / 1.39 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.887e-05/1.941, allocations: 24 kB / 1.39 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/1.947, allocations: 0.5773 MB / 1.391 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.396e-05/1.947, allocations: 39.86 kB / 1.391 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008582/1.956, allocations: 0.6148 MB / 1.391 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006136/1.956, allocations: 95.95 kB / 1.391 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.956, allocations: 4 kB / 1.391 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01388/1.97, allocations: 2.906 MB / 1.394 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.908e-05/1.97, allocations: 16 kB / 1.394 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.247e-05/1.97, allocations: 24 kB / 1.394 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005458/1.976, allocations: 0.5777 MB / 1.395 GB, free: 5.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-05/1.976, allocations: 31.92 kB / 1.395 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007678/1.984, allocations: 0.5442 MB / 1.395 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005951/1.984, allocations: 95.89 kB / 1.395 GB, free: 5.129 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003726/1.988, allocations: 1.13 MB / 1.397 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.989, allocations: 371.2 kB / 1.397 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/2.001, allocations: 2.608 MB / 1.399 GB, free: 0.9805 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/2.001, allocations: 20 kB / 1.399 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/2.001, allocations: 0 / 1.399 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6533/2.655, allocations: 2.2 MB / 1.402 GB, free: 360 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.02764/2.682, allocations: 7.07 MB / 1.409 GB, free: 358.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/2.682, allocations: 8.531 kB / 1.409 GB, free: 358.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004071/2.686, allocations: 373.8 kB / 1.409 GB, free: 358.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/2.687, allocations: 56.83 kB / 1.409 GB, free: 358.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003654/2.687, allocations: 43.75 kB / 1.409 GB, free: 358.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/2.689, allocations: 1.441 MB / 1.41 GB, free: 357.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/2.689, allocations: 13.62 kB / 1.41 GB, free: 357.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/2.706, allocations: 3.881 MB / 1.414 GB, free: 357.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003073/2.709, allocations: 0.681 MB / 1.415 GB, free: 356.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/2.711, allocations: 39.17 kB / 1.415 GB, free: 356.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007341/2.718, allocations: 441.1 kB / 1.415 GB, free: 356.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000598/2.719, allocations: 122.6 kB / 1.415 GB, free: 356.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003577/2.719, allocations: 68.39 kB / 1.415 GB, free: 356.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.009428/2.729, allocations: 2.524 MB / 1.418 GB, free: 356.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.162e-06/2.729, allocations: 1.375 kB / 1.418 GB, free: 356.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01087/2.74, allocations: 1.982 MB / 1.42 GB, free: 356.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/2.742, allocations: 477.3 kB / 1.42 GB, free: 356.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01872/2.761, allocations: 4.045 MB / 1.424 GB, free: 355.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-05/2.761, allocations: 2.781 kB / 1.424 GB, free: 355.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005923/2.767, allocations: 1.21 MB / 1.425 GB, free: 354.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01863/2.785, allocations: 1.931 MB / 1.427 GB, free: 354.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/2.814, allocations: 9.212 MB / 1.436 GB, free: 349.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004136/2.818, allocations: 2.666 MB / 1.439 GB, free: 348.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.008213/2.826, allocations: 0.9724 MB / 1.44 GB, free: 348.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/2.828, allocations: 263.8 kB / 1.44 GB, free: 348.4 MB / 0.9167 GB Notification: Performance of SimCode: time 2.254e-06/2.829, allocations: 0 / 1.44 GB, free: 348.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.1674/2.996, allocations: 68.42 MB / 1.507 GB, free: 283.1 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)