Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7169/0.7169, allocations: 127.4 MB / 134.9 MB, free: 3.707 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001094, allocations: 180.8 kB / 164.6 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 399.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008512/0.0008514, allocations: 82.67 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.697e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1731, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.516/5.689, allocations: 2.138 GB / 2.76 GB, free: 49.49 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.689, allocations: 93.19 kB / 2.76 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.761/12.45, allocations: 1.743 GB / 4.504 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/12.45, allocations: 2.906 kB / 4.504 GB, free: 166.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001568/12.45, allocations: 34.7 kB / 4.504 GB, free: 166.1 MB / 0.6355 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.004633/12.46, allocations: 1.235 MB / 4.505 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/12.46, allocations: 9.094 kB / 4.505 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/12.46, allocations: 182.9 kB / 4.505 GB, free: 165.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004499/12.46, allocations: 1.406 MB / 4.506 GB, free: 165.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/12.46, allocations: 20.38 kB / 4.506 GB, free: 165.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/12.46, allocations: 35.81 kB / 4.506 GB, free: 165.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001047/12.46, allocations: 0.4916 MB / 4.507 GB, free: 165.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009899/12.46, allocations: 0.6911 MB / 4.508 GB, free: 165 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/12.46, allocations: 5.203 kB / 4.508 GB, free: 165 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/12.46, allocations: 2.25 kB / 4.508 GB, free: 165 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/12.46, allocations: 13.28 kB / 4.508 GB, free: 165 MB / 0.6355 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.004251/12.47, allocations: 3.92 MB / 4.511 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/12.47, allocations: 482.2 kB / 4.512 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/12.47, allocations: 334.9 kB / 4.512 GB, free: 162.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/12.47, allocations: 197.5 kB / 4.512 GB, free: 162.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/12.47, allocations: 291 kB / 4.513 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004814/12.47, allocations: 15.34 kB / 4.513 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/12.47, allocations: 0 / 4.513 GB, free: 162.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.01753/12.49, allocations: 4.33 MB / 4.517 GB, free: 162 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/12.49, allocations: 88.7 kB / 4.517 GB, free: 161.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/12.49, allocations: 0.845 MB / 4.518 GB, free: 161.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/12.49, allocations: 29.58 kB / 4.518 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/12.49, allocations: 0.4923 MB / 4.518 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/12.49, allocations: 105.1 kB / 4.518 GB, free: 161.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/12.49, allocations: 4.719 kB / 4.518 GB, free: 161.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/12.49, allocations: 332 kB / 4.519 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/12.49, allocations: 355.5 kB / 4.519 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/12.49, allocations: 0.6536 MB / 4.52 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/12.49, allocations: 402.1 kB / 4.52 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/12.49, allocations: 3.656 kB / 4.52 GB, free: 160.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.01529/12.51, allocations: 4.116 MB / 4.524 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004477/12.51, allocations: 2.039 MB / 4.526 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/12.51, allocations: 3.844 kB / 4.526 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/12.51, allocations: 0.6606 MB / 4.527 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/12.51, allocations: 69.36 kB / 4.527 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/12.51, allocations: 1.925 MB / 4.529 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/12.51, allocations: 199.8 kB / 4.529 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/12.51, allocations: 29.33 kB / 4.529 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/12.51, allocations: 3.969 kB / 4.529 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00102/12.51, allocations: 0.6403 MB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/12.51, allocations: 3.844 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/12.51, allocations: 231.3 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/12.52, allocations: 64.97 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/12.52, allocations: 2.892 MB / 4.533 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/12.52, allocations: 77.5 kB / 4.533 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/12.52, allocations: 25.88 kB / 4.533 GB, free: 156.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/12.52, allocations: 122.8 kB / 4.533 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01281/12.53, allocations: 3.487 MB / 4.536 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/12.53, allocations: 97 kB / 4.536 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/12.53, allocations: 112.6 kB / 4.536 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/12.53, allocations: 3.625 kB / 4.536 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/12.53, allocations: 0 / 4.536 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/12.53, allocations: 0 / 4.536 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/12.55, allocations: 4.599 MB / 4.541 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/12.55, allocations: 3.562 kB / 4.541 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/12.55, allocations: 32.91 kB / 4.541 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009142/12.55, allocations: 0.6207 MB / 4.542 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/12.55, allocations: 14.84 kB / 4.542 GB, free: 156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02359/12.57, allocations: 9.721 MB / 4.551 GB, free: 154.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/12.57, allocations: 1.562 kB / 4.551 GB, free: 154.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/12.59, allocations: 3.706 MB / 4.555 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/12.59, allocations: 174.1 kB / 4.555 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/12.59, allocations: 5.969 kB / 4.555 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/12.59, allocations: 186.7 kB / 4.555 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/12.59, allocations: 43.31 kB / 4.555 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/12.59, allocations: 25.03 kB / 4.555 GB, free: 154.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000828/12.59, allocations: 0.6626 MB / 4.556 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/12.59, allocations: 0 / 4.556 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002155/12.59, allocations: 0.6116 MB / 4.556 GB, free: 154.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01446/12.61, allocations: 5.588 MB / 4.562 GB, free: 152.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002556/12.61, allocations: 1.468 MB / 4.563 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/12.61, allocations: 0 / 4.563 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/12.61, allocations: 0.6667 MB / 4.564 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003008/12.61, allocations: 0.5449 MB / 4.564 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/12.62, allocations: 1.821 MB / 4.566 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/12.62, allocations: 1.209 MB / 4.567 GB, free: 151.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001682/12.62, allocations: 0.6799 MB / 4.568 GB, free: 151 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/12.62, allocations: 305.4 kB / 4.568 GB, free: 151 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/12.62, allocations: 0 / 4.568 GB, free: 151 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07079/12.69, allocations: 45.12 MB / 4.612 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/12.69, allocations: 198.4 kB / 4.613 GB, free: 108 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.408/16.1, allocations: 4 kB / 4.613 GB, free: 108 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)