Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.8028/0.8028, 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.0009558/0.0009558, allocations: 183.7 kB / 182.2 MB, free: 9.461 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.461/1.461, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0009454/0.0009457, allocations: 99.33 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 274.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.385e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3796, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.462/4.842, allocations: 1.829 GB / 2.586 GB, free: 231.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/4.842, allocations: 88.69 kB / 2.586 GB, free: 231.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.101/7.943, allocations: 0.9578 GB / 3.544 GB, free: 72.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/7.943, allocations: 0 / 3.544 GB, free: 72.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.88e-05/7.943, allocations: 31.98 kB / 3.544 GB, free: 72.29 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003116/7.946, allocations: 1.232 MB / 3.545 GB, free: 71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/7.946, allocations: 8.031 kB / 3.545 GB, free: 70.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/7.947, allocations: 182.5 kB / 3.546 GB, free: 70.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/7.95, allocations: 1.382 MB / 3.547 GB, free: 69.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/7.95, allocations: 19.95 kB / 3.547 GB, free: 69.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/7.95, allocations: 40 kB / 3.547 GB, free: 69.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006506/7.951, allocations: 498.3 kB / 3.548 GB, free: 68.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/7.951, allocations: 0.7039 MB / 3.548 GB, free: 68.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/7.951, allocations: 0 / 3.548 GB, free: 68.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/7.951, allocations: 11.92 kB / 3.548 GB, free: 68.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/7.951, allocations: 12 kB / 3.548 GB, free: 68.02 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.002702/7.954, allocations: 4.094 MB / 3.552 GB, free: 63.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/7.955, allocations: 460.8 kB / 3.553 GB, free: 63.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/7.955, allocations: 332.4 kB / 3.553 GB, free: 62.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/7.955, allocations: 202.2 kB / 3.553 GB, free: 62.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/7.955, allocations: 278.9 kB / 3.553 GB, free: 62.36 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001823/7.956, allocations: 16.02 kB / 3.553 GB, free: 62.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.594e-06/7.956, allocations: 96 / 3.553 GB, free: 62.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001514/7.957, allocations: 0.8144 MB / 3.554 GB, free: 61.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/7.957, allocations: 85.11 kB / 3.554 GB, free: 61.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/7.958, allocations: 0.8518 MB / 3.555 GB, free: 60.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/7.958, allocations: 25.7 kB / 3.555 GB, free: 60.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/7.958, allocations: 488.2 kB / 3.556 GB, free: 60.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/7.958, allocations: 114.4 kB / 3.556 GB, free: 59.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/7.958, allocations: 0 / 3.556 GB, free: 59.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/7.958, allocations: 326 kB / 3.556 GB, free: 59.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/7.959, allocations: 197 kB / 3.556 GB, free: 59.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/7.959, allocations: 0.5096 MB / 3.557 GB, free: 58.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/7.959, allocations: 286 kB / 3.557 GB, free: 58.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/7.959, allocations: 0 / 3.557 GB, free: 58.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001362/7.961, allocations: 0.9509 MB / 3.558 GB, free: 57.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003924/7.961, allocations: 2.131 MB / 3.56 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/7.961, allocations: 4 kB / 3.56 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/7.962, allocations: 266.9 kB / 3.56 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/7.962, allocations: 63.91 kB / 3.56 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/7.963, allocations: 1.208 MB / 3.562 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/7.964, allocations: 79.75 kB / 3.562 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/7.964, allocations: 27.98 kB / 3.562 GB, free: 53.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/7.964, allocations: 4 kB / 3.562 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009752/7.965, allocations: 0.6489 MB / 3.562 GB, free: 52.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/7.965, allocations: 11.88 kB / 3.562 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/7.966, allocations: 215.4 kB / 3.563 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/7.966, allocations: 67.89 kB / 3.563 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002835/7.969, allocations: 2.902 MB / 3.565 GB, free: 49.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/7.969, allocations: 79.81 kB / 3.565 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/7.969, allocations: 27.98 kB / 3.566 GB, free: 49.48 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_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 (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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001407/7.97, allocations: 121.8 kB / 3.566 GB, free: 49.35 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008296/7.97, allocations: 0.6724 MB / 3.566 GB, free: 48.67 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/7.97, allocations: 90.88 kB / 3.566 GB, free: 48.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/7.972, allocations: 0.7102 MB / 3.567 GB, free: 47.85 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/7.972, allocations: 8 kB / 3.567 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/7.972, allocations: 3.938 kB / 3.567 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/7.972, allocations: 0 / 3.567 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/7.973, allocations: 1.594 MB / 3.569 GB, free: 46.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/7.973, allocations: 4 kB / 3.569 GB, free: 46.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/7.973, allocations: 27.92 kB / 3.569 GB, free: 46.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003257/7.974, allocations: 231.5 kB / 3.569 GB, free: 45.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/7.974, allocations: 7.984 kB / 3.569 GB, free: 45.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000779/7.975, allocations: 1.052 MB / 3.57 GB, free: 44.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/7.975, allocations: 0 / 3.57 GB, free: 44.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/7.976, allocations: 0.9077 MB / 3.571 GB, free: 43.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/7.976, allocations: 223.8 kB / 3.571 GB, free: 43.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/7.976, allocations: 4 kB / 3.571 GB, free: 43.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/7.976, allocations: 63.77 kB / 3.571 GB, free: 43.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/7.977, allocations: 39.84 kB / 3.571 GB, free: 43.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/7.977, allocations: 8 kB / 3.571 GB, free: 43.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006188/7.977, allocations: 0.665 MB / 3.572 GB, free: 42.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/7.977, allocations: 0 / 3.572 GB, free: 42.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001352/7.979, allocations: 0.515 MB / 3.572 GB, free: 42.3 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_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 (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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/7.981, allocations: 2.759 MB / 3.575 GB, free: 39.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001823/7.982, allocations: 1.174 MB / 3.576 GB, free: 38.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/7.982, allocations: 0 / 3.576 GB, free: 38.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004077/7.983, allocations: 260.2 kB / 3.576 GB, free: 38.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/7.985, allocations: 0.5335 MB / 3.577 GB, free: 37.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/7.988, allocations: 1.619 MB / 3.578 GB, free: 35.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/7.988, allocations: 1.206 MB / 3.58 GB, free: 34.56 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001524/7.99, allocations: 0.6708 MB / 3.58 GB, free: 33.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/7.99, allocations: 303.1 kB / 3.581 GB, free: 33.59 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/7.99, allocations: 4 kB / 3.581 GB, free: 33.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05716/8.047, allocations: 33.39 MB / 3.613 GB, free: 376 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/8.047, allocations: 204.5 kB / 3.613 GB, free: 168 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/11.05, allocations: 1.094 kB / 3.613 GB, free: 168 kB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)