Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 252 MB / 267.3 MB, free: 10.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009857/0.0009857, allocations: 176.6 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008622/0.0008621, allocations: 86.34 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 9.531 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2515, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9341/1.186, allocations: 373 MB / 1.265 GB, free: 13 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.06963/1.255, allocations: 47.42 MB / 1.311 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0103/1.266, allocations: 135.1 kB / 1.312 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.009611/1.275, allocations: 2.394 MB / 1.314 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.02523/1.301, allocations: 7.143 MB / 1.321 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0121/1.313, allocations: 3.479 MB / 1.324 GB, free: 308 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02165/1.335, allocations: 15.47 MB / 1.339 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009369/1.344, allocations: 4.557 MB / 1.344 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01545/1.359, allocations: 5.101 MB / 1.349 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/1.37, allocations: 3.61 MB / 1.352 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001727/1.371, allocations: 176 kB / 1.353 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/1.39, allocations: 6.831 MB / 1.359 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.005029/1.395, allocations: 1.362 MB / 1.361 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.008026/1.403, allocations: 2.376 MB / 1.363 GB, free: 8.641 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02634/1.429, allocations: 9.224 MB / 1.372 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/1.429, allocations: 4 kB / 1.372 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.6e-06/1.429, allocations: 0 / 1.372 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005413/1.43, allocations: 0 / 1.372 GB, free: 15.38 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01814/1.448, allocations: 4.712 MB / 1.376 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.448, allocations: 16.03 kB / 1.377 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001771/1.45, allocations: 471.9 kB / 1.377 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/1.461, allocations: 1.867 MB / 1.379 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008696/1.47, allocations: 3.515 MB / 1.382 GB, free: 4.641 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001968/1.472, allocations: 0.7009 MB / 1.383 GB, free: 3.914 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/1.473, allocations: 344 kB / 1.383 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/1.484, allocations: 4.644 MB / 1.388 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/1.484, allocations: 0 / 1.388 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/1.484, allocations: 136 kB / 1.388 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/1.485, allocations: 134.5 kB / 1.388 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/1.496, allocations: 4.222 MB / 1.392 GB, free: 10.34 MB / 0.9167 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.6323/2.128, allocations: 18.79 MB / 1.41 GB, free: 354.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005174/2.134, allocations: 2.069 MB / 1.413 GB, free: 354.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/2.137, allocations: 1.086 MB / 1.414 GB, free: 354.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008163/2.138, allocations: 450 kB / 1.414 GB, free: 354.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003806/2.141, allocations: 1.277 MB / 1.415 GB, free: 354.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002775/2.144, allocations: 179.2 kB / 1.415 GB, free: 354.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=135): time 9.448e-06/2.144, allocations: 0.75 kB / 1.415 GB, free: 354.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=135): time 0.01192/2.156, allocations: 3.293 MB / 1.419 GB, free: 354 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/2.156, allocations: 147.6 kB / 1.419 GB, free: 353.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008623/2.165, allocations: 3.69 MB / 1.422 GB, free: 353.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005486/2.166, allocations: 62.2 kB / 1.422 GB, free: 353.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002058/2.168, allocations: 2.011 MB / 1.424 GB, free: 353 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005905/2.168, allocations: 474.9 kB / 1.425 GB, free: 352.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/2.168, allocations: 34.88 kB / 1.425 GB, free: 352.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001271/2.169, allocations: 376.5 kB / 1.425 GB, free: 352.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003444/2.172, allocations: 1.188 MB / 1.426 GB, free: 352.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0037/2.176, allocations: 1.863 MB / 1.428 GB, free: 351.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006143/2.182, allocations: 2.776 MB / 1.431 GB, free: 349.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/2.182, allocations: 4.562 kB / 1.431 GB, free: 349.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01048/2.192, allocations: 3.338 MB / 1.434 GB, free: 348.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006152/2.193, allocations: 0.6015 MB / 1.435 GB, free: 348 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/2.193, allocations: 15.78 kB / 1.435 GB, free: 348 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.433e-05/2.193, allocations: 27.72 kB / 1.435 GB, free: 348 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/2.196, allocations: 0.5806 MB / 1.435 GB, free: 347.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.375e-05/2.196, allocations: 38.77 kB / 1.435 GB, free: 347.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/2.201, allocations: 0.6089 MB / 1.436 GB, free: 347.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/2.201, allocations: 97 kB / 1.436 GB, free: 347.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/2.201, allocations: 4.906 kB / 1.436 GB, free: 347.8 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006541/2.208, allocations: 2.926 MB / 1.439 GB, free: 346.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/2.208, allocations: 15.62 kB / 1.439 GB, free: 346.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.768e-05/2.208, allocations: 26.33 kB / 1.439 GB, free: 346.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/2.21, allocations: 0.5751 MB / 1.44 GB, free: 346.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/2.211, allocations: 36.77 kB / 1.44 GB, free: 346.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004985/2.216, allocations: 0.5334 MB / 1.44 GB, free: 346.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/2.216, allocations: 90.59 kB / 1.44 GB, free: 346.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002914/2.219, allocations: 1.13 MB / 1.441 GB, free: 345.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/2.22, allocations: 368.9 kB / 1.442 GB, free: 345.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/2.226, allocations: 2.616 MB / 1.444 GB, free: 343.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/2.226, allocations: 15.75 kB / 1.444 GB, free: 343.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/2.226, allocations: 0 / 1.444 GB, free: 343.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00435/2.231, allocations: 2.214 MB / 1.446 GB, free: 342.4 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.01658/2.247, allocations: 7.087 MB / 1.453 GB, free: 336.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/2.247, allocations: 8 kB / 1.453 GB, free: 336.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/2.249, allocations: 373.9 kB / 1.454 GB, free: 336.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/2.249, allocations: 52.83 kB / 1.454 GB, free: 336.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/2.249, allocations: 47.97 kB / 1.454 GB, free: 336.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/2.25, allocations: 1.448 MB / 1.455 GB, free: 334.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/2.25, allocations: 11.94 kB / 1.455 GB, free: 334.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007831/2.258, allocations: 3.884 MB / 1.459 GB, free: 330.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/2.261, allocations: 0.6799 MB / 1.46 GB, free: 329.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005568/2.261, allocations: 39.98 kB / 1.46 GB, free: 329.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003186/2.264, allocations: 448.9 kB / 1.46 GB, free: 329.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/2.265, allocations: 116.6 kB / 1.46 GB, free: 329.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/2.265, allocations: 67.8 kB / 1.46 GB, free: 329.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004058/2.269, allocations: 2.564 MB / 1.463 GB, free: 326.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/2.269, allocations: 0 / 1.463 GB, free: 326.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007207/2.276, allocations: 1.974 MB / 1.465 GB, free: 324.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008694/2.285, allocations: 4.816 MB / 1.469 GB, free: 319.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00931/2.294, allocations: 4.095 MB / 1.473 GB, free: 315.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/2.294, allocations: 0 / 1.473 GB, free: 315.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002844/2.297, allocations: 1.217 MB / 1.475 GB, free: 314.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/2.314, allocations: 2.047 MB / 1.477 GB, free: 312.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09267/2.407, allocations: 35.38 MB / 1.511 GB, free: 274.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004453/2.411, allocations: 2.667 MB / 1.514 GB, free: 271.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006202/2.417, allocations: 0.9741 MB / 1.515 GB, free: 270.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003159/2.42, allocations: 1.765 MB / 1.516 GB, free: 268.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.302e-06/2.421, allocations: 0 / 1.516 GB, free: 268.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1737/2.594, allocations: 105.2 MB / 1.619 GB, free: 164.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/2.594, allocations: 283.5 kB / 1.619 GB, free: 164 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.076/8.671, allocations: 4 kB / 1.619 GB, free: 164 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)