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.6931/0.6931, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 182 kB / 187.3 MB, free: 11.89 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.207/1.207, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0007865/0.0007865, allocations: 89.78 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 274.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.809e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3295, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.317/3.646, allocations: 1.829 GB / 2.594 GB, free: 177 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/3.647, allocations: 97.48 kB / 2.594 GB, free: 177 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.519/6.166, allocations: 0.9684 GB / 3.562 GB, free: 10.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/6.166, allocations: 3.938 kB / 3.562 GB, free: 10.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.742e-05/6.166, allocations: 31.98 kB / 3.562 GB, free: 10.57 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.001437/6.167, allocations: 1.134 MB / 3.564 GB, free: 9.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/6.167, allocations: 16.03 kB / 3.564 GB, free: 9.363 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.256e-05/6.167, allocations: 98.45 kB / 3.564 GB, free: 9.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006912/6.168, allocations: 182.5 kB / 3.564 GB, free: 9.078 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/6.17, allocations: 1.069 MB / 3.565 GB, free: 7.953 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/6.17, allocations: 49 kB / 3.565 GB, free: 7.906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-05/6.17, allocations: 63.94 kB / 3.565 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007532/6.171, allocations: 0.7338 MB / 3.566 GB, free: 7.031 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/6.171, allocations: 7.938 kB / 3.566 GB, free: 7.023 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/6.171, allocations: 20 kB / 3.566 GB, free: 7.004 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/6.171, allocations: 23.98 kB / 3.566 GB, free: 6.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/6.171, allocations: 470.6 kB / 3.566 GB, free: 6.52 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.002535/6.174, allocations: 4.594 MB / 3.571 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/6.174, allocations: 386.5 kB / 3.571 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/6.175, allocations: 220.8 kB / 3.571 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/6.175, allocations: 198.2 kB / 3.571 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/6.175, allocations: 271.3 kB / 3.572 GB, free: 428 kB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/6.175, allocations: 0 / 3.572 GB, free: 428 kB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.3105/6.486, allocations: 453.8 kB / 3.572 GB, free: 194 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/6.486, allocations: 86.55 kB / 3.572 GB, free: 193.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/6.487, allocations: 0.9724 MB / 3.573 GB, free: 193.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.274e-05/6.487, allocations: 38.66 kB / 3.573 GB, free: 193.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/6.488, allocations: 490.5 kB / 3.574 GB, free: 193.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/6.488, allocations: 113.2 kB / 3.574 GB, free: 193.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/6.488, allocations: 10.03 kB / 3.574 GB, free: 193.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/6.488, allocations: 324.3 kB / 3.574 GB, free: 193.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/6.488, allocations: 163.6 kB / 3.574 GB, free: 193.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/6.489, allocations: 0.4903 MB / 3.575 GB, free: 192.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/6.489, allocations: 277.5 kB / 3.575 GB, free: 192.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/6.489, allocations: 2.062 kB / 3.575 GB, free: 192.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009026/6.49, allocations: 0.6321 MB / 3.576 GB, free: 192.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000312/6.49, allocations: 2.136 MB / 3.578 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/6.49, allocations: 8.312 kB / 3.578 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/6.49, allocations: 8.156 kB / 3.578 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/6.492, allocations: 297.6 kB / 3.578 GB, free: 190.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/6.494, allocations: 6.086 MB / 3.584 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007821/6.495, allocations: 111 kB / 3.584 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.38e-05/6.495, allocations: 25.55 kB / 3.584 GB, free: 184.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/6.495, allocations: 4.797 kB / 3.584 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007993/6.496, allocations: 0.4923 MB / 3.585 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/6.496, allocations: 4.938 kB / 3.585 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/6.496, allocations: 9.141 kB / 3.585 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/6.496, allocations: 148.8 kB / 3.585 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/6.496, allocations: 11.95 kB / 3.585 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006086/6.497, allocations: 102.3 kB / 3.585 GB, free: 184.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/6.497, allocations: 23.72 kB / 3.585 GB, free: 184.7 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.0001214/6.497, allocations: 140.7 kB / 3.585 GB, free: 184.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/6.497, allocations: 99.05 kB / 3.585 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/6.498, allocations: 473.4 kB / 3.586 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/6.498, allocations: 4.781 kB / 3.586 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/6.498, allocations: 3.938 kB / 3.586 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/6.498, allocations: 1.547 kB / 3.586 GB, free: 184.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/6.5, allocations: 1.353 MB / 3.587 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/6.5, allocations: 2.719 kB / 3.587 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/6.5, allocations: 149.1 kB / 3.587 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/6.5, allocations: 11.64 kB / 3.587 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/6.5, allocations: 18 kB / 3.587 GB, free: 184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/6.502, allocations: 6.008 MB / 3.593 GB, free: 178.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/6.502, allocations: 2.156 kB / 3.593 GB, free: 178.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/6.503, allocations: 0.6597 MB / 3.594 GB, free: 177.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/6.503, allocations: 215.6 kB / 3.594 GB, free: 177.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/6.503, allocations: 13.75 kB / 3.594 GB, free: 177.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/6.503, allocations: 58.23 kB / 3.594 GB, free: 177.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/6.504, allocations: 34.98 kB / 3.594 GB, free: 177.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/6.504, allocations: 9.297 kB / 3.594 GB, free: 177.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007276/6.504, allocations: 0.7764 MB / 3.595 GB, free: 177.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/6.504, allocations: 0 / 3.595 GB, free: 177.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001159/6.505, allocations: 479.5 kB / 3.595 GB, free: 177.5 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.001674/6.507, allocations: 2.483 MB / 3.597 GB, free: 176.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001972/6.509, allocations: 0.953 MB / 3.598 GB, free: 176 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/6.509, allocations: 0 / 3.598 GB, free: 176 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006198/6.51, allocations: 263.7 kB / 3.599 GB, free: 176 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/6.511, allocations: 457.5 kB / 3.599 GB, free: 175.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/6.513, allocations: 1.666 MB / 3.601 GB, free: 175.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/6.514, allocations: 1.201 MB / 3.602 GB, free: 174.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001541/6.515, allocations: 0.7868 MB / 3.603 GB, free: 174.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/6.516, allocations: 294.9 kB / 3.603 GB, free: 174.8 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/6.516, allocations: 3.625 kB / 3.603 GB, free: 174.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/6.567, allocations: 43.87 MB / 3.646 GB, free: 173.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/6.567, allocations: 232.4 kB / 3.646 GB, free: 173.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/9.686, allocations: 0 / 3.646 GB, free: 173.3 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)