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.6862/0.6862, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.00108/0.00108, allocations: 177.9 kB / 187.3 MB, free: 11.86 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.206/1.206, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.0008423/0.0008422, allocations: 102 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 279.9 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.693e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3293, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.285/3.615, allocations: 1.832 GB / 2.596 GB, free: 215.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/3.615, allocations: 93.31 kB / 2.596 GB, free: 215.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.548/6.163, allocations: 0.9806 GB / 3.577 GB, free: 24.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.412e-06/6.163, allocations: 0 / 3.577 GB, free: 24.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.98e-05/6.163, allocations: 31.98 kB / 3.577 GB, free: 24.44 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001662/6.165, allocations: 1.154 MB / 3.578 GB, free: 23.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/6.165, allocations: 8.031 kB / 3.578 GB, free: 23.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.475e-05/6.165, allocations: 94.52 kB / 3.578 GB, free: 23.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/6.166, allocations: 195.6 kB / 3.578 GB, free: 22.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/6.168, allocations: 1.1 MB / 3.58 GB, free: 21.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/6.168, allocations: 45 kB / 3.58 GB, free: 21.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.055e-05/6.168, allocations: 56 kB / 3.58 GB, free: 21.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000755/6.169, allocations: 0.7456 MB / 3.58 GB, free: 20.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/6.169, allocations: 4 kB / 3.58 GB, free: 20.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/6.169, allocations: 20 kB / 3.58 GB, free: 20.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/6.169, allocations: 20 kB / 3.58 GB, free: 20.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/6.169, allocations: 474.6 kB / 3.581 GB, free: 20.34 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.002615/6.172, allocations: 4.59 MB / 3.585 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/6.172, allocations: 378.5 kB / 3.586 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/6.173, allocations: 220.3 kB / 3.586 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/6.173, allocations: 198.2 kB / 3.586 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/6.173, allocations: 275.2 kB / 3.586 GB, free: 14.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/6.173, allocations: 0 / 3.586 GB, free: 14.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001007/6.174, allocations: 0.6644 MB / 3.587 GB, free: 13.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/6.174, allocations: 89.09 kB / 3.587 GB, free: 13.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/6.175, allocations: 0.9805 MB / 3.588 GB, free: 12.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/6.175, allocations: 37.7 kB / 3.588 GB, free: 12.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/6.175, allocations: 492.5 kB / 3.589 GB, free: 11.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/6.175, allocations: 114.5 kB / 3.589 GB, free: 11.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/6.175, allocations: 15.94 kB / 3.589 GB, free: 11.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.707e-05/6.175, allocations: 318 kB / 3.589 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/6.176, allocations: 160.8 kB / 3.589 GB, free: 11.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/6.176, allocations: 496.7 kB / 3.59 GB, free: 10.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/6.176, allocations: 278.8 kB / 3.59 GB, free: 10.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/6.176, allocations: 0 / 3.59 GB, free: 10.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009678/6.177, allocations: 0.8578 MB / 3.591 GB, free: 9.566 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002845/6.177, allocations: 2.124 MB / 3.593 GB, free: 7.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/6.177, allocations: 11.98 kB / 3.593 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000476/6.178, allocations: 271.3 kB / 3.593 GB, free: 7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/6.178, allocations: 63.91 kB / 3.593 GB, free: 6.938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009933/6.179, allocations: 1.069 MB / 3.594 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/6.18, allocations: 107.4 kB / 3.594 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/6.18, allocations: 24 kB / 3.594 GB, free: 5.715 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/6.18, allocations: 5.25 kB / 3.594 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008805/6.181, allocations: 0.6737 MB / 3.595 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/6.181, allocations: 4 kB / 3.595 GB, free: 5.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/6.181, allocations: 229.3 kB / 3.595 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/6.181, allocations: 59.84 kB / 3.595 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/6.184, allocations: 2.97 MB / 3.598 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/6.184, allocations: 95.53 kB / 3.598 GB, free: 1.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/6.184, allocations: 27.94 kB / 3.598 GB, free: 1.504 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 (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 9.301e-05/6.184, allocations: 137.1 kB / 3.598 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/6.185, allocations: 98.78 kB / 3.599 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008635/6.185, allocations: 0.6786 MB / 3.599 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/6.185, allocations: 8 kB / 3.599 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/6.185, allocations: 3.984 kB / 3.599 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/6.185, allocations: 0 / 3.599 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3148/6.5, allocations: 1.566 MB / 3.601 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/6.5, allocations: 1.562 kB / 3.601 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/6.5, allocations: 26.97 kB / 3.601 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/6.501, allocations: 247.3 kB / 3.601 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/6.501, allocations: 13.89 kB / 3.601 GB, free: 186.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009294/6.502, allocations: 1.024 MB / 3.602 GB, free: 186.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/6.502, allocations: 2.438 kB / 3.602 GB, free: 186.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/6.503, allocations: 0.8728 MB / 3.603 GB, free: 185.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/6.503, allocations: 220.6 kB / 3.603 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/6.504, allocations: 8.891 kB / 3.603 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/6.504, allocations: 60.23 kB / 3.603 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/6.504, allocations: 34.77 kB / 3.603 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/6.504, allocations: 13.16 kB / 3.603 GB, free: 185.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009846/6.505, allocations: 0.7713 MB / 3.604 GB, free: 185.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/6.505, allocations: 0.75 kB / 3.604 GB, free: 185.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001539/6.507, allocations: 0.5123 MB / 3.604 GB, free: 185.6 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 (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.002355/6.509, allocations: 2.683 MB / 3.607 GB, free: 184.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001986/6.511, allocations: 1.162 MB / 3.608 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/6.511, allocations: 0 / 3.608 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/6.512, allocations: 253.1 kB / 3.608 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/6.513, allocations: 458.6 kB / 3.609 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/6.515, allocations: 1.657 MB / 3.61 GB, free: 183.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/6.516, allocations: 1.204 MB / 3.612 GB, free: 182.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001379/6.517, allocations: 0.7296 MB / 3.612 GB, free: 182.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/6.517, allocations: 291.2 kB / 3.613 GB, free: 182.7 MB / 0.698 GB Notification: Performance of SimCode: time 3.81e-07/6.517, allocations: 0 / 3.613 GB, free: 182.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05344/6.571, allocations: 46 MB / 3.658 GB, free: 181.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/6.571, allocations: 235.5 kB / 3.658 GB, free: 181.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/9.563, allocations: 7.344 kB / 3.658 GB, free: 181.3 MB / 0.698 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)