Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.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.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2",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.851/1.851, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001048/0.001049, allocations: 181.8 kB / 371.6 MB, free: 3.395 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.576/1.576, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009856/0.0009855, allocations: 91.61 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.087e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2955, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.812/2.108, allocations: 422.6 MB / 1.393 GB, free: 284 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/2.108, allocations: 97.56 kB / 1.393 GB, free: 284 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.279/11.39, allocations: 2.273 GB / 3.665 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.703e-06/11.39, allocations: 0 / 3.665 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002017/11.39, allocations: 253.5 kB / 3.666 GB, free: 112.9 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03201/11.42, allocations: 7.309 MB / 3.673 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/11.42, allocations: 12.94 kB / 3.673 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004151/11.43, allocations: 0.7569 MB / 3.673 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0097/11.44, allocations: 1.225 MB / 3.675 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03647/11.47, allocations: 12.54 MB / 3.687 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/11.47, allocations: 438.3 kB / 3.687 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003989/11.48, allocations: 0.59 MB / 3.688 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04021/11.52, allocations: 13.46 MB / 3.701 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000589/11.52, allocations: 26.08 kB / 3.701 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003967/11.52, allocations: 241.7 kB / 3.701 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002914/11.52, allocations: 137.8 kB / 3.701 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03939/11.56, allocations: 18.08 MB / 3.719 GB, free: 107.7 MB / 0.9792 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.1141/11.68, allocations: 55.37 MB / 3.773 GB, free: 89.06 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/11.69, allocations: 8.7 MB / 3.782 GB, free: 88.96 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/11.7, allocations: 9.263 MB / 3.791 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05317/11.75, allocations: 26.28 MB / 3.816 GB, free: 81.55 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01296/11.77, allocations: 7.318 MB / 3.823 GB, free: 80.28 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05187/11.82, allocations: 21.18 MB / 3.844 GB, free: 77.71 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 5.346e-05/11.82, allocations: 0 / 3.844 GB, free: 77.71 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.03952/11.86, allocations: 14.49 MB / 3.858 GB, free: 72.33 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/11.86, allocations: 84.84 kB / 3.858 GB, free: 72.26 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01774/11.88, allocations: 7.386 MB / 3.866 GB, free: 69.91 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002564/11.88, allocations: 105 kB / 3.866 GB, free: 69.83 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005288/11.88, allocations: 4.014 MB / 3.87 GB, free: 66.74 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003409/11.89, allocations: 1.083 MB / 3.871 GB, free: 65.91 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002177/11.89, allocations: 97.28 kB / 3.871 GB, free: 65.84 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004876/11.89, allocations: 492 kB / 3.871 GB, free: 65.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009521/11.9, allocations: 6.082 MB / 3.877 GB, free: 63.02 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01106/11.91, allocations: 7.89 MB / 3.885 GB, free: 57.01 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/11.92, allocations: 7.001 MB / 3.892 GB, free: 51.24 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.791e-05/11.92, allocations: 16 kB / 3.892 GB, free: 51.23 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04053/11.96, allocations: 16.35 MB / 3.908 GB, free: 37.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005429/11.97, allocations: 25.25 MB / 3.932 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/11.97, allocations: 52 kB / 3.932 GB, free: 10.83 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06573/12.04, allocations: 10.89 MB / 3.943 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009181/12.05, allocations: 1.6 MB / 3.945 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/12.06, allocations: 6.329 MB / 3.951 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01404/12.07, allocations: 0.6062 MB / 3.951 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003272/12.07, allocations: 0.5423 MB / 3.952 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/12.07, allocations: 4 kB / 3.952 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8175/12.89, allocations: 15.7 MB / 3.967 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/12.89, allocations: 47.22 kB / 3.967 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06992/12.96, allocations: 10.62 MB / 3.978 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009044/12.97, allocations: 1.595 MB / 3.979 GB, free: 131.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/12.98, allocations: 10.19 MB / 3.989 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/13, allocations: 0.5715 MB / 3.99 GB, free: 127.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002848/13, allocations: 0.5369 MB / 3.99 GB, free: 127.3 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.002852/13, allocations: 392 kB / 3.991 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003236/13, allocations: 0.7616 MB / 3.991 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0292/13.03, allocations: 13.47 MB / 4.005 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/13.03, allocations: 34.39 kB / 4.005 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/13.03, allocations: 0 / 4.005 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01617/13.05, allocations: 10.07 MB / 4.014 GB, free: 126.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0473/13.1, allocations: 23.72 MB / 4.038 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/13.1, allocations: 1.844 kB / 4.038 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00563/13.1, allocations: 0.7029 MB / 4.038 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06448/13.17, allocations: 9.928 MB / 4.048 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001398/13.17, allocations: 103.2 kB / 4.048 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004933/13.17, allocations: 4.302 MB / 4.052 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/13.17, allocations: 5.094 kB / 4.052 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03241/13.21, allocations: 18.23 MB / 4.07 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009377/13.22, allocations: 1.989 MB / 4.072 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005613/13.22, allocations: 83.2 kB / 4.072 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01241/13.23, allocations: 418.6 kB / 4.072 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001656/13.24, allocations: 215.4 kB / 4.073 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009152/13.24, allocations: 160 kB / 4.073 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01231/13.25, allocations: 5.729 MB / 4.078 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.51e-07/13.25, allocations: 5.219 kB / 4.078 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02836/13.28, allocations: 4.927 MB / 4.083 GB, free: 118.7 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02999/13.31, allocations: 19.82 MB / 4.103 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.03915/13.35, allocations: 23.49 MB / 4.126 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/13.35, allocations: 4.125 kB / 4.126 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009381/13.36, allocations: 6.096 MB / 4.131 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02755/13.38, allocations: 4.604 MB / 4.136 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05637/13.44, allocations: 19.51 MB / 4.155 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007198/13.45, allocations: 5.371 MB / 4.16 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03568/13.48, allocations: 7.886 MB / 4.168 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01325/13.5, allocations: 3.665 MB / 4.172 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.763e-06/13.5, allocations: 0 / 4.172 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.444/14.94, allocations: 299.8 MB / 4.464 GB, free: 156.9 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/14.94, allocations: 229.7 kB / 4.465 GB, free: 156.7 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/28.15, allocations: 0 / 4.465 GB, free: 156.7 MB / 1.026 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)