Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9307/0.9307, allocations: 143.4 MB / 158.3 MB, free: 5.688 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 175.2 kB / 191.5 MB, free: 5.664 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 223.1 MB / 447.7 MB, free: 4.883 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 95.59 kB / 0.5187 GB, free: 1.238 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002247, allocations: 270.5 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004486, allocations: 12.22 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9478/1.16, allocations: 361.9 MB / 1.127 GB, free: 7.855 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/1.161, allocations: 94.83 kB / 1.127 GB, free: 7.805 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.026/3.187, allocations: 490.5 MB / 1.606 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.346e-06/3.187, allocations: 0 / 1.606 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001607/3.187, allocations: 36.09 kB / 1.606 GB, free: 123.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004486/3.191, allocations: 1.973 MB / 1.608 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/3.191, allocations: 8.562 kB / 1.608 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/3.192, allocations: 130.5 kB / 1.608 GB, free: 121.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/3.193, allocations: 229.8 kB / 1.609 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/3.197, allocations: 1.962 MB / 1.61 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/3.197, allocations: 66 kB / 1.611 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/3.197, allocations: 87.91 kB / 1.611 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/3.199, allocations: 0.9554 MB / 1.612 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/3.199, allocations: 6.688 kB / 1.612 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/3.199, allocations: 35.98 kB / 1.612 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/3.199, allocations: 20 kB / 1.612 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/3.2, allocations: 0.7028 MB / 1.612 GB, free: 117.4 MB / 0.7136 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.005377/3.206, allocations: 4.606 MB / 1.617 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/3.207, allocations: 0.5999 MB / 1.617 GB, free: 112 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/3.209, allocations: 1.689 MB / 1.619 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006135/3.21, allocations: 341.6 kB / 1.619 GB, free: 109.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004818/3.21, allocations: 113.6 kB / 1.619 GB, free: 109.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 5.039e-06/3.21, allocations: 1.812 kB / 1.619 GB, free: 109.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.002478/3.213, allocations: 1.12 MB / 1.621 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/3.213, allocations: 57.44 kB / 1.621 GB, free: 108.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/3.214, allocations: 1.122 MB / 1.622 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/3.214, allocations: 37.7 kB / 1.622 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/3.215, allocations: 0.6409 MB / 1.622 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/3.215, allocations: 163.9 kB / 1.623 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/3.215, allocations: 16 kB / 1.623 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/3.215, allocations: 330 kB / 1.623 GB, free: 106.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/3.216, allocations: 244.9 kB / 1.623 GB, free: 106 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/3.216, allocations: 0.5731 MB / 1.624 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/3.217, allocations: 348.1 kB / 1.624 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/3.217, allocations: 4 kB / 1.624 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001611/3.218, allocations: 1.016 MB / 1.625 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008075/3.219, allocations: 3.055 MB / 1.628 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/3.219, allocations: 4 kB / 1.628 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/3.22, allocations: 150.8 kB / 1.628 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/3.22, allocations: 151.7 kB / 1.628 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006522/3.221, allocations: 0.7629 MB / 1.629 GB, free: 99.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/3.222, allocations: 83.86 kB / 1.629 GB, free: 99.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/3.222, allocations: 43.92 kB / 1.629 GB, free: 99.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/3.222, allocations: 4 kB / 1.629 GB, free: 99.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/3.223, allocations: 0.9129 MB / 1.63 GB, free: 98.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/3.223, allocations: 14.33 kB / 1.63 GB, free: 98.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001692/3.224, allocations: 108.7 kB / 1.63 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/3.224, allocations: 144.1 kB / 1.63 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/3.226, allocations: 2.22 MB / 1.632 GB, free: 95.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/3.227, allocations: 81.5 kB / 1.633 GB, free: 95.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/3.227, allocations: 35.98 kB / 1.633 GB, free: 95.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009045/3.228, allocations: 491.9 kB / 1.633 GB, free: 95.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/3.228, allocations: 130.5 kB / 1.633 GB, free: 95.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/3.23, allocations: 0.8916 MB / 1.634 GB, free: 94.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/3.23, allocations: 4 kB / 1.634 GB, free: 94.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/3.23, allocations: 4 kB / 1.634 GB, free: 94.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/3.231, allocations: 0.8822 MB / 1.635 GB, free: 93.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/3.234, allocations: 1.886 MB / 1.637 GB, free: 91.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/3.234, allocations: 4 kB / 1.637 GB, free: 91.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/3.234, allocations: 83.94 kB / 1.637 GB, free: 91.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/3.234, allocations: 123.7 kB / 1.637 GB, free: 91.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/3.235, allocations: 15.98 kB / 1.637 GB, free: 91.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004777/3.235, allocations: 0.7447 MB / 1.638 GB, free: 90.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/3.235, allocations: 7.953 kB / 1.638 GB, free: 90.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/3.237, allocations: 1.242 MB / 1.639 GB, free: 89.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000659/3.238, allocations: 271.3 kB / 1.639 GB, free: 88.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/3.238, allocations: 12 kB / 1.639 GB, free: 88.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/3.238, allocations: 67.84 kB / 1.639 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/3.239, allocations: 44.38 kB / 1.639 GB, free: 88.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/3.239, allocations: 23.98 kB / 1.639 GB, free: 88.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001214/3.24, allocations: 0.8737 MB / 1.64 GB, free: 87.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/3.24, allocations: 0 / 1.64 GB, free: 87.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002884/3.243, allocations: 0.7253 MB / 1.641 GB, free: 86.99 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003753/3.247, allocations: 2.534 MB / 1.643 GB, free: 84.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002535/3.249, allocations: 1.316 MB / 1.645 GB, free: 83.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/3.249, allocations: 256 / 1.645 GB, free: 83.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006387/3.25, allocations: 330.3 kB / 1.645 GB, free: 82.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/3.252, allocations: 0.5684 MB / 1.645 GB, free: 82.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/3.259, allocations: 8.802 MB / 1.654 GB, free: 73.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/3.259, allocations: 1.295 MB / 1.655 GB, free: 71.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001323/3.261, allocations: 305.3 kB / 1.656 GB, free: 71.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/3.261, allocations: 0.4954 MB / 1.656 GB, free: 71.19 MB / 0.7136 GB Notification: Performance of SimCode: time 1.883e-06/3.261, allocations: 0 / 1.656 GB, free: 71.19 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06874/3.33, allocations: 40.73 MB / 1.696 GB, free: 31.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/3.33, allocations: 252.3 kB / 1.696 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/6.999, allocations: 0 / 1.696 GB, free: 31.03 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example2.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe 2>&1)