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: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.852/2.852, allocations: 287.3 MB / 302.3 MB, free: 8.367 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.001483/0.001483, allocations: 186.7 kB / 370.8 MB, free: 10.86 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.212/2.212, allocations: 205.4 MB / 0.6295 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.001196/0.001196, allocations: 91.19 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004974, allocations: 12.25 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2433, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.206/1.449, allocations: 276.8 MB / 1.249 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.08401/1.533, allocations: 34.79 MB / 1.283 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00537/1.538, allocations: 107.2 kB / 1.283 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.009554/1.548, allocations: 1.917 MB / 1.285 GB, free: 15.59 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02413/1.572, allocations: 5.45 MB / 1.29 GB, free: 10.13 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01714/1.589, allocations: 3.697 MB / 1.293 GB, free: 6.48 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01608/1.605, allocations: 5.004 MB / 1.298 GB, free: 1.473 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/1.617, allocations: 2.932 MB / 1.301 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01498/1.632, allocations: 3.275 MB / 1.304 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004775/1.637, allocations: 1.672 MB / 1.306 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001145/1.638, allocations: 124 kB / 1.306 GB, free: 9.406 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01034/1.649, allocations: 2.492 MB / 1.309 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/1.651, allocations: 0.8877 MB / 1.309 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001938/1.653, allocations: 0.7498 MB / 1.31 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/1.664, allocations: 4.781 MB / 1.315 GB, free: 480 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.664, allocations: 4 kB / 1.315 GB, free: 476 kB / 0.8386 GB Notification: Performance of FrontEnd: time 3.156e-06/1.664, allocations: 0 / 1.315 GB, free: 476 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002046/1.664, allocations: 0 / 1.315 GB, free: 476 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.01306/1.677, allocations: 3.64 MB / 1.318 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.677, allocations: 15.97 kB / 1.318 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001451/1.679, allocations: 362.4 kB / 1.319 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/1.693, allocations: 1.478 MB / 1.32 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009516/1.703, allocations: 2.57 MB / 1.323 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002712/1.705, allocations: 0.5409 MB / 1.323 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009961/1.706, allocations: 267.9 kB / 1.324 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/1.719, allocations: 3.436 MB / 1.327 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.11e-05/1.719, allocations: 0 / 1.327 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/1.72, allocations: 104 kB / 1.327 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/1.72, allocations: 104.9 kB / 1.327 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/1.735, allocations: 3.197 MB / 1.33 GB, free: 468 kB / 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.05131/1.786, allocations: 14.47 MB / 1.344 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009105/1.795, allocations: 1.881 MB / 1.346 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/1.795, allocations: 33.05 kB / 1.346 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004112/1.8, allocations: 0.9801 MB / 1.347 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002016/1.802, allocations: 142.3 kB / 1.347 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=108): time 6.332e-06/1.802, allocations: 0 / 1.347 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108): time 0.01237/1.814, allocations: 2.522 MB / 1.35 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.814, allocations: 204.8 kB / 1.35 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007453/1.822, allocations: 2.815 MB / 1.353 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004363/1.822, allocations: 53.7 kB / 1.353 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00221/1.824, allocations: 1.494 MB / 1.354 GB, free: 6.637 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007507/1.825, allocations: 382.5 kB / 1.355 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/1.825, allocations: 32 kB / 1.355 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002372/1.826, allocations: 361.9 kB / 1.355 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/1.83, allocations: 0.89 MB / 1.356 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/1.835, allocations: 1.405 MB / 1.357 GB, free: 3.359 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004915/1.84, allocations: 1.021 MB / 1.358 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/1.84, allocations: 4 kB / 1.358 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01146/1.852, allocations: 2.542 MB / 1.361 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002508/1.855, allocations: 5.117 MB / 1.366 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-05/1.855, allocations: 15.98 kB / 1.366 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-05/1.855, allocations: 23.95 kB / 1.366 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004581/1.859, allocations: 471.3 kB / 1.366 GB, free: 9.828 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.802e-05/1.859, allocations: 23.94 kB / 1.366 GB, free: 9.805 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/1.866, allocations: 0.5076 MB / 1.367 GB, free: 9.297 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/1.867, allocations: 71.97 kB / 1.367 GB, free: 9.227 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.867, allocations: 8 kB / 1.367 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01123/1.878, allocations: 2.254 MB / 1.369 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.031e-05/1.878, allocations: 15.94 kB / 1.369 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/1.878, allocations: 20 kB / 1.369 GB, free: 6.922 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/1.883, allocations: 471.8 kB / 1.369 GB, free: 6.461 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.611e-05/1.883, allocations: 23.92 kB / 1.369 GB, free: 6.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006531/1.889, allocations: 443.9 kB / 1.37 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004983/1.89, allocations: 75.97 kB / 1.37 GB, free: 5.93 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.002698/1.892, allocations: 0.8702 MB / 1.371 GB, free: 5.051 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000898/1.893, allocations: 284.4 kB / 1.371 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008528/1.902, allocations: 1.864 MB / 1.373 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/1.902, allocations: 12 kB / 1.373 GB, free: 2.867 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.902, allocations: 3.938 kB / 1.373 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006742/1.909, allocations: 1.372 MB / 1.374 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/1.928, allocations: 5.345 MB / 1.379 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.928, allocations: 8 kB / 1.38 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.931, allocations: 287.8 kB / 1.38 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003576/1.932, allocations: 56.83 kB / 1.38 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/1.932, allocations: 35.97 kB / 1.38 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/1.934, allocations: 1.464 MB / 1.381 GB, free: 9.945 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.405e-05/1.934, allocations: 11.94 kB / 1.381 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.946, allocations: 3.757 MB / 1.385 GB, free: 5.828 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.948, allocations: 0.5598 MB / 1.386 GB, free: 5.246 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005867/1.949, allocations: 24 kB / 1.386 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004845/1.954, allocations: 320.7 kB / 1.386 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/1.954, allocations: 104.3 kB / 1.386 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.954, allocations: 51.97 kB / 1.386 GB, free: 4.758 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005673/1.96, allocations: 1.962 MB / 1.388 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.11e-07/1.96, allocations: 0 / 1.388 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006801/1.967, allocations: 1.539 MB / 1.389 GB, free: 1.258 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.01538/1.982, allocations: 6.512 MB / 1.396 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01493/1.997, allocations: 3.136 MB / 1.399 GB, free: 7.352 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/1.997, allocations: 4.062 kB / 1.399 GB, free: 7.348 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.004372/2.002, allocations: 0.9487 MB / 1.4 GB, free: 6.387 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01343/2.015, allocations: 1.498 MB / 1.401 GB, free: 4.91 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/2.046, allocations: 16.7 MB / 1.418 GB, free: 3.609 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/2.05, allocations: 2.189 MB / 1.42 GB, free: 1.387 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006283/2.056, allocations: 0.7494 MB / 1.42 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00348/2.06, allocations: 1.276 MB / 1.422 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of SimCode: time 1.483e-06/2.06, allocations: 4 kB / 1.422 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8473/2.907, allocations: 77.22 MB / 1.497 GB, free: 334.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003007/2.907, allocations: 258.7 kB / 1.497 GB, free: 334.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.155/9.062, allocations: 3.75 kB / 1.497 GB, free: 334.3 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)