Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.PressureDrop.SeriesFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.8705/0.8705, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001573/0.001573, allocations: 180.8 kB / 182.2 MB, free: 9.438 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.555/1.555, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009626/0.0009625, allocations: 99.83 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 265.7 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.073e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.4994, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.066/5.565, allocations: 1.829 GB / 2.586 GB, free: 188.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/5.566, allocations: 97.67 kB / 2.586 GB, free: 188.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.002/8.568, allocations: 0.9583 GB / 3.545 GB, free: 42.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/8.568, allocations: 0 / 3.545 GB, free: 42.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.107e-05/8.568, allocations: 31.92 kB / 3.545 GB, free: 42.81 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001762/8.57, allocations: 1.15 MB / 3.546 GB, free: 41.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/8.57, allocations: 8.031 kB / 3.546 GB, free: 41.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007399/8.57, allocations: 182.4 kB / 3.546 GB, free: 41.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/8.572, allocations: 1.081 MB / 3.547 GB, free: 40.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/8.572, allocations: 16 kB / 3.547 GB, free: 40.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/8.572, allocations: 36 kB / 3.547 GB, free: 40.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006425/8.573, allocations: 474.3 kB / 3.548 GB, free: 39.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/8.574, allocations: 0.6765 MB / 3.548 GB, free: 39.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/8.574, allocations: 0 / 3.548 GB, free: 39.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/8.574, allocations: 8 kB / 3.548 GB, free: 39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/8.574, allocations: 12 kB / 3.548 GB, free: 38.99 MB / 0.698 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.002989/8.577, allocations: 4.473 MB / 3.553 GB, free: 34.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004604/8.577, allocations: 439.2 kB / 3.553 GB, free: 33.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/8.578, allocations: 246.7 kB / 3.553 GB, free: 33.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/8.578, allocations: 198.2 kB / 3.553 GB, free: 33.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/8.578, allocations: 263.5 kB / 3.554 GB, free: 32.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/8.578, allocations: 3.938 kB / 3.554 GB, free: 32.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0008567/8.579, allocations: 492 kB / 3.554 GB, free: 32.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/8.579, allocations: 85.09 kB / 3.554 GB, free: 32.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008287/8.58, allocations: 0.8479 MB / 3.555 GB, free: 31.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/8.58, allocations: 29.7 kB / 3.555 GB, free: 31.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/8.58, allocations: 492.1 kB / 3.556 GB, free: 30.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/8.58, allocations: 102.5 kB / 3.556 GB, free: 30.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/8.58, allocations: 0 / 3.556 GB, free: 30.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/8.58, allocations: 334 kB / 3.556 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/8.581, allocations: 180.8 kB / 3.556 GB, free: 30.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/8.581, allocations: 0.492 MB / 3.557 GB, free: 29.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/8.581, allocations: 262.3 kB / 3.557 GB, free: 29.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/8.581, allocations: 0 / 3.557 GB, free: 29.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007171/8.582, allocations: 0.6091 MB / 3.558 GB, free: 28.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003951/8.582, allocations: 2.126 MB / 3.56 GB, free: 26.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/8.582, allocations: 8 kB / 3.56 GB, free: 26.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/8.582, allocations: 8 kB / 3.56 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/8.584, allocations: 315.3 kB / 3.56 GB, free: 26.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/8.586, allocations: 6.188 MB / 3.566 GB, free: 19.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008728/8.587, allocations: 87.52 kB / 3.566 GB, free: 19.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/8.587, allocations: 24 kB / 3.566 GB, free: 19.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/8.587, allocations: 4 kB / 3.566 GB, free: 19.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005194/8.588, allocations: 411.8 kB / 3.566 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/8.588, allocations: 4 kB / 3.566 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/8.588, allocations: 12.22 kB / 3.566 GB, free: 19.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/8.588, allocations: 140 kB / 3.567 GB, free: 19.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/8.588, allocations: 23.88 kB / 3.567 GB, free: 19.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/8.589, allocations: 79.62 kB / 3.567 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/8.589, allocations: 20 kB / 3.567 GB, free: 19.03 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/8.589, allocations: 128.8 kB / 3.567 GB, free: 18.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004392/8.59, allocations: 412.3 kB / 3.567 GB, free: 18.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/8.59, allocations: 90.88 kB / 3.567 GB, free: 18.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006303/8.59, allocations: 454.6 kB / 3.568 GB, free: 17.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/8.59, allocations: 4 kB / 3.568 GB, free: 17.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/8.59, allocations: 0 / 3.568 GB, free: 17.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/8.59, allocations: 0 / 3.568 GB, free: 17.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/8.592, allocations: 1.266 MB / 3.569 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/8.592, allocations: 0 / 3.569 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/8.592, allocations: 151.7 kB / 3.569 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/8.592, allocations: 4 kB / 3.569 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/8.592, allocations: 4 kB / 3.569 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/8.594, allocations: 6.029 MB / 3.575 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/8.594, allocations: 12.2 kB / 3.575 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/8.595, allocations: 0.6278 MB / 3.576 GB, free: 9.473 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/8.595, allocations: 223.7 kB / 3.576 GB, free: 9.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/8.595, allocations: 7.953 kB / 3.576 GB, free: 9.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/8.595, allocations: 47.89 kB / 3.576 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/8.596, allocations: 35.89 kB / 3.576 GB, free: 9.145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/8.596, allocations: 12 kB / 3.576 GB, free: 9.133 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006784/8.596, allocations: 0.6611 MB / 3.577 GB, free: 8.461 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.596, allocations: 0 / 3.577 GB, free: 8.461 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001275/8.598, allocations: 451.4 kB / 3.577 GB, free: 8.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001825/8.599, allocations: 2.598 MB / 3.58 GB, free: 5.359 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002191/8.602, allocations: 0.9322 MB / 3.58 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/8.602, allocations: 448 / 3.58 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005448/8.602, allocations: 247.7 kB / 3.581 GB, free: 4.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/8.604, allocations: 393.4 kB / 3.581 GB, free: 3.781 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/8.606, allocations: 1.618 MB / 3.583 GB, free: 2.094 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/8.607, allocations: 1.198 MB / 3.584 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001662/8.609, allocations: 0.7485 MB / 3.585 GB, free: 116 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4181/9.027, allocations: 289 kB / 3.585 GB, free: 192.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.954e-06/9.027, allocations: 3.828 kB / 3.585 GB, free: 192.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06746/9.094, allocations: 30.71 MB / 3.615 GB, free: 191.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/9.094, allocations: 194 kB / 3.615 GB, free: 191.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.017/12.11, allocations: 0 / 3.615 GB, free: 191.7 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)