Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.755/2.755, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 182.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.419/2.419, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001648/0.001649, allocations: 92.75 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007947/0.0007949, allocations: 12.78 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2373, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.165/1.402, allocations: 276.8 MB / 1.249 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.07788/1.48, allocations: 34.78 MB / 1.282 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005552/1.485, allocations: 107.2 kB / 1.283 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009883/1.495, allocations: 1.929 MB / 1.284 GB, free: 15.63 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02566/1.521, allocations: 5.446 MB / 1.29 GB, free: 10.18 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01678/1.538, allocations: 3.697 MB / 1.293 GB, free: 6.516 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01409/1.552, allocations: 5.008 MB / 1.298 GB, free: 1.504 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007291/1.559, allocations: 2.939 MB / 1.301 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01211/1.571, allocations: 3.259 MB / 1.304 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/1.576, allocations: 1.68 MB / 1.306 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001252/1.578, allocations: 127.9 kB / 1.306 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01057/1.588, allocations: 2.496 MB / 1.309 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002412/1.591, allocations: 0.8877 MB / 1.309 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/1.593, allocations: 0.7576 MB / 1.31 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/1.604, allocations: 4.785 MB / 1.315 GB, free: 492 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.604, allocations: 0 / 1.315 GB, free: 492 kB / 0.8386 GB Notification: Performance of FrontEnd: time 2.475e-06/1.604, allocations: 0 / 1.315 GB, free: 492 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002171/1.604, allocations: 0 / 1.315 GB, free: 492 kB / 0.8386 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.01232/1.617, allocations: 3.632 MB / 1.318 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.617, allocations: 8.031 kB / 1.318 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/1.631, allocations: 1.474 MB / 1.32 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/1.642, allocations: 2.574 MB / 1.322 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004754/1.647, allocations: 0.5409 MB / 1.323 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/1.649, allocations: 260 kB / 1.323 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/1.665, allocations: 3.44 MB / 1.326 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.665, allocations: 7.844 kB / 1.326 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006077/1.666, allocations: 108 kB / 1.327 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/1.666, allocations: 104.9 kB / 1.327 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/1.681, allocations: 3.189 MB / 1.33 GB, free: 0.8516 MB / 0.8542 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.04195/1.723, allocations: 14.48 MB / 1.344 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/1.732, allocations: 1.873 MB / 1.346 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/1.732, allocations: 32.88 kB / 1.346 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00413/1.736, allocations: 0.9762 MB / 1.347 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001857/1.738, allocations: 142.3 kB / 1.347 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=108): time 5.721e-06/1.738, allocations: 0 / 1.347 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108): time 0.01277/1.751, allocations: 2.526 MB / 1.349 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/1.751, allocations: 196.9 kB / 1.35 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007676/1.759, allocations: 2.819 MB / 1.352 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004151/1.759, allocations: 53.7 kB / 1.352 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/1.761, allocations: 1.498 MB / 1.354 GB, free: 7.027 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007534/1.762, allocations: 386.5 kB / 1.354 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/1.762, allocations: 28 kB / 1.354 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002389/1.763, allocations: 361.9 kB / 1.355 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004672/1.767, allocations: 0.89 MB / 1.355 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005515/1.773, allocations: 1.411 MB / 1.357 GB, free: 3.746 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/1.778, allocations: 1.025 MB / 1.358 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/1.778, allocations: 4 kB / 1.358 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01205/1.79, allocations: 2.53 MB / 1.36 GB, free: 172 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002516/1.793, allocations: 5.122 MB / 1.365 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.025e-05/1.793, allocations: 12 kB / 1.365 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.202e-05/1.793, allocations: 20 kB / 1.365 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.797, allocations: 475.3 kB / 1.366 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.507e-05/1.798, allocations: 23.94 kB / 1.366 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/1.805, allocations: 0.5 MB / 1.366 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004942/1.805, allocations: 75.95 kB / 1.366 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.805, allocations: 7.938 kB / 1.366 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01106/1.816, allocations: 2.254 MB / 1.369 GB, free: 7.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.395e-05/1.816, allocations: 12 kB / 1.369 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/1.817, allocations: 23.94 kB / 1.369 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004376/1.821, allocations: 463.8 kB / 1.369 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.386e-05/1.821, allocations: 27.92 kB / 1.369 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006346/1.827, allocations: 443.9 kB / 1.369 GB, free: 6.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/1.828, allocations: 75.97 kB / 1.37 GB, free: 6.336 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (180): * Single equations (assignments): 177 * Array equations: 2 * 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.00278/1.831, allocations: 0.8657 MB / 1.37 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009645/1.832, allocations: 280.5 kB / 1.371 GB, free: 5.184 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008656/1.84, allocations: 1.879 MB / 1.372 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/1.84, allocations: 19.88 kB / 1.373 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.84, allocations: 0 / 1.373 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006345/1.847, allocations: 1.368 MB / 1.374 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01924/1.866, allocations: 5.353 MB / 1.379 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/1.866, allocations: 4 kB / 1.379 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003019/1.869, allocations: 279.7 kB / 1.379 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/1.87, allocations: 64.77 kB / 1.379 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/1.87, allocations: 35.97 kB / 1.379 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.872, allocations: 1.456 MB / 1.381 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-05/1.872, allocations: 11.94 kB / 1.381 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/1.89, allocations: 3.761 MB / 1.385 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.892, allocations: 0.552 MB / 1.385 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008889/1.893, allocations: 28 kB / 1.385 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005419/1.899, allocations: 320.4 kB / 1.385 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/1.899, allocations: 100.4 kB / 1.386 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.899, allocations: 51.97 kB / 1.386 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006314/1.906, allocations: 1.966 MB / 1.387 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.41e-07/1.906, allocations: 0 / 1.387 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007237/1.913, allocations: 1.531 MB / 1.389 GB, free: 1.66 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (106): * Single equations (assignments): 103 * 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.001687/1.915, allocations: 456 kB / 1.389 GB, free: 1.219 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01475/1.93, allocations: 3.142 MB / 1.392 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.142e-05/1.93, allocations: 5.625 kB / 1.392 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00426/1.934, allocations: 0.941 MB / 1.393 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/1.947, allocations: 1.5 MB / 1.395 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.97, allocations: 6.925 MB / 1.402 GB, free: 4.559 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004279/1.974, allocations: 2.189 MB / 1.404 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.009931/1.984, allocations: 0.7572 MB / 1.405 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/1.986, allocations: 195.4 kB / 1.405 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of SimCode: time 1.522e-06/1.986, allocations: 0 / 1.405 GB, free: 1.383 MB / 0.9323 GB Notification: Performance of Templates: time 0.8752/2.862, allocations: 52.03 MB / 1.456 GB, free: 346.2 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)