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.729/2.729, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001413/0.001413, allocations: 189.9 kB / 371 MB, free: 10.88 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.153/2.153, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009894/0.0009895, allocations: 90.36 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.000516, allocations: 12.27 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2359, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.271/1.507, allocations: 313.2 MB / 1.284 GB, free: 2.598 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0781/1.585, allocations: 36.43 MB / 1.32 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005909/1.591, allocations: 115.2 kB / 1.32 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.008078/1.599, allocations: 1.479 MB / 1.321 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01945/1.619, allocations: 4.164 MB / 1.325 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.63, allocations: 2.218 MB / 1.328 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02019/1.65, allocations: 9.639 MB / 1.337 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009123/1.659, allocations: 2.901 MB / 1.34 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02088/1.68, allocations: 3.738 MB / 1.344 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009994/1.69, allocations: 2.427 MB / 1.346 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001801/1.692, allocations: 124 kB / 1.346 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/1.711, allocations: 2.869 MB / 1.349 GB, free: 324 kB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.003725/1.715, allocations: 0.9652 MB / 1.35 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003592/1.719, allocations: 0.7575 MB / 1.35 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01711/1.736, allocations: 5.031 MB / 1.355 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.736, allocations: 0 / 1.355 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.236e-06/1.736, allocations: 0 / 1.355 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002243/1.736, allocations: 0 / 1.355 GB, free: 9.535 MB / 0.8855 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.01895/1.755, allocations: 3.714 MB / 1.359 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.755, allocations: 8.031 kB / 1.359 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/1.773, allocations: 1.467 MB / 1.36 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009708/1.783, allocations: 2.55 MB / 1.363 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002841/1.786, allocations: 0.5486 MB / 1.363 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/1.787, allocations: 256 kB / 1.364 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.801, allocations: 3.472 MB / 1.367 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001221/1.801, allocations: 0 / 1.367 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006196/1.801, allocations: 108 kB / 1.367 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002025/1.802, allocations: 100.9 kB / 1.367 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/1.817, allocations: 3.204 MB / 1.37 GB, free: 9.816 MB / 0.9011 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.04101/1.858, allocations: 14.41 MB / 1.385 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007873/1.866, allocations: 1.889 MB / 1.386 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003542/1.869, allocations: 0.8184 MB / 1.387 GB, free: 7.609 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/1.87, allocations: 304.2 kB / 1.387 GB, free: 7.254 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003948/1.874, allocations: 0.966 MB / 1.388 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001963/1.876, allocations: 138.3 kB / 1.389 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=108): time 5.69e-06/1.876, allocations: 3.938 kB / 1.389 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108): time 0.01239/1.888, allocations: 2.529 MB / 1.391 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.889, allocations: 123.8 kB / 1.391 GB, free: 3.422 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008348/1.897, allocations: 2.826 MB / 1.394 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004412/1.897, allocations: 49.7 kB / 1.394 GB, free: 0.5352 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/1.9, allocations: 1.51 MB / 1.395 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007862/1.901, allocations: 378.5 kB / 1.396 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/1.901, allocations: 24 kB / 1.396 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002425/1.901, allocations: 369.9 kB / 1.396 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004652/1.906, allocations: 0.8978 MB / 1.397 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005323/1.911, allocations: 1.413 MB / 1.398 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/1.916, allocations: 1.021 MB / 1.399 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/1.916, allocations: 4 kB / 1.399 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01189/1.928, allocations: 2.55 MB / 1.402 GB, free: 8.133 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004926/1.929, allocations: 467.5 kB / 1.402 GB, free: 7.508 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.929, allocations: 16 kB / 1.402 GB, free: 7.492 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-05/1.929, allocations: 20 kB / 1.402 GB, free: 7.473 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/1.933, allocations: 467.3 kB / 1.403 GB, free: 7.016 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.564e-05/1.933, allocations: 27.92 kB / 1.403 GB, free: 6.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006968/1.94, allocations: 0.5076 MB / 1.403 GB, free: 6.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/1.941, allocations: 67.97 kB / 1.403 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.941, allocations: 7.984 kB / 1.403 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01064/1.951, allocations: 2.27 MB / 1.406 GB, free: 4.129 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.477e-05/1.951, allocations: 12 kB / 1.406 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.454e-05/1.951, allocations: 20 kB / 1.406 GB, free: 4.098 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/1.956, allocations: 463.8 kB / 1.406 GB, free: 3.645 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.573e-05/1.956, allocations: 27.88 kB / 1.406 GB, free: 3.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006338/1.962, allocations: 440.1 kB / 1.407 GB, free: 3.188 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004623/1.963, allocations: 71.97 kB / 1.407 GB, free: 3.117 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.002801/1.965, allocations: 0.8573 MB / 1.407 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009438/1.966, allocations: 288.4 kB / 1.408 GB, free: 1.965 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008454/1.975, allocations: 1.958 MB / 1.41 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.975, allocations: 12 kB / 1.41 GB, free: 15.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.975, allocations: 4 kB / 1.41 GB, free: 15.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006715/1.982, allocations: 1.536 MB / 1.411 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01934/2.001, allocations: 4.96 MB / 1.416 GB, free: 9.266 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/2.001, allocations: 8 kB / 1.416 GB, free: 9.258 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002988/2.004, allocations: 279.8 kB / 1.416 GB, free: 8.984 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004017/2.005, allocations: 52.83 kB / 1.416 GB, free: 8.93 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/2.005, allocations: 27.98 kB / 1.416 GB, free: 8.902 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/2.007, allocations: 1.444 MB / 1.418 GB, free: 7.324 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/2.007, allocations: 11.98 kB / 1.418 GB, free: 7.312 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/2.024, allocations: 2.951 MB / 1.421 GB, free: 4.266 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/2.027, allocations: 0.5519 MB / 1.421 GB, free: 3.691 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/2.029, allocations: 32 kB / 1.421 GB, free: 3.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008056/2.037, allocations: 311.5 kB / 1.422 GB, free: 3.355 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/2.037, allocations: 92.78 kB / 1.422 GB, free: 3.262 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003743/2.038, allocations: 59.89 kB / 1.422 GB, free: 3.203 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009645/2.048, allocations: 1.97 MB / 1.424 GB, free: 1.238 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.724e-06/2.048, allocations: 0 / 1.424 GB, free: 1.238 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.6845/2.732, allocations: 1.542 MB / 1.425 GB, free: 347.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.001826/2.734, allocations: 435.1 kB / 1.426 GB, free: 347.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01488/2.749, allocations: 3.157 MB / 1.429 GB, free: 347.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/2.749, allocations: 1.875 kB / 1.429 GB, free: 347.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/2.753, allocations: 0.9434 MB / 1.43 GB, free: 347.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01451/2.768, allocations: 1.506 MB / 1.431 GB, free: 347 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/2.791, allocations: 6.868 MB / 1.438 GB, free: 343.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/2.795, allocations: 2.124 MB / 1.44 GB, free: 342.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007092/2.802, allocations: 0.7464 MB / 1.441 GB, free: 342.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001515/2.804, allocations: 202.8 kB / 1.441 GB, free: 342.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/2.804, allocations: 0 / 1.441 GB, free: 342.5 MB / 0.948 GB Notification: Performance of Templates: time 0.1496/2.953, allocations: 52.35 MB / 1.492 GB, free: 315.9 MB / 0.948 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)