Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4",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.764/2.764, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001744/0.001744, allocations: 192.2 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.107/2.107, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001208/0.001207, allocations: 96.88 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006351/0.0006352, allocations: 12.19 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2246, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.836/7.061, allocations: 2.105 GB / 3.084 GB, free: 163.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/7.061, allocations: 90.83 kB / 3.084 GB, free: 163.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.644/14.71, allocations: 1.453 GB / 4.537 GB, free: 137 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.625e-06/14.71, allocations: 0 / 4.537 GB, free: 137 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001651/14.71, allocations: 42.55 kB / 4.537 GB, free: 137 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00795/14.71, allocations: 2.143 MB / 4.539 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/14.71, allocations: 14.25 kB / 4.539 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005431/14.71, allocations: 156.5 kB / 4.539 GB, free: 135.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/14.72, allocations: 0.5033 MB / 4.539 GB, free: 135.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/14.72, allocations: 1.234 MB / 4.541 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001739/14.73, allocations: 277.4 kB / 4.541 GB, free: 134.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/14.73, allocations: 106.2 kB / 4.541 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/14.73, allocations: 1.322 MB / 4.542 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/14.73, allocations: 2.719 kB / 4.542 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/14.73, allocations: 43.66 kB / 4.542 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/14.73, allocations: 42.45 kB / 4.542 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00445/14.73, allocations: 1.083 MB / 4.543 GB, free: 133.3 MB / 0.9636 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.01189/14.75, allocations: 6.65 MB / 4.55 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/14.75, allocations: 0.6308 MB / 4.55 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/14.75, allocations: 288.8 kB / 4.551 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/14.75, allocations: 34.53 kB / 4.551 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 2.635e-06/14.75, allocations: 0 / 4.551 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.004318/14.76, allocations: 0.8953 MB / 4.552 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/14.76, allocations: 55.09 kB / 4.552 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/14.76, allocations: 1.194 MB / 4.553 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001828/14.76, allocations: 36.48 kB / 4.553 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006285/14.76, allocations: 0.6783 MB / 4.554 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/14.76, allocations: 128.4 kB / 4.554 GB, free: 125 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/14.76, allocations: 15.97 kB / 4.554 GB, free: 125 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/14.76, allocations: 325.9 kB / 4.554 GB, free: 124.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/14.76, allocations: 324.9 kB / 4.554 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/14.76, allocations: 0.6773 MB / 4.555 GB, free: 124 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/14.76, allocations: 403.4 kB / 4.555 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/14.76, allocations: 3.469 kB / 4.555 GB, free: 123.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004961/14.77, allocations: 1.046 MB / 4.556 GB, free: 123.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008946/14.77, allocations: 3.824 MB / 4.56 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/14.77, allocations: 10.38 kB / 4.56 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/14.77, allocations: 15 kB / 4.56 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/14.77, allocations: 203.6 kB / 4.56 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/14.77, allocations: 26.08 kB / 4.56 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/14.78, allocations: 231.6 kB / 4.561 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/14.78, allocations: 37.95 kB / 4.561 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/14.78, allocations: 9.344 kB / 4.561 GB, free: 119.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003657/14.78, allocations: 0.8987 MB / 4.561 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/14.78, allocations: 15.77 kB / 4.561 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/14.78, allocations: 12.72 kB / 4.562 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/14.78, allocations: 207.8 kB / 4.562 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/14.78, allocations: 21.98 kB / 4.562 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/14.78, allocations: 208.8 kB / 4.562 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/14.78, allocations: 42.12 kB / 4.562 GB, free: 118.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009967/14.78, allocations: 414.1 kB / 4.562 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003861/14.78, allocations: 139.5 kB / 4.562 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/14.79, allocations: 0.6787 MB / 4.563 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/14.79, allocations: 3.938 kB / 4.563 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/14.79, allocations: 4 kB / 4.563 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/14.79, allocations: 2.156 kB / 4.563 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/14.79, allocations: 1.931 MB / 4.565 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/14.79, allocations: 7.344 kB / 4.565 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009552/14.79, allocations: 113.9 kB / 4.565 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/14.79, allocations: 4 kB / 4.565 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/14.79, allocations: 12 kB / 4.565 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/14.79, allocations: 8 kB / 4.565 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/14.8, allocations: 7.938 kB / 4.565 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/14.8, allocations: 1.056 MB / 4.566 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/14.8, allocations: 291.2 kB / 4.567 GB, free: 114.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/14.8, allocations: 11.94 kB / 4.567 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/14.8, allocations: 107.9 kB / 4.567 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/14.8, allocations: 43.84 kB / 4.567 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/14.8, allocations: 15.98 kB / 4.567 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00219/14.8, allocations: 0.9278 MB / 4.568 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.31e-07/14.8, allocations: 0 / 4.568 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004122/14.81, allocations: 0.8739 MB / 4.568 GB, free: 112.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009113/14.82, allocations: 5.629 MB / 4.574 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005079/14.82, allocations: 1.14 MB / 4.575 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/14.82, allocations: 8 kB / 4.575 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/14.82, allocations: 276.5 kB / 4.575 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005256/14.83, allocations: 0.6207 MB / 4.576 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/14.84, allocations: 10.07 MB / 4.586 GB, free: 94.86 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/14.84, allocations: 1.209 MB / 4.587 GB, free: 93.62 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002678/14.84, allocations: 353.7 kB / 4.587 GB, free: 93.28 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/14.84, allocations: 479.3 kB / 4.588 GB, free: 92.81 MB / 0.9636 GB Notification: Performance of SimCode: time 1.253e-06/14.84, allocations: 4 kB / 4.588 GB, free: 92.81 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/15.02, allocations: 75.67 MB / 4.662 GB, free: 17.91 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/15.02, allocations: 228.1 kB / 4.662 GB, free: 17.66 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.857/20.88, allocations: 0 / 4.662 GB, free: 17.66 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)