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.805/2.805, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001588/0.001588, allocations: 182.4 kB / 371 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.161/2.161, allocations: 205.4 MB / 0.6297 GB, free: 10.53 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.0009546/0.0009544, allocations: 93.23 kB / 0.743 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006386, allocations: 16.84 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2537, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.224/1.478, allocations: 313.3 MB / 1.284 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.07561/1.553, allocations: 36.43 MB / 1.32 GB, free: 14 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005848/1.559, allocations: 111.2 kB / 1.32 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.008086/1.567, allocations: 1.479 MB / 1.321 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01874/1.586, allocations: 4.163 MB / 1.326 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/1.597, allocations: 2.21 MB / 1.328 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01859/1.615, allocations: 9.652 MB / 1.337 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007506/1.623, allocations: 2.893 MB / 1.34 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01322/1.636, allocations: 3.73 MB / 1.344 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00678/1.643, allocations: 2.435 MB / 1.346 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/1.644, allocations: 124 kB / 1.346 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/1.657, allocations: 2.872 MB / 1.349 GB, free: 240 kB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.002648/1.66, allocations: 0.9653 MB / 1.35 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/1.662, allocations: 0.7459 MB / 1.351 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01183/1.674, allocations: 5.039 MB / 1.356 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/1.674, allocations: 4 kB / 1.356 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.497e-06/1.674, allocations: 0 / 1.356 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002163/1.674, allocations: 0 / 1.356 GB, free: 9.453 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.01304/1.687, allocations: 3.71 MB / 1.359 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/1.687, allocations: 12.03 kB / 1.359 GB, free: 5.648 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001342/1.689, allocations: 358.4 kB / 1.359 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/1.703, allocations: 1.459 MB / 1.361 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/1.713, allocations: 2.556 MB / 1.363 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002845/1.716, allocations: 0.5409 MB / 1.364 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/1.717, allocations: 260 kB / 1.364 GB, free: 392 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/1.732, allocations: 3.472 MB / 1.368 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/1.732, allocations: 4 kB / 1.368 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000565/1.732, allocations: 108 kB / 1.368 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/1.733, allocations: 100.9 kB / 1.368 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/1.748, allocations: 3.197 MB / 1.371 GB, free: 9.387 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.04363/1.792, allocations: 14.43 MB / 1.385 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008169/1.8, allocations: 1.893 MB / 1.387 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003726/1.804, allocations: 0.8184 MB / 1.388 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/1.804, allocations: 304.3 kB / 1.388 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004139/1.809, allocations: 0.966 MB / 1.389 GB, free: 5.824 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002017/1.811, allocations: 138.3 kB / 1.389 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=108): time 6.051e-06/1.811, allocations: 0 / 1.389 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108): time 0.01282/1.823, allocations: 2.525 MB / 1.391 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.824, allocations: 119.8 kB / 1.392 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00899/1.833, allocations: 2.826 MB / 1.394 GB, free: 160 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004075/1.833, allocations: 57.7 kB / 1.394 GB, free: 96 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.835, allocations: 1.51 MB / 1.396 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007291/1.836, allocations: 378.6 kB / 1.396 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/1.836, allocations: 24 kB / 1.396 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.837, allocations: 365.9 kB / 1.397 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004619/1.841, allocations: 0.894 MB / 1.397 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005511/1.847, allocations: 1.416 MB / 1.399 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/1.852, allocations: 1.017 MB / 1.4 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/1.852, allocations: 4 kB / 1.4 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01206/1.864, allocations: 2.553 MB / 1.402 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005234/1.865, allocations: 467.7 kB / 1.403 GB, free: 7.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/1.865, allocations: 15.98 kB / 1.403 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.247e-05/1.865, allocations: 23.95 kB / 1.403 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004424/1.869, allocations: 471.3 kB / 1.403 GB, free: 6.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.382e-05/1.869, allocations: 27.92 kB / 1.403 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007065/1.876, allocations: 0.5037 MB / 1.404 GB, free: 6.039 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004879/1.877, allocations: 75.91 kB / 1.404 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.877, allocations: 4 kB / 1.404 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01099/1.888, allocations: 2.27 MB / 1.406 GB, free: 3.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.834e-05/1.888, allocations: 12 kB / 1.406 GB, free: 3.672 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/1.888, allocations: 20 kB / 1.406 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/1.892, allocations: 459.5 kB / 1.407 GB, free: 3.203 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.393e-05/1.892, allocations: 23.94 kB / 1.407 GB, free: 3.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006346/1.899, allocations: 445.5 kB / 1.407 GB, free: 2.746 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004776/1.899, allocations: 79.95 kB / 1.407 GB, free: 2.668 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.002805/1.902, allocations: 0.8558 MB / 1.408 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009857/1.903, allocations: 284.5 kB / 1.408 GB, free: 1.52 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008545/1.912, allocations: 1.958 MB / 1.41 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/1.912, allocations: 8 kB / 1.41 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.912, allocations: 4 kB / 1.41 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006885/1.919, allocations: 1.536 MB / 1.412 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.937, allocations: 4.956 MB / 1.416 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.937, allocations: 8 kB / 1.416 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.94, allocations: 279.7 kB / 1.417 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003879/1.94, allocations: 56.83 kB / 1.417 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/1.94, allocations: 27.98 kB / 1.417 GB, free: 8.461 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/1.942, allocations: 1.448 MB / 1.418 GB, free: 6.879 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/1.942, allocations: 7.938 kB / 1.418 GB, free: 6.871 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/1.954, allocations: 2.955 MB / 1.421 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002251/1.956, allocations: 0.5481 MB / 1.422 GB, free: 3.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009492/1.957, allocations: 28 kB / 1.422 GB, free: 3.223 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005446/1.963, allocations: 315.5 kB / 1.422 GB, free: 2.914 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/1.963, allocations: 92.78 kB / 1.422 GB, free: 2.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/1.964, allocations: 55.89 kB / 1.422 GB, free: 2.766 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006468/1.97, allocations: 1.97 MB / 1.424 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/1.97, allocations: 0 / 1.424 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.6532/2.623, allocations: 1.542 MB / 1.426 GB, free: 347.7 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.01399/2.637, allocations: 3.82 MB / 1.429 GB, free: 346.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.652, allocations: 3.153 MB / 1.432 GB, free: 345.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/2.652, allocations: 5.656 kB / 1.432 GB, free: 345.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004083/2.656, allocations: 0.9388 MB / 1.433 GB, free: 345.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01407/2.67, allocations: 1.522 MB / 1.435 GB, free: 345.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07497/2.745, allocations: 20.65 MB / 1.455 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003326/2.749, allocations: 2.129 MB / 1.457 GB, free: 333 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00672/2.756, allocations: 0.7509 MB / 1.458 GB, free: 332.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0033/2.759, allocations: 1.275 MB / 1.459 GB, free: 331.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/2.759, allocations: 0 / 1.459 GB, free: 331.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2462/3.005, allocations: 79.19 MB / 1.536 GB, free: 269.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/3.005, allocations: 268.3 kB / 1.537 GB, free: 269 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.158/9.164, allocations: 0 / 1.537 GB, free: 269 MB / 0.948 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)