Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.6 MB / 307.5 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 185 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009251/0.000925, allocations: 89.64 kB / 0.7509 GB, free: 63.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004342, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3232, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.666, allocations: 2.067 GB / 3.056 GB, free: 115.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/5.667, allocations: 99.5 kB / 3.056 GB, free: 115 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.305/9.972, allocations: 1.081 GB / 4.137 GB, free: 123.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.925e-06/9.972, allocations: 0 / 4.137 GB, free: 123.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002045/9.972, allocations: 39.92 kB / 4.137 GB, free: 123.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.006589/9.979, allocations: 1.575 MB / 4.139 GB, free: 121.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/9.979, allocations: 12.03 kB / 4.139 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004755/9.979, allocations: 97.95 kB / 4.139 GB, free: 121.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/9.981, allocations: 198.4 kB / 4.139 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/9.985, allocations: 1.468 MB / 4.14 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.037e-05/9.986, allocations: 49.31 kB / 4.14 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/9.986, allocations: 63.98 kB / 4.141 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/9.987, allocations: 0.9498 MB / 4.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/9.987, allocations: 0 / 4.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.201e-05/9.987, allocations: 24 kB / 4.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/9.988, allocations: 12 kB / 4.142 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/9.989, allocations: 0.7617 MB / 4.142 GB, free: 118 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004896/9.994, allocations: 4.704 MB / 4.147 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/9.996, allocations: 4.009 MB / 4.151 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/9.996, allocations: 196.5 kB / 4.151 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000499/9.996, allocations: 333.4 kB / 4.151 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005599/9.997, allocations: 31.69 kB / 4.151 GB, free: 107.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.377e-06/9.997, allocations: 0 / 4.151 GB, free: 107.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.003635/10, allocations: 1.43 MB / 4.153 GB, free: 106.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/10, allocations: 89.11 kB / 4.153 GB, free: 106 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/10, allocations: 1.038 MB / 4.154 GB, free: 105 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/10, allocations: 41.7 kB / 4.154 GB, free: 104.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/10, allocations: 0.5204 MB / 4.154 GB, free: 104.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/10, allocations: 118.3 kB / 4.154 GB, free: 104.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/10, allocations: 8 kB / 4.154 GB, free: 104.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/10, allocations: 334 kB / 4.155 GB, free: 103.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/10, allocations: 213 kB / 4.155 GB, free: 103.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/10, allocations: 0.5486 MB / 4.156 GB, free: 103 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/10, allocations: 332.1 kB / 4.156 GB, free: 102.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/10, allocations: 0 / 4.156 GB, free: 102.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001605/10.01, allocations: 1.013 MB / 4.157 GB, free: 101.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006205/10.01, allocations: 2.233 MB / 4.159 GB, free: 99.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/10.01, allocations: 4 kB / 4.159 GB, free: 99.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006646/10.01, allocations: 331.3 kB / 4.159 GB, free: 98.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/10.01, allocations: 79.83 kB / 4.159 GB, free: 98.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/10.01, allocations: 1.127 MB / 4.161 GB, free: 97.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/10.01, allocations: 103.6 kB / 4.161 GB, free: 97.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/10.01, allocations: 27.98 kB / 4.161 GB, free: 97.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/10.01, allocations: 4.625 kB / 4.161 GB, free: 97.58 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001436/10.01, allocations: 0.8181 MB / 4.161 GB, free: 96.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/10.01, allocations: 12.03 kB / 4.161 GB, free: 96.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005323/10.01, allocations: 251.7 kB / 4.162 GB, free: 96.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/10.01, allocations: 75.89 kB / 4.162 GB, free: 96.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003619/10.02, allocations: 3.16 MB / 4.165 GB, free: 93.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/10.02, allocations: 99.8 kB / 4.165 GB, free: 93.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/10.02, allocations: 32 kB / 4.165 GB, free: 93 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007287/10.02, allocations: 473 kB / 4.165 GB, free: 92.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002672/10.02, allocations: 110.7 kB / 4.166 GB, free: 92.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/10.02, allocations: 0.8357 MB / 4.166 GB, free: 91.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/10.02, allocations: 4 kB / 4.166 GB, free: 91.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/10.02, allocations: 0 / 4.166 GB, free: 91.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/10.02, allocations: 0 / 4.166 GB, free: 91.56 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003315/10.02, allocations: 2.2 MB / 4.168 GB, free: 89.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/10.02, allocations: 0 / 4.168 GB, free: 89.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/10.02, allocations: 48.09 kB / 4.169 GB, free: 89.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004585/10.02, allocations: 241.9 kB / 4.169 GB, free: 88.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/10.02, allocations: 16 kB / 4.169 GB, free: 88.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007687/10.03, allocations: 0.9228 MB / 4.17 GB, free: 87.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/10.03, allocations: 11.98 kB / 4.17 GB, free: 87.96 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/10.03, allocations: 1.002 MB / 4.171 GB, free: 86.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/10.03, allocations: 235.7 kB / 4.171 GB, free: 86.62 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/10.03, allocations: 8 kB / 4.171 GB, free: 86.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/10.03, allocations: 83.75 kB / 4.171 GB, free: 86.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/10.03, allocations: 43.84 kB / 4.171 GB, free: 86.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/10.03, allocations: 11.98 kB / 4.171 GB, free: 86.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001162/10.03, allocations: 0.825 MB / 4.172 GB, free: 85.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/10.03, allocations: 0 / 4.172 GB, free: 85.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002444/10.03, allocations: 0.6128 MB / 4.172 GB, free: 85.04 MB / 0.948 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003209/10.04, allocations: 2.998 MB / 4.175 GB, free: 81.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002687/10.04, allocations: 1.291 MB / 4.177 GB, free: 80.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/10.04, allocations: 4.125 kB / 4.177 GB, free: 80.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006489/10.04, allocations: 328.5 kB / 4.177 GB, free: 80.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/10.04, allocations: 0.6546 MB / 4.178 GB, free: 79.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/10.06, allocations: 10.61 MB / 4.188 GB, free: 68.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/10.06, allocations: 1.232 MB / 4.189 GB, free: 67.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001286/10.06, allocations: 372.6 kB / 4.19 GB, free: 67.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/10.06, allocations: 359.3 kB / 4.19 GB, free: 66.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.126e-05/10.06, allocations: 4 kB / 4.19 GB, free: 66.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07258/10.13, allocations: 48.18 MB / 4.237 GB, free: 18.74 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/10.13, allocations: 266.3 kB / 4.237 GB, free: 18.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.704/13.83, allocations: 0 / 4.237 GB, free: 18.38 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)