Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.8425/0.8425, allocations: 143.3 MB / 158.3 MB, free: 5.773 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.001493/0.001493, allocations: 177.1 kB / 191.5 MB, free: 5.766 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.601/1.601, allocations: 223.1 MB / 447.7 MB, free: 4.84 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.001016/0.001016, allocations: 88.33 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.002111/0.002111, allocations: 269 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004689, allocations: 18.53 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.187/5.398, allocations: 1.832 GB / 2.606 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/5.398, allocations: 92.84 kB / 2.606 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.29/8.688, allocations: 0.9813 GB / 3.587 GB, free: 66.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.904e-06/8.688, allocations: 0 / 3.587 GB, free: 66.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001141/8.688, allocations: 31.98 kB / 3.587 GB, free: 66.59 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002915/8.691, allocations: 1.442 MB / 3.589 GB, free: 65.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/8.691, allocations: 12.03 kB / 3.589 GB, free: 65.08 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/8.691, allocations: 94.52 kB / 3.589 GB, free: 64.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/8.692, allocations: 186.5 kB / 3.589 GB, free: 64.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002252/8.694, allocations: 1.12 MB / 3.59 GB, free: 63.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/8.694, allocations: 45 kB / 3.59 GB, free: 63.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/8.694, allocations: 60 kB / 3.59 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/8.695, allocations: 0.7615 MB / 3.591 GB, free: 62.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/8.695, allocations: 7.938 kB / 3.591 GB, free: 62.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/8.695, allocations: 16 kB / 3.591 GB, free: 62.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/8.695, allocations: 16 kB / 3.591 GB, free: 62.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/8.696, allocations: 0.5188 MB / 3.591 GB, free: 62.12 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.003409/8.699, allocations: 4.587 MB / 3.596 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/8.7, allocations: 422.9 kB / 3.596 GB, free: 56.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/8.7, allocations: 190.2 kB / 3.597 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/8.701, allocations: 303.4 kB / 3.597 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/8.701, allocations: 0 / 3.597 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.002983/8.704, allocations: 1.309 MB / 3.598 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/8.704, allocations: 81.11 kB / 3.598 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/8.705, allocations: 0.9837 MB / 3.599 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/8.705, allocations: 41.7 kB / 3.599 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/8.705, allocations: 496.5 kB / 3.6 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/8.705, allocations: 110.5 kB / 3.6 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/8.705, allocations: 8 kB / 3.6 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/8.705, allocations: 322 kB / 3.6 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/8.706, allocations: 180.7 kB / 3.6 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/8.706, allocations: 0.5128 MB / 3.601 GB, free: 51.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/8.706, allocations: 287.5 kB / 3.601 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/8.706, allocations: 0 / 3.601 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001174/8.708, allocations: 0.9121 MB / 3.602 GB, free: 50.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004228/8.708, allocations: 2.131 MB / 3.604 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/8.708, allocations: 11.98 kB / 3.604 GB, free: 48.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004992/8.709, allocations: 260.3 kB / 3.604 GB, free: 48.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/8.709, allocations: 67.89 kB / 3.604 GB, free: 48.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/8.71, allocations: 1.087 MB / 3.605 GB, free: 46.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/8.711, allocations: 103.4 kB / 3.606 GB, free: 46.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/8.711, allocations: 24 kB / 3.606 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/8.711, allocations: 4 kB / 3.606 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/8.712, allocations: 0.7135 MB / 3.606 GB, free: 46.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/8.712, allocations: 4.062 kB / 3.606 GB, free: 46.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/8.712, allocations: 220.6 kB / 3.606 GB, free: 45.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/8.713, allocations: 71.84 kB / 3.607 GB, free: 45.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/8.715, allocations: 3.058 MB / 3.609 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/8.716, allocations: 95.61 kB / 3.61 GB, free: 42.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/8.716, allocations: 24 kB / 3.61 GB, free: 42.53 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005742/8.717, allocations: 468.7 kB / 3.61 GB, free: 42.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/8.717, allocations: 98.78 kB / 3.61 GB, free: 41.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/8.718, allocations: 0.714 MB / 3.611 GB, free: 41.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/8.718, allocations: 4 kB / 3.611 GB, free: 41.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/8.718, allocations: 4 kB / 3.611 GB, free: 41.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/8.718, allocations: 7.984 kB / 3.611 GB, free: 41.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/8.72, allocations: 1.607 MB / 3.612 GB, free: 39.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/8.72, allocations: 0 / 3.612 GB, free: 39.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/8.72, allocations: 23.98 kB / 3.612 GB, free: 39.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/8.721, allocations: 250.9 kB / 3.613 GB, free: 39.26 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/8.721, allocations: 16.22 kB / 3.613 GB, free: 39.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007413/8.721, allocations: 1.031 MB / 3.614 GB, free: 38.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/8.721, allocations: 4 kB / 3.614 GB, free: 38.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/8.722, allocations: 0.9122 MB / 3.615 GB, free: 37.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/8.723, allocations: 223.8 kB / 3.615 GB, free: 36.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/8.723, allocations: 8 kB / 3.615 GB, free: 36.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/8.723, allocations: 59.81 kB / 3.615 GB, free: 36.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/8.724, allocations: 27.95 kB / 3.615 GB, free: 36.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/8.724, allocations: 12 kB / 3.615 GB, free: 36.85 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008511/8.724, allocations: 0.7876 MB / 3.616 GB, free: 36.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/8.724, allocations: 0 / 3.616 GB, free: 36.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001576/8.726, allocations: 0.5152 MB / 3.616 GB, free: 35.54 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: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002378/8.728, allocations: 2.733 MB / 3.619 GB, free: 32.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002197/8.731, allocations: 1.175 MB / 3.62 GB, free: 31.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/8.731, allocations: 4.062 kB / 3.62 GB, free: 31.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005161/8.731, allocations: 288 kB / 3.62 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/8.733, allocations: 456.9 kB / 3.621 GB, free: 30.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/8.743, allocations: 9.837 MB / 3.63 GB, free: 20.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/8.743, allocations: 1.204 MB / 3.632 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009997/8.744, allocations: 319.8 kB / 3.632 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/8.745, allocations: 307.3 kB / 3.632 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.863e-06/8.745, allocations: 0 / 3.632 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.443/9.188, allocations: 42.15 MB / 3.673 GB, free: 186.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/9.188, allocations: 263.6 kB / 3.674 GB, free: 186.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/12.72, allocations: 9.75 kB / 3.674 GB, free: 186.5 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)