Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.512/1.512, allocations: 288.4 MB / 303.6 MB, free: 8.117 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.0008954/0.0008953, allocations: 191.8 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.4 MB / 0.631 GB, free: 9.801 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.000721/0.0007212, allocations: 90.34 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 11.5 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1636, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6326/0.7963, allocations: 313.3 MB / 1.286 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0409/0.8373, allocations: 36.43 MB / 1.322 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00417/0.8415, allocations: 111.2 kB / 1.322 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005838/0.8473, allocations: 1.721 MB / 1.323 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.8599, allocations: 4.883 MB / 1.328 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006165/0.8661, allocations: 2.302 MB / 1.33 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.8767, allocations: 9.772 MB / 1.34 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004063/0.8808, allocations: 3.417 MB / 1.343 GB, free: 6.289 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007284/0.8881, allocations: 4.031 MB / 1.347 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003275/0.8914, allocations: 2.432 MB / 1.35 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.8917, allocations: 124 kB / 1.35 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008518/0.9002, allocations: 5.623 MB / 1.355 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0009432/0.9011, allocations: 0.9614 MB / 1.356 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.9029, allocations: 1.7 MB / 1.358 GB, free: 7.359 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.005266/0.9081, allocations: 5.28 MB / 1.363 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9082, allocations: 0 / 1.363 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9082, allocations: 0 / 1.363 GB, free: 2.066 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.9082, allocations: 0 / 1.363 GB, free: 2.066 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.005887/0.9141, allocations: 3.673 MB / 1.367 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.9141, allocations: 8.031 kB / 1.367 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004154/0.9146, allocations: 366.4 kB / 1.367 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00689/0.9215, allocations: 1.467 MB / 1.368 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/0.9257, allocations: 2.658 MB / 1.371 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/0.927, allocations: 0.533 MB / 1.372 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/0.9273, allocations: 268 kB / 1.372 GB, free: 8.918 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006064/0.9334, allocations: 3.464 MB / 1.375 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/0.9335, allocations: 0 / 1.375 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.9337, allocations: 104 kB / 1.375 GB, free: 5.25 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.48e-05/0.9338, allocations: 108.8 kB / 1.375 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006546/0.9404, allocations: 3.197 MB / 1.378 GB, free: 1.93 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.01897/0.9593, allocations: 14.43 MB / 1.393 GB, free: 2.461 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/0.9631, allocations: 1.877 MB / 1.394 GB, free: 0.5391 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.9648, allocations: 0.8261 MB / 1.395 GB, free: 15.71 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/0.9652, allocations: 308.3 kB / 1.396 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.9672, allocations: 0.9737 MB / 1.396 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001114/0.9683, allocations: 142.3 kB / 1.397 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=108): time 3.657e-06/0.9683, allocations: 0 / 1.397 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108): time 0.005884/0.9742, allocations: 2.525 MB / 1.399 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.9743, allocations: 115.8 kB / 1.399 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.9781, allocations: 2.838 MB / 1.402 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.9782, allocations: 53.7 kB / 1.402 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/0.9794, allocations: 1.494 MB / 1.403 GB, free: 7.113 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.9797, allocations: 378.5 kB / 1.404 GB, free: 6.738 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.9798, allocations: 31.98 kB / 1.404 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9799, allocations: 365.9 kB / 1.404 GB, free: 6.344 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.9821, allocations: 0.894 MB / 1.405 GB, free: 5.449 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.9847, allocations: 1.42 MB / 1.406 GB, free: 3.816 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/0.9887, allocations: 2.038 MB / 1.408 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.9888, allocations: 4 kB / 1.408 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00536/0.9941, allocations: 2.546 MB / 1.411 GB, free: 15.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.9944, allocations: 473 kB / 1.411 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.9944, allocations: 12 kB / 1.411 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.9944, allocations: 23.94 kB / 1.411 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.9963, allocations: 471.2 kB / 1.412 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.9964, allocations: 27.92 kB / 1.412 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.9995, allocations: 0.5023 MB / 1.412 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.9996, allocations: 75.95 kB / 1.412 GB, free: 13.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.9996, allocations: 4 kB / 1.412 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004856/1.004, allocations: 2.266 MB / 1.415 GB, free: 11.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.005, allocations: 12 kB / 1.415 GB, free: 11.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/1.005, allocations: 20.44 kB / 1.415 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/1.006, allocations: 463.4 kB / 1.415 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/1.006, allocations: 27.88 kB / 1.415 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/1.009, allocations: 440 kB / 1.416 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/1.009, allocations: 71.98 kB / 1.416 GB, free: 10.04 MB / 0.948 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.001201/1.01, allocations: 0.8611 MB / 1.417 GB, free: 9.164 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/1.011, allocations: 280.4 kB / 1.417 GB, free: 8.887 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/1.015, allocations: 1.966 MB / 1.419 GB, free: 6.895 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.015, allocations: 11.94 kB / 1.419 GB, free: 6.883 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.015, allocations: 7.938 kB / 1.419 GB, free: 6.875 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/1.018, allocations: 1.528 MB / 1.42 GB, free: 5.316 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007974/1.026, allocations: 4.967 MB / 1.425 GB, free: 184 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.026, allocations: 4 kB / 1.425 GB, free: 180 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3094/1.335, allocations: 273.9 kB / 1.425 GB, free: 347.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002716/1.336, allocations: 57.11 kB / 1.425 GB, free: 347.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/1.336, allocations: 30.97 kB / 1.425 GB, free: 347.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009541/1.337, allocations: 1.442 MB / 1.427 GB, free: 346.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/1.337, allocations: 10.88 kB / 1.427 GB, free: 346.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/1.343, allocations: 2.951 MB / 1.43 GB, free: 346.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009379/1.344, allocations: 0.549 MB / 1.43 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/1.344, allocations: 36.2 kB / 1.43 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002327/1.346, allocations: 309.6 kB / 1.431 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.346, allocations: 92.95 kB / 1.431 GB, free: 346 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.346, allocations: 52.7 kB / 1.431 GB, free: 346 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003091/1.35, allocations: 1.971 MB / 1.433 GB, free: 345.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/1.35, allocations: 0 / 1.433 GB, free: 345.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003283/1.353, allocations: 1.551 MB / 1.434 GB, free: 345.3 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.006485/1.359, allocations: 3.824 MB / 1.438 GB, free: 343.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006784/1.366, allocations: 3.157 MB / 1.441 GB, free: 342.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.366, allocations: 2.219 kB / 1.441 GB, free: 342.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.368, allocations: 0.9369 MB / 1.442 GB, free: 342.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008639/1.377, allocations: 1.574 MB / 1.443 GB, free: 341.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/1.412, allocations: 20.65 MB / 1.464 GB, free: 330.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.414, allocations: 2.13 MB / 1.466 GB, free: 329.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003454/1.417, allocations: 0.7525 MB / 1.466 GB, free: 329.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.419, allocations: 1.296 MB / 1.468 GB, free: 328.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.22e-07/1.419, allocations: 0 / 1.468 GB, free: 328.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7904/2.209, allocations: 86.1 MB / 1.552 GB, free: 253.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001221/2.209, allocations: 284 kB / 1.552 GB, free: 252.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.391/6.601, allocations: 0 / 1.552 GB, free: 252.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)