Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp",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.9027/0.9027, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001103/0.001103, allocations: 191.7 kB / 182.2 MB, free: 9.457 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.489/1.489, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.000909/0.0009097, allocations: 88.05 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001874/0.001874, allocations: 276 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.279e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4716, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.666/5.137, allocations: 1.831 GB / 2.589 GB, free: 228.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/5.138, allocations: 87.95 kB / 2.589 GB, free: 228.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.135/8.273, allocations: 0.9698 GB / 3.559 GB, free: 57.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/8.273, allocations: 0 / 3.559 GB, free: 57.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001072/8.273, allocations: 31.97 kB / 3.559 GB, free: 57.63 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.003482/8.277, allocations: 1.24 MB / 3.56 GB, free: 56.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/8.277, allocations: 8.031 kB / 3.56 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/8.278, allocations: 190.4 kB / 3.56 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/8.281, allocations: 1.409 MB / 3.562 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/8.281, allocations: 16 kB / 3.562 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/8.281, allocations: 36 kB / 3.562 GB, free: 54.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006465/8.281, allocations: 494.3 kB / 3.562 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/8.282, allocations: 0.6884 MB / 3.563 GB, free: 53.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/8.282, allocations: 7.938 kB / 3.563 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/8.282, allocations: 3.984 kB / 3.563 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/8.282, allocations: 20 kB / 3.563 GB, free: 53.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.003006/8.285, allocations: 4.089 MB / 3.567 GB, free: 49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/8.286, allocations: 433.6 kB / 3.567 GB, free: 48.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/8.286, allocations: 319.3 kB / 3.568 GB, free: 48.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002577/8.286, allocations: 202.2 kB / 3.568 GB, free: 48.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/8.287, allocations: 282.8 kB / 3.568 GB, free: 47.72 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002332/8.287, allocations: 12.02 kB / 3.568 GB, free: 47.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/8.287, allocations: 4 kB / 3.568 GB, free: 47.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0008316/8.288, allocations: 0.5085 MB / 3.569 GB, free: 47.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/8.288, allocations: 85.09 kB / 3.569 GB, free: 47.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/8.289, allocations: 0.8482 MB / 3.569 GB, free: 46.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/8.289, allocations: 33.7 kB / 3.569 GB, free: 46.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/8.289, allocations: 488.2 kB / 3.57 GB, free: 45.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/8.289, allocations: 110.4 kB / 3.57 GB, free: 45.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/8.289, allocations: 0 / 3.57 GB, free: 45.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/8.289, allocations: 326 kB / 3.57 GB, free: 45.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/8.289, allocations: 197 kB / 3.571 GB, free: 45.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/8.29, allocations: 0.5022 MB / 3.571 GB, free: 44.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/8.29, allocations: 274.1 kB / 3.571 GB, free: 44.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/8.29, allocations: 0 / 3.571 GB, free: 44.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007158/8.291, allocations: 0.6299 MB / 3.572 GB, free: 43.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005308/8.291, allocations: 2.136 MB / 3.574 GB, free: 41.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/8.291, allocations: 4 kB / 3.574 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/8.291, allocations: 12 kB / 3.574 GB, free: 41.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/8.293, allocations: 323.3 kB / 3.574 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/8.295, allocations: 6.192 MB / 3.58 GB, free: 34.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009673/8.296, allocations: 83.8 kB / 3.58 GB, free: 34.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/8.296, allocations: 31.97 kB / 3.58 GB, free: 34.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/8.296, allocations: 5.359 kB / 3.58 GB, free: 34.35 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000547/8.297, allocations: 451.8 kB / 3.581 GB, free: 33.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/8.297, allocations: 8 kB / 3.581 GB, free: 33.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/8.297, allocations: 11.98 kB / 3.581 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/8.297, allocations: 148.2 kB / 3.581 GB, free: 33.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/8.298, allocations: 15.98 kB / 3.581 GB, free: 33.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/8.298, allocations: 71.77 kB / 3.581 GB, free: 33.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/8.298, allocations: 31.98 kB / 3.581 GB, free: 33.63 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 (55): * Single equations (assignments): 44 * 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.0001376/8.298, allocations: 116.9 kB / 3.581 GB, free: 33.51 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004984/8.299, allocations: 440.3 kB / 3.582 GB, free: 33.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/8.299, allocations: 98.77 kB / 3.582 GB, free: 32.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006617/8.3, allocations: 475.5 kB / 3.582 GB, free: 32.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/8.3, allocations: 4 kB / 3.582 GB, free: 32.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/8.3, allocations: 0 / 3.582 GB, free: 32.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/8.3, allocations: 7.969 kB / 3.582 GB, free: 32.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/8.301, allocations: 1.34 MB / 3.584 GB, free: 31.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/8.301, allocations: 0 / 3.584 GB, free: 31.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/8.302, allocations: 159.6 kB / 3.584 GB, free: 30.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/8.302, allocations: 4 kB / 3.584 GB, free: 30.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/8.302, allocations: 7.953 kB / 3.584 GB, free: 30.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/8.304, allocations: 6.037 MB / 3.59 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/8.304, allocations: 4.031 kB / 3.59 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/8.304, allocations: 0.6617 MB / 3.59 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/8.304, allocations: 215.9 kB / 3.59 GB, free: 23.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.966e-05/8.305, allocations: 7.984 kB / 3.59 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/8.305, allocations: 67.77 kB / 3.591 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/8.305, allocations: 31.91 kB / 3.591 GB, free: 23.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/8.305, allocations: 12 kB / 3.591 GB, free: 23.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006795/8.306, allocations: 0.6652 MB / 3.591 GB, free: 22.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/8.306, allocations: 0 / 3.591 GB, free: 22.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001514/8.308, allocations: 475.3 kB / 3.592 GB, free: 22.41 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 (33): * Single equations (assignments): 21 * 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.002258/8.31, allocations: 2.699 MB / 3.594 GB, free: 19.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002351/8.312, allocations: 1.008 MB / 3.595 GB, free: 18.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/8.312, allocations: 0 / 3.595 GB, free: 18.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/8.313, allocations: 281.4 kB / 3.596 GB, free: 18.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/8.316, allocations: 0.5347 MB / 3.596 GB, free: 17.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/8.318, allocations: 1.626 MB / 3.598 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/8.319, allocations: 1.199 MB / 3.599 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00174/8.32, allocations: 0.7293 MB / 3.6 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/8.321, allocations: 311.3 kB / 3.6 GB, free: 13.84 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/8.321, allocations: 0 / 3.6 GB, free: 13.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4909/8.812, allocations: 33 MB / 3.632 GB, free: 184.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/8.812, allocations: 190.2 kB / 3.632 GB, free: 184.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/12.01, allocations: 0 / 3.632 GB, free: 184.7 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)