Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001179/0.001179, allocations: 181.4 kB / 371.6 MB, free: 3.363 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.65/1.65, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.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.0009896, allocations: 90 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.307e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.161/7.427, allocations: 2.343 GB / 3.323 GB, free: 209.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/7.427, allocations: 93.61 kB / 3.323 GB, free: 209.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.769/12.2, allocations: 1.112 GB / 4.435 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.375e-06/12.2, allocations: 1.719 kB / 4.435 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003527/12.2, allocations: 51.59 kB / 4.435 GB, free: 114.7 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.008335/12.2, allocations: 2.101 MB / 4.437 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/12.2, allocations: 11.12 kB / 4.437 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008987/12.21, allocations: 199.3 kB / 4.438 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/12.21, allocations: 369.9 kB / 4.438 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/12.21, allocations: 1.644 MB / 4.44 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/12.21, allocations: 110.4 kB / 4.44 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/12.21, allocations: 137 kB / 4.44 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/12.22, allocations: 1.416 MB / 4.441 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/12.22, allocations: 3.375 kB / 4.441 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/12.22, allocations: 56.97 kB / 4.441 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.096e-05/12.22, allocations: 54.27 kB / 4.441 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/12.22, allocations: 1.032 MB / 4.442 GB, free: 112.9 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.00936/12.23, allocations: 7.154 MB / 4.449 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/12.23, allocations: 0.8401 MB / 4.45 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/12.23, allocations: 402.6 kB / 4.45 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007698/12.23, allocations: 0.7183 MB / 4.451 GB, free: 108 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/12.23, allocations: 42.81 kB / 4.451 GB, free: 108 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=75): time 3.146e-06/12.23, allocations: 0 / 4.451 GB, free: 108 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75): time 0.002932/12.23, allocations: 1.124 MB / 4.452 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/12.23, allocations: 66.06 kB / 4.452 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/12.23, allocations: 1.127 MB / 4.453 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/12.23, allocations: 42.92 kB / 4.454 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/12.24, allocations: 0.7937 MB / 4.454 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/12.24, allocations: 259.5 kB / 4.455 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/12.24, allocations: 14.38 kB / 4.455 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001029/12.24, allocations: 342.3 kB / 4.455 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004233/12.24, allocations: 276.2 kB / 4.455 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/12.24, allocations: 0.5608 MB / 4.456 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/12.24, allocations: 376.5 kB / 4.456 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/12.24, allocations: 3.844 kB / 4.456 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002669/12.24, allocations: 1.236 MB / 4.457 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004578/12.24, allocations: 1.792 MB / 4.459 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/12.24, allocations: 6.594 kB / 4.459 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/12.24, allocations: 397.6 kB / 4.459 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/12.24, allocations: 152 kB / 4.46 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/12.24, allocations: 2.074 MB / 4.462 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/12.25, allocations: 181.3 kB / 4.462 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/12.25, allocations: 40.97 kB / 4.462 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/12.25, allocations: 10.8 kB / 4.462 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002357/12.25, allocations: 1.052 MB / 4.463 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/12.25, allocations: 3.75 kB / 4.463 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/12.25, allocations: 387.1 kB / 4.463 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/12.25, allocations: 153.5 kB / 4.463 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/12.25, allocations: 3.853 MB / 4.467 GB, free: 99.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/12.26, allocations: 175.4 kB / 4.467 GB, free: 99.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/12.26, allocations: 40.86 kB / 4.467 GB, free: 99.27 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003311/12.26, allocations: 159.4 kB / 4.467 GB, free: 99.14 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/12.26, allocations: 158.1 kB / 4.468 GB, free: 99.07 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/12.26, allocations: 1.227 MB / 4.469 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/12.26, allocations: 9.984 kB / 4.469 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/12.26, allocations: 0 / 4.469 GB, free: 98.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/12.26, allocations: 1.306 MB / 4.47 GB, free: 98.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004946/12.27, allocations: 2.67 MB / 4.473 GB, free: 97.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/12.27, allocations: 4.906 kB / 4.473 GB, free: 97.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/12.27, allocations: 106.1 kB / 4.473 GB, free: 97.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/12.27, allocations: 378.8 kB / 4.473 GB, free: 97.87 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/12.27, allocations: 20.61 kB / 4.473 GB, free: 97.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/12.27, allocations: 2.065 MB / 4.475 GB, free: 96.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/12.27, allocations: 3.812 kB / 4.475 GB, free: 96.3 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/12.27, allocations: 1.331 MB / 4.477 GB, free: 95.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/12.27, allocations: 344.1 kB / 4.477 GB, free: 95.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/12.27, allocations: 19.84 kB / 4.477 GB, free: 95.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/12.27, allocations: 129.1 kB / 4.477 GB, free: 95.42 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/12.27, allocations: 41.73 kB / 4.477 GB, free: 95.42 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/12.27, allocations: 33.59 kB / 4.477 GB, free: 95.41 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00133/12.28, allocations: 0.8796 MB / 4.478 GB, free: 95.05 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/12.28, allocations: 1.75 kB / 4.478 GB, free: 95.05 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003756/12.28, allocations: 1.104 MB / 4.479 GB, free: 94.75 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00573/12.28, allocations: 4.637 MB / 4.484 GB, free: 92.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003275/12.29, allocations: 1.555 MB / 4.485 GB, free: 91.38 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/12.29, allocations: 0 / 4.485 GB, free: 91.38 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008679/12.29, allocations: 462.5 kB / 4.485 GB, free: 91.23 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/12.29, allocations: 0.806 MB / 4.486 GB, free: 91.04 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004991/12.3, allocations: 2.352 MB / 4.489 GB, free: 90.01 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/12.3, allocations: 1.382 MB / 4.49 GB, free: 89.24 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002272/12.3, allocations: 442.1 kB / 4.49 GB, free: 89.15 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/12.3, allocations: 0.6188 MB / 4.491 GB, free: 88.64 MB / 0.9636 GB Notification: Performance of SimCode: time 1.323e-06/12.3, allocations: 0 / 4.491 GB, free: 88.64 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/12.45, allocations: 82.96 MB / 4.572 GB, free: 40.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/12.45, allocations: 248.6 kB / 4.572 GB, free: 40.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.267/17.71, allocations: 0 / 4.572 GB, free: 40.48 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)