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.6896/0.6896, 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.001121/0.001121, allocations: 188.7 kB / 187.3 MB, free: 11.89 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.2/1.2, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0008279/0.0008279, allocations: 96.88 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 271.8 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.916e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3242, allocations: 82.78 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.328/3.652, allocations: 1.829 GB / 2.594 GB, free: 219.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/3.652, allocations: 97.66 kB / 2.594 GB, free: 219.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.531/6.183, allocations: 0.968 GB / 3.562 GB, free: 40.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/6.183, allocations: 4 kB / 3.562 GB, free: 40.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001009/6.183, allocations: 31.98 kB / 3.562 GB, free: 40.62 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.003174/6.186, allocations: 1.236 MB / 3.563 GB, free: 39.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/6.186, allocations: 8.031 kB / 3.563 GB, free: 39.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/6.186, allocations: 98.52 kB / 3.563 GB, free: 39.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/6.187, allocations: 183.9 kB / 3.563 GB, free: 39.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/6.19, allocations: 1.385 MB / 3.565 GB, free: 37.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/6.19, allocations: 45 kB / 3.565 GB, free: 37.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/6.19, allocations: 64 kB / 3.565 GB, free: 37.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000824/6.191, allocations: 0.7611 MB / 3.566 GB, free: 36.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/6.191, allocations: 0 / 3.566 GB, free: 36.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/6.191, allocations: 31.98 kB / 3.566 GB, free: 36.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/6.191, allocations: 12 kB / 3.566 GB, free: 36.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/6.192, allocations: 0.4946 MB / 3.566 GB, free: 36.11 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.002786/6.195, allocations: 4.21 MB / 3.57 GB, free: 31.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/6.195, allocations: 408.8 kB / 3.571 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/6.195, allocations: 313.2 kB / 3.571 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/6.196, allocations: 206.2 kB / 3.571 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/6.196, allocations: 287.2 kB / 3.571 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002468/6.196, allocations: 27.69 kB / 3.571 GB, free: 30.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/6.196, allocations: 0 / 3.571 GB, free: 30.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001108/6.197, allocations: 0.7291 MB / 3.572 GB, free: 29.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/6.197, allocations: 81.11 kB / 3.572 GB, free: 29.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009131/6.198, allocations: 1.009 MB / 3.573 GB, free: 28.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/6.198, allocations: 37.7 kB / 3.573 GB, free: 28.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/6.199, allocations: 484.9 kB / 3.574 GB, free: 27.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/6.199, allocations: 118.4 kB / 3.574 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/6.199, allocations: 8 kB / 3.574 GB, free: 27.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/6.199, allocations: 329.9 kB / 3.574 GB, free: 27.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/6.199, allocations: 181 kB / 3.574 GB, free: 27.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/6.199, allocations: 0.5061 MB / 3.575 GB, free: 26.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/6.2, allocations: 300 kB / 3.575 GB, free: 26.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/6.2, allocations: 0 / 3.575 GB, free: 26.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001081/6.201, allocations: 0.9214 MB / 3.576 GB, free: 25.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003036/6.201, allocations: 2.128 MB / 3.578 GB, free: 23.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/6.201, allocations: 8 kB / 3.578 GB, free: 23.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/6.202, allocations: 307 kB / 3.578 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/6.202, allocations: 71.84 kB / 3.578 GB, free: 22.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/6.203, allocations: 1.1 MB / 3.58 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/6.204, allocations: 95.75 kB / 3.58 GB, free: 21.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/6.204, allocations: 24 kB / 3.58 GB, free: 21.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/6.204, allocations: 4 kB / 3.58 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001019/6.205, allocations: 0.744 MB / 3.58 GB, free: 20.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/6.205, allocations: 8 kB / 3.58 GB, free: 20.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/6.205, allocations: 226.9 kB / 3.581 GB, free: 20.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/6.205, allocations: 79.98 kB / 3.581 GB, free: 20.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/6.208, allocations: 3.001 MB / 3.584 GB, free: 17.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/6.209, allocations: 95.81 kB / 3.584 GB, free: 17.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/6.209, allocations: 28 kB / 3.584 GB, free: 17.21 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.000112/6.209, allocations: 149.9 kB / 3.584 GB, free: 17.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.928e-05/6.209, allocations: 98.78 kB / 3.584 GB, free: 16.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009639/6.21, allocations: 0.746 MB / 3.585 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/6.21, allocations: 4 kB / 3.585 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/6.21, allocations: 0 / 3.585 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/6.21, allocations: 8 kB / 3.585 GB, free: 16.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/6.212, allocations: 1.68 MB / 3.586 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/6.212, allocations: 0 / 3.586 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/6.212, allocations: 31.92 kB / 3.586 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/6.213, allocations: 279.1 kB / 3.587 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/6.213, allocations: 8 kB / 3.587 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007461/6.214, allocations: 1.034 MB / 3.588 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/6.214, allocations: 4.125 kB / 3.588 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/6.214, allocations: 0.9497 MB / 3.589 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/6.215, allocations: 223.8 kB / 3.589 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/6.215, allocations: 11.98 kB / 3.589 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/6.215, allocations: 67.77 kB / 3.589 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/6.216, allocations: 35.92 kB / 3.589 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/6.216, allocations: 11.98 kB / 3.589 GB, free: 11.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008023/6.216, allocations: 0.7972 MB / 3.59 GB, free: 10.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/6.216, allocations: 0 / 3.59 GB, free: 10.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001332/6.218, allocations: 0.5348 MB / 3.59 GB, free: 10.32 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.001869/6.22, allocations: 2.677 MB / 3.593 GB, free: 7.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00187/6.222, allocations: 1.202 MB / 3.594 GB, free: 6.332 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/6.222, allocations: 4 kB / 3.594 GB, free: 6.328 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004291/6.222, allocations: 276.1 kB / 3.594 GB, free: 6.059 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/6.225, allocations: 0.6224 MB / 3.595 GB, free: 5.441 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/6.227, allocations: 1.69 MB / 3.597 GB, free: 3.684 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/6.227, allocations: 1.203 MB / 3.598 GB, free: 2.453 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001571/6.229, allocations: 0.7145 MB / 3.598 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/6.229, allocations: 303.3 kB / 3.599 GB, free: 1.438 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/6.229, allocations: 0 / 3.599 GB, free: 1.438 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3691/6.598, allocations: 47.77 MB / 3.645 GB, free: 186 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/6.598, allocations: 259.6 kB / 3.646 GB, free: 185.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/9.765, allocations: 2.031 kB / 3.646 GB, free: 185.7 MB / 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)