Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.8301/0.8301, allocations: 143.3 MB / 158.3 MB, free: 5.836 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.001197/0.001197, allocations: 187.7 kB / 191.5 MB, free: 5.793 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.66/1.66, allocations: 223.2 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.0009514/0.0009518, allocations: 95.81 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001848, allocations: 271.9 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005036, allocations: 11.31 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 82.79 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.146/5.357, allocations: 1.83 GB / 2.603 GB, free: 248.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/5.357, allocations: 99.78 kB / 2.604 GB, free: 248.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.233/11.59, allocations: 1.804 GB / 4.407 GB, free: 125.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.046e-06/11.59, allocations: 0 / 4.407 GB, free: 125.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001238/11.59, allocations: 31.98 kB / 4.407 GB, free: 125.1 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005122/11.6, allocations: 1.512 MB / 4.409 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/11.6, allocations: 8.031 kB / 4.409 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/11.6, allocations: 94.45 kB / 4.409 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009972/11.6, allocations: 189.4 kB / 4.409 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/11.6, allocations: 1.393 MB / 4.41 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/11.6, allocations: 45 kB / 4.41 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/11.6, allocations: 60 kB / 4.41 GB, free: 121.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/11.6, allocations: 0.7965 MB / 4.411 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/11.6, allocations: 0 / 4.411 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/11.6, allocations: 27.94 kB / 4.411 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/11.6, allocations: 12 kB / 4.411 GB, free: 120.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/11.6, allocations: 0.5423 MB / 4.412 GB, free: 120.2 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.00392/11.61, allocations: 4.205 MB / 4.416 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006488/11.61, allocations: 455.9 kB / 4.416 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/11.61, allocations: 194.2 kB / 4.417 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/11.61, allocations: 319.6 kB / 4.417 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004281/11.61, allocations: 31.59 kB / 4.417 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/11.61, allocations: 0 / 4.417 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.003248/11.61, allocations: 1.383 MB / 4.418 GB, free: 113.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/11.61, allocations: 81.11 kB / 4.418 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/11.61, allocations: 1.02 MB / 4.419 GB, free: 112.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/11.61, allocations: 33.81 kB / 4.419 GB, free: 112.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003519/11.61, allocations: 492.8 kB / 4.42 GB, free: 111.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/11.61, allocations: 114.4 kB / 4.42 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/11.61, allocations: 8 kB / 4.42 GB, free: 111.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.285e-05/11.61, allocations: 330 kB / 4.42 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/11.61, allocations: 204.9 kB / 4.42 GB, free: 111 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/11.61, allocations: 0.5256 MB / 4.421 GB, free: 110.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/11.61, allocations: 314.8 kB / 4.421 GB, free: 110 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/11.61, allocations: 0 / 4.421 GB, free: 110 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001434/11.62, allocations: 0.9794 MB / 4.422 GB, free: 109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005669/11.62, allocations: 2.13 MB / 4.424 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/11.62, allocations: 11.94 kB / 4.424 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/11.62, allocations: 252.5 kB / 4.425 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/11.62, allocations: 67.89 kB / 4.425 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008911/11.62, allocations: 1.027 MB / 4.426 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/11.62, allocations: 95.81 kB / 4.426 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/11.62, allocations: 27.98 kB / 4.426 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/11.62, allocations: 4.625 kB / 4.426 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/11.62, allocations: 0.7726 MB / 4.426 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/11.62, allocations: 4 kB / 4.426 GB, free: 104.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/11.62, allocations: 249.2 kB / 4.427 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/11.62, allocations: 64.72 kB / 4.427 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/11.63, allocations: 3.06 MB / 4.43 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/11.63, allocations: 91.77 kB / 4.43 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/11.63, allocations: 28 kB / 4.43 GB, free: 100.8 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0008495/11.63, allocations: 464.7 kB / 4.43 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/11.63, allocations: 102.8 kB / 4.43 GB, free: 100.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/11.63, allocations: 0.7847 MB / 4.431 GB, free: 99.44 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/11.63, allocations: 7.953 kB / 4.431 GB, free: 99.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/11.63, allocations: 7.984 kB / 4.431 GB, free: 99.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/11.63, allocations: 0 / 4.431 GB, free: 99.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/11.63, allocations: 1.722 MB / 4.433 GB, free: 97.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/11.63, allocations: 3.938 kB / 4.433 GB, free: 97.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/11.63, allocations: 31.88 kB / 4.433 GB, free: 97.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/11.63, allocations: 248.8 kB / 4.433 GB, free: 97.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/11.63, allocations: 8.219 kB / 4.433 GB, free: 97.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000783/11.63, allocations: 1.003 MB / 4.434 GB, free: 96.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/11.63, allocations: 4.031 kB / 4.434 GB, free: 96.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/11.63, allocations: 0.9887 MB / 4.435 GB, free: 95.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/11.63, allocations: 223.8 kB / 4.435 GB, free: 95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/11.63, allocations: 11.98 kB / 4.435 GB, free: 94.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/11.64, allocations: 63.78 kB / 4.435 GB, free: 94.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/11.64, allocations: 35.91 kB / 4.435 GB, free: 94.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/11.64, allocations: 19.98 kB / 4.435 GB, free: 94.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009209/11.64, allocations: 0.8002 MB / 4.436 GB, free: 94.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/11.64, allocations: 0 / 4.436 GB, free: 94.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001826/11.64, allocations: 0.5387 MB / 4.437 GB, free: 93.52 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00266/11.64, allocations: 2.724 MB / 4.439 GB, free: 90.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002095/11.64, allocations: 1.098 MB / 4.44 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/11.64, allocations: 0 / 4.44 GB, free: 89.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/11.64, allocations: 251.7 kB / 4.441 GB, free: 89.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/11.65, allocations: 0.6248 MB / 4.441 GB, free: 88.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/11.66, allocations: 10.05 MB / 4.451 GB, free: 78.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/11.66, allocations: 1.205 MB / 4.452 GB, free: 77.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001242/11.66, allocations: 312.4 kB / 4.453 GB, free: 76.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/11.66, allocations: 323.3 kB / 4.453 GB, free: 76.48 MB / 0.7136 GB Notification: Performance of SimCode: time 1.382e-06/11.66, allocations: 0 / 4.453 GB, free: 76.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06926/11.73, allocations: 44.39 MB / 4.496 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/11.73, allocations: 282.4 kB / 4.497 GB, free: 32.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.743/15.47, allocations: 9.141 kB / 4.497 GB, free: 32.2 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)