Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",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.403/1.403, allocations: 249.5 MB / 257 MB, free: 6.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.001011, allocations: 180.6 kB / 316.3 MB, free: 3.258 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.485/1.485, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008964/0.0008963, allocations: 100.7 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.932e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2039, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.506/1.71, allocations: 415.4 MB / 1.291 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.71, allocations: 95.8 kB / 1.291 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.054/5.764, allocations: 1.3 GB / 2.591 GB, free: 20.43 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.333e-06/5.764, allocations: 4 kB / 2.591 GB, free: 20.43 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006267/5.765, allocations: 103.8 kB / 2.591 GB, free: 20.33 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01117/5.776, allocations: 3.105 MB / 2.594 GB, free: 17.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/5.776, allocations: 8.031 kB / 2.594 GB, free: 17.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/5.779, allocations: 0.5307 MB / 2.595 GB, free: 16.61 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/5.792, allocations: 4.323 MB / 2.599 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/5.792, allocations: 55.94 kB / 2.599 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009788/5.793, allocations: 116 kB / 2.599 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004097/5.797, allocations: 1.615 MB / 2.601 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/5.801, allocations: 1.818 MB / 2.602 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/5.801, allocations: 11.92 kB / 2.602 GB, free: 8.473 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/5.801, allocations: 4 kB / 2.602 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/5.801, allocations: 40 kB / 2.603 GB, free: 8.43 MB / 0.9011 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.6527/6.454, allocations: 11.21 MB / 2.613 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/6.456, allocations: 1.232 MB / 2.615 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/6.458, allocations: 0.8951 MB / 2.616 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007024/6.465, allocations: 3.381 MB / 2.619 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/6.466, allocations: 0.6505 MB / 2.619 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002593/6.468, allocations: 0.5746 MB / 2.62 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 3.487e-06/6.468, allocations: 0 / 2.62 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.007904/6.476, allocations: 2.447 MB / 2.622 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/6.476, allocations: 65.98 kB / 2.623 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/6.48, allocations: 2.189 MB / 2.625 GB, free: 132.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/6.48, allocations: 34.56 kB / 2.625 GB, free: 132.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/6.482, allocations: 1.424 MB / 2.626 GB, free: 132.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005716/6.483, allocations: 340.6 kB / 2.626 GB, free: 132.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/6.483, allocations: 2.625 kB / 2.626 GB, free: 132.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002012/6.483, allocations: 361.8 kB / 2.627 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/6.484, allocations: 0.5274 MB / 2.627 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/6.485, allocations: 1.269 MB / 2.628 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005655/6.491, allocations: 1.322 MB / 2.63 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/6.491, allocations: 5.031 kB / 2.63 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00905/6.5, allocations: 2.909 MB / 2.633 GB, free: 130.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00125/6.501, allocations: 5.939 MB / 2.638 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/6.502, allocations: 18.05 kB / 2.638 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/6.503, allocations: 440.1 kB / 2.639 GB, free: 124.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/6.504, allocations: 268.2 kB / 2.639 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/6.506, allocations: 2.015 MB / 2.641 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002835/6.509, allocations: 149.1 kB / 2.641 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/6.509, allocations: 76.3 kB / 2.641 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/6.509, allocations: 4.125 kB / 2.641 GB, free: 123.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007829/6.517, allocations: 2.514 MB / 2.644 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/6.517, allocations: 17.45 kB / 2.644 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009389/6.518, allocations: 408.6 kB / 2.644 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/6.519, allocations: 260.7 kB / 2.644 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/6.526, allocations: 5.596 MB / 2.65 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/6.528, allocations: 142.1 kB / 2.65 GB, free: 120.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/6.528, allocations: 68.12 kB / 2.65 GB, free: 120.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005023/6.529, allocations: 158.3 kB / 2.65 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006953/6.536, allocations: 2.285 MB / 2.652 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/6.537, allocations: 280.3 kB / 2.653 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007281/6.544, allocations: 2.575 MB / 2.655 GB, free: 119.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/6.544, allocations: 16.88 kB / 2.655 GB, free: 119.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/6.544, allocations: 6.734 kB / 2.655 GB, free: 119.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005774/6.55, allocations: 2.304 MB / 2.658 GB, free: 119.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/6.561, allocations: 4.364 MB / 2.662 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/6.561, allocations: 6.062 kB / 2.662 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/6.561, allocations: 128.5 kB / 2.662 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006723/6.562, allocations: 386.8 kB / 2.662 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/6.562, allocations: 17.06 kB / 2.662 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/6.563, allocations: 1.868 MB / 2.664 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/6.563, allocations: 0 / 2.664 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007193/6.571, allocations: 3.253 MB / 2.667 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/6.573, allocations: 486.7 kB / 2.668 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003103/6.573, allocations: 11.53 kB / 2.668 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/6.574, allocations: 130.4 kB / 2.668 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/6.574, allocations: 67.22 kB / 2.668 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.781e-05/6.574, allocations: 36.19 kB / 2.668 GB, free: 117.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002863/6.577, allocations: 1.671 MB / 2.67 GB, free: 117 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.91e-07/6.577, allocations: 2.75 kB / 2.67 GB, free: 117 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005518/6.583, allocations: 1.386 MB / 2.671 GB, free: 117 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.008394/6.591, allocations: 4.666 MB / 2.676 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004419/6.596, allocations: 2.758 MB / 2.678 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/6.596, allocations: 0 / 2.678 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008778/6.597, allocations: 0.6341 MB / 2.679 GB, free: 115.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005271/6.602, allocations: 1.077 MB / 2.68 GB, free: 115.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/6.611, allocations: 4.484 MB / 2.684 GB, free: 114.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/6.612, allocations: 2.099 MB / 2.686 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004767/6.617, allocations: 1.402 MB / 2.688 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/6.618, allocations: 1.097 MB / 2.689 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.182e-06/6.618, allocations: 0.5625 kB / 2.689 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/6.745, allocations: 78.16 MB / 2.765 GB, free: 110 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/6.745, allocations: 175.4 kB / 2.765 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.821/11.57, allocations: 0 / 2.765 GB, free: 109.8 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)