Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.8317/0.8317, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001128/0.001128, allocations: 176.8 kB / 182.2 MB, free: 9.43 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.507/1.507, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009224/0.0009224, allocations: 84.11 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.00191/0.00191, allocations: 267.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.012e-05, allocations: 4 kB / 0.6766 GB, free: 12.72 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.448, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.013/5.461, allocations: 1.829 GB / 2.586 GB, free: 189 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/5.461, allocations: 95.98 kB / 2.586 GB, free: 188.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.93/9.391, allocations: 1.069 GB / 3.655 GB, free: 181.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/9.391, allocations: 0 / 3.655 GB, free: 181.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001198/9.391, allocations: 33.56 kB / 3.655 GB, free: 181.3 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004217/9.395, allocations: 1.278 MB / 3.656 GB, free: 180.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/9.395, allocations: 7.531 kB / 3.656 GB, free: 180.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/9.397, allocations: 201.9 kB / 3.656 GB, free: 180.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/9.4, allocations: 1.433 MB / 3.658 GB, free: 180.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/9.4, allocations: 17.09 kB / 3.658 GB, free: 180.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.254e-05/9.4, allocations: 38.41 kB / 3.658 GB, free: 180.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001019/9.401, allocations: 0.7042 MB / 3.659 GB, free: 180.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/9.402, allocations: 0.8426 MB / 3.659 GB, free: 180.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/9.402, allocations: 3.938 kB / 3.659 GB, free: 180.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/9.402, allocations: 6.25 kB / 3.659 GB, free: 180.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/9.402, allocations: 23.11 kB / 3.659 GB, free: 180.1 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.004807/9.407, allocations: 4.595 MB / 3.664 GB, free: 177 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/9.409, allocations: 4.075 MB / 3.668 GB, free: 172.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004098/9.41, allocations: 344.8 kB / 3.668 GB, free: 172.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/9.41, allocations: 200.5 kB / 3.668 GB, free: 172.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/9.411, allocations: 289.6 kB / 3.669 GB, free: 172.5 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004852/9.411, allocations: 19.98 kB / 3.669 GB, free: 172.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.826e-06/9.411, allocations: 3.344 kB / 3.669 GB, free: 172.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001745/9.413, allocations: 0.8176 MB / 3.67 GB, free: 172.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/9.413, allocations: 80.98 kB / 3.67 GB, free: 172.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/9.414, allocations: 0.8974 MB / 3.671 GB, free: 172.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/9.414, allocations: 29.39 kB / 3.671 GB, free: 172.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/9.414, allocations: 0.5219 MB / 3.671 GB, free: 171.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/9.415, allocations: 125.9 kB / 3.671 GB, free: 171.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/9.415, allocations: 3.5 kB / 3.671 GB, free: 171.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/9.415, allocations: 327.3 kB / 3.671 GB, free: 171.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/9.415, allocations: 205 kB / 3.672 GB, free: 171.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/9.415, allocations: 0.5358 MB / 3.672 GB, free: 171.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/9.416, allocations: 297.3 kB / 3.672 GB, free: 171.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/9.416, allocations: 0 / 3.672 GB, free: 171.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001569/9.417, allocations: 0.9694 MB / 3.673 GB, free: 171 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005614/9.418, allocations: 2.215 MB / 3.676 GB, free: 168.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/9.418, allocations: 3.875 kB / 3.676 GB, free: 168.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/9.418, allocations: 253.7 kB / 3.676 GB, free: 168.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/9.419, allocations: 95.48 kB / 3.676 GB, free: 168.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/9.42, allocations: 1.754 MB / 3.678 GB, free: 167.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/9.422, allocations: 91.05 kB / 3.678 GB, free: 167.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.976e-05/9.422, allocations: 31.72 kB / 3.678 GB, free: 167.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/9.422, allocations: 6.469 kB / 3.678 GB, free: 167.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/9.423, allocations: 0.6615 MB / 3.678 GB, free: 167.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/9.423, allocations: 10.94 kB / 3.678 GB, free: 167.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/9.423, allocations: 197.6 kB / 3.679 GB, free: 167.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/9.424, allocations: 81.66 kB / 3.679 GB, free: 167.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/9.427, allocations: 2.798 MB / 3.681 GB, free: 166 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/9.428, allocations: 91.5 kB / 3.682 GB, free: 166 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/9.428, allocations: 21.69 kB / 3.682 GB, free: 166 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002015/9.428, allocations: 128.1 kB / 3.682 GB, free: 165.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009571/9.429, allocations: 0.6814 MB / 3.682 GB, free: 165.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/9.429, allocations: 99.53 kB / 3.682 GB, free: 165.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/9.43, allocations: 0.7192 MB / 3.683 GB, free: 165.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/9.43, allocations: 3.469 kB / 3.683 GB, free: 165.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/9.43, allocations: 7.875 kB / 3.683 GB, free: 165.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/9.43, allocations: 4.422 kB / 3.683 GB, free: 165.3 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 postOpt removeSimpleEquations (simulation): time 0.002511/9.433, allocations: 2.014 MB / 3.685 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/9.433, allocations: 0 / 3.685 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/9.433, allocations: 66.97 kB / 3.685 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/9.433, allocations: 151.6 kB / 3.685 GB, free: 164.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/9.433, allocations: 16.92 kB / 3.685 GB, free: 164.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000845/9.434, allocations: 1.482 MB / 3.687 GB, free: 162.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/9.434, allocations: 3.688 kB / 3.687 GB, free: 162.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009193/9.435, allocations: 0.9125 MB / 3.688 GB, free: 162.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/9.436, allocations: 226.3 kB / 3.688 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/9.436, allocations: 0 / 3.688 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/9.436, allocations: 75.97 kB / 3.688 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/9.437, allocations: 35.52 kB / 3.688 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/9.437, allocations: 15.08 kB / 3.688 GB, free: 162.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000794/9.437, allocations: 0.7005 MB / 3.689 GB, free: 161.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/9.437, allocations: 3.031 kB / 3.689 GB, free: 161.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002037/9.439, allocations: 0.5632 MB / 3.689 GB, free: 161.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00285/9.442, allocations: 3.003 MB / 3.692 GB, free: 160.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002407/9.445, allocations: 1.209 MB / 3.693 GB, free: 159.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/9.445, allocations: 0 / 3.693 GB, free: 159.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000516/9.445, allocations: 286 kB / 3.694 GB, free: 159.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/9.448, allocations: 0.581 MB / 3.694 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/9.452, allocations: 1.713 MB / 3.696 GB, free: 158.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006674/9.452, allocations: 1.239 MB / 3.697 GB, free: 157.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001872/9.454, allocations: 0.7106 MB / 3.698 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/9.455, allocations: 333.4 kB / 3.698 GB, free: 157 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/9.455, allocations: 0 / 3.698 GB, free: 157 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07207/9.527, allocations: 36.31 MB / 3.734 GB, free: 122.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/9.527, allocations: 205.9 kB / 3.734 GB, free: 122 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/12.84, allocations: 1.719 kB / 3.734 GB, free: 122 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)