Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",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.8245/0.8245, allocations: 143.3 MB / 158.3 MB, free: 5.789 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.001391/0.001391, allocations: 177.1 kB / 191.5 MB, free: 5.758 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.554/1.554, allocations: 223.1 MB / 447.7 MB, free: 4.828 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.001019/0.001019, allocations: 92.27 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001868/0.001867, allocations: 271 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004462/0.0004465, allocations: 10.88 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.453/4.613, allocations: 1.828 GB / 2.602 GB, free: 249.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/4.613, allocations: 89.41 kB / 2.602 GB, free: 249.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.237/7.851, allocations: 0.9668 GB / 3.569 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.535e-06/7.851, allocations: 0 / 3.569 GB, free: 122.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.78e-05/7.851, allocations: 31.98 kB / 3.569 GB, free: 122.3 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002675/7.853, allocations: 1.368 MB / 3.57 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/7.854, allocations: 16.02 kB / 3.57 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/7.854, allocations: 94.52 kB / 3.57 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/7.854, allocations: 189.4 kB / 3.571 GB, free: 120.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/7.857, allocations: 1.077 MB / 3.572 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/7.857, allocations: 48.94 kB / 3.572 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/7.857, allocations: 64 kB / 3.572 GB, free: 119.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009148/7.858, allocations: 0.6472 MB / 3.572 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/7.858, allocations: 0 / 3.572 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/7.858, allocations: 20 kB / 3.572 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/7.858, allocations: 12 kB / 3.572 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/7.858, allocations: 0.4957 MB / 3.573 GB, free: 118.1 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.00316/7.862, allocations: 3.249 MB / 3.576 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/7.862, allocations: 382.1 kB / 3.576 GB, free: 114.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/7.862, allocations: 198.4 kB / 3.577 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/7.862, allocations: 34.8 kB / 3.577 GB, free: 113.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/7.862, allocations: 0 / 3.577 GB, free: 113.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28): time 0.002806/7.865, allocations: 1.184 MB / 3.578 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/7.865, allocations: 51.41 kB / 3.578 GB, free: 112.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/7.866, allocations: 0.9465 MB / 3.579 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/7.866, allocations: 33.7 kB / 3.579 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/7.867, allocations: 444.8 kB / 3.579 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/7.867, allocations: 98.58 kB / 3.579 GB, free: 111 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/7.867, allocations: 4 kB / 3.579 GB, free: 111 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/7.867, allocations: 317.9 kB / 3.58 GB, free: 110.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/7.867, allocations: 139.9 kB / 3.58 GB, free: 110.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/7.867, allocations: 339.2 kB / 3.58 GB, free: 110.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/7.868, allocations: 175.9 kB / 3.58 GB, free: 110 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/7.868, allocations: 0 / 3.58 GB, free: 110 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009456/7.869, allocations: 0.6783 MB / 3.581 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/7.869, allocations: 362.3 kB / 3.581 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/7.869, allocations: 336 / 3.581 GB, free: 108.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/7.869, allocations: 230.8 kB / 3.582 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/7.869, allocations: 23.98 kB / 3.582 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007711/7.87, allocations: 1.001 MB / 3.583 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008114/7.871, allocations: 87.7 kB / 3.583 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/7.871, allocations: 12 kB / 3.583 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/7.871, allocations: 4.625 kB / 3.583 GB, free: 107.5 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009378/7.872, allocations: 0.4984 MB / 3.583 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/7.872, allocations: 0 / 3.583 GB, free: 107 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000489/7.872, allocations: 212.6 kB / 3.583 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/7.873, allocations: 19.98 kB / 3.583 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/7.876, allocations: 3.124 MB / 3.586 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009167/7.877, allocations: 79.69 kB / 3.586 GB, free: 103.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/7.877, allocations: 12 kB / 3.586 GB, free: 103.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006452/7.877, allocations: 456.7 kB / 3.587 GB, free: 103 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/7.878, allocations: 94.88 kB / 3.587 GB, free: 102.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/7.879, allocations: 0.7217 MB / 3.588 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/7.879, allocations: 4 kB / 3.588 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/7.879, allocations: 0 / 3.588 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/7.879, allocations: 0 / 3.588 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/7.881, allocations: 1.505 MB / 3.589 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/7.881, allocations: 7.984 kB / 3.589 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/7.881, allocations: 23.92 kB / 3.589 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/7.882, allocations: 216.5 kB / 3.589 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/7.882, allocations: 8 kB / 3.589 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007036/7.882, allocations: 0.9877 MB / 3.59 GB, free: 99.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/7.882, allocations: 0 / 3.59 GB, free: 99.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/7.883, allocations: 0.896 MB / 3.591 GB, free: 98.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/7.884, allocations: 212 kB / 3.591 GB, free: 98.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/7.884, allocations: 11.98 kB / 3.591 GB, free: 98.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/7.885, allocations: 63.78 kB / 3.592 GB, free: 98.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/7.885, allocations: 23.91 kB / 3.592 GB, free: 98.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/7.885, allocations: 15.95 kB / 3.592 GB, free: 98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008363/7.885, allocations: 0.763 MB / 3.592 GB, free: 97.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/7.885, allocations: 0 / 3.592 GB, free: 97.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001379/7.887, allocations: 483.5 kB / 3.593 GB, free: 96.76 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002366/7.889, allocations: 2.615 MB / 3.595 GB, free: 94.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001334/7.891, allocations: 0.7384 MB / 3.596 GB, free: 93.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/7.891, allocations: 0 / 3.596 GB, free: 93.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/7.891, allocations: 211 kB / 3.596 GB, free: 93.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/7.893, allocations: 496.4 kB / 3.597 GB, free: 92.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008638/7.902, allocations: 6.376 MB / 3.603 GB, free: 86.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/7.902, allocations: 1.2 MB / 3.604 GB, free: 84.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007945/7.903, allocations: 199.3 kB / 3.604 GB, free: 84.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/7.903, allocations: 315.3 kB / 3.605 GB, free: 84.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.153e-06/7.903, allocations: 0 / 3.605 GB, free: 84.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07025/7.974, allocations: 41.38 MB / 3.645 GB, free: 43.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/7.974, allocations: 275.9 kB / 3.645 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.439/11.41, allocations: 4.062 kB / 3.645 GB, free: 42.98 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)