Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.619/2.619, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001589/0.001589, allocations: 176 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 97.52 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004987, allocations: 19.92 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.8684/1.088, allocations: 140.5 MB / 1.115 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007762/1.095, allocations: 3.582 MB / 1.119 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/1.096, allocations: 14.91 kB / 1.119 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/1.097, allocations: 235.7 kB / 1.119 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/1.101, allocations: 0.6856 MB / 1.12 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/1.104, allocations: 486.2 kB / 1.12 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003604/1.107, allocations: 1.653 MB / 1.122 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004639/1.112, allocations: 2.318 MB / 1.124 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/1.115, allocations: 0.8565 MB / 1.125 GB, free: 120 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/1.116, allocations: 0.6017 MB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/1.116, allocations: 48.83 kB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/1.119, allocations: 458.2 kB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007272/1.119, allocations: 310.2 kB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007176/1.12, allocations: 250.7 kB / 1.127 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/1.122, allocations: 1.13 MB / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.123, allocations: 0 / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.447e-06/1.123, allocations: 0 / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.582e-05/1.123, allocations: 0 / 1.128 GB, free: 15.82 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005165/1.128, allocations: 1.505 MB / 1.129 GB, free: 14.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.128, allocations: 8.531 kB / 1.129 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/1.129, allocations: 205.1 kB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/1.132, allocations: 0.8703 MB / 1.13 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/1.132, allocations: 48.53 kB / 1.13 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/1.133, allocations: 62.84 kB / 1.13 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/1.135, allocations: 0.9885 MB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/1.135, allocations: 2.688 kB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.135, allocations: 23.16 kB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/1.135, allocations: 14.84 kB / 1.131 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/1.138, allocations: 0.8079 MB / 1.132 GB, free: 14.29 MB / 0.698 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.008344/1.146, allocations: 4.795 MB / 1.137 GB, free: 10.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/1.15, allocations: 4.034 MB / 1.141 GB, free: 6.203 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/1.15, allocations: 19.8 kB / 1.141 GB, free: 6.199 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/1.151, allocations: 337.7 kB / 1.141 GB, free: 6.043 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006688/1.152, allocations: 36.03 kB / 1.141 GB, free: 6.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 5.08e-06/1.152, allocations: 0 / 1.141 GB, free: 6.023 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.009988/1.162, allocations: 1.69 MB / 1.143 GB, free: 5.293 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/1.162, allocations: 111.1 kB / 1.143 GB, free: 5.164 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/1.165, allocations: 1.182 MB / 1.144 GB, free: 4.793 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001764/1.165, allocations: 36.2 kB / 1.144 GB, free: 4.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006188/1.166, allocations: 0.518 MB / 1.145 GB, free: 4.539 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/1.166, allocations: 120.2 kB / 1.145 GB, free: 4.453 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/1.166, allocations: 11.5 kB / 1.145 GB, free: 4.453 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.166, allocations: 326.2 kB / 1.145 GB, free: 4.141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/1.167, allocations: 213.3 kB / 1.145 GB, free: 4.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.168, allocations: 0.5362 MB / 1.146 GB, free: 3.648 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/1.169, allocations: 314.3 kB / 1.146 GB, free: 3.551 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.169, allocations: 2.344 kB / 1.146 GB, free: 3.551 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004335/1.173, allocations: 1.073 MB / 1.147 GB, free: 3.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009499/1.174, allocations: 2.153 MB / 1.149 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.174, allocations: 4.875 kB / 1.149 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/1.177, allocations: 442.6 kB / 1.15 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/1.178, allocations: 79.12 kB / 1.15 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/1.18, allocations: 1.13 MB / 1.151 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.182, allocations: 97.86 kB / 1.151 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.975e-05/1.182, allocations: 30.11 kB / 1.151 GB, free: 4 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.182, allocations: 4.562 kB / 1.151 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002744/1.185, allocations: 0.8179 MB / 1.152 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.185, allocations: 6.219 kB / 1.152 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/1.186, allocations: 252.8 kB / 1.152 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/1.187, allocations: 74.81 kB / 1.152 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/1.194, allocations: 3.196 MB / 1.155 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/1.196, allocations: 95.47 kB / 1.155 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/1.196, allocations: 30.27 kB / 1.155 GB, free: 13.79 MB / 0.7136 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 () * Number of clocked 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.001018/1.197, allocations: 474 kB / 1.156 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/1.197, allocations: 114.3 kB / 1.156 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/1.2, allocations: 0.8015 MB / 1.157 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.2, allocations: 3.344 kB / 1.157 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.2, allocations: 1.125 kB / 1.157 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/1.2, allocations: 5.141 kB / 1.157 GB, free: 13.18 MB / 0.7136 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.005556/1.205, allocations: 2.239 MB / 1.159 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.205, allocations: 3.281 kB / 1.159 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/1.206, allocations: 42.78 kB / 1.159 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009284/1.207, allocations: 249.8 kB / 1.159 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/1.207, allocations: 11.25 kB / 1.159 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/1.208, allocations: 0.9357 MB / 1.16 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.208, allocations: 2.969 kB / 1.16 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/1.211, allocations: 0.9906 MB / 1.161 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008173/1.212, allocations: 237.9 kB / 1.161 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.212, allocations: 8.922 kB / 1.161 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.214, allocations: 84.36 kB / 1.161 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/1.214, allocations: 33.89 kB / 1.161 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/1.214, allocations: 13.06 kB / 1.161 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001885/1.216, allocations: 0.8288 MB / 1.162 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.216, allocations: 0 / 1.162 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002422/1.218, allocations: 0.5103 MB / 1.163 GB, free: 10.1 MB / 0.7136 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.0006202/1.219, allocations: 178.4 kB / 1.163 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004533/1.223, allocations: 1.297 MB / 1.164 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.223, allocations: 0 / 1.164 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.225, allocations: 323.5 kB / 1.164 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006147/1.231, allocations: 0.6493 MB / 1.165 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/1.236, allocations: 2.223 MB / 1.167 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.237, allocations: 1.235 MB / 1.168 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001878/1.239, allocations: 329.4 kB / 1.169 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/1.239, allocations: 68.48 kB / 1.169 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of SimCode: time 1.253e-06/1.239, allocations: 0 / 1.169 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of Templates: time 0.05902/1.298, allocations: 20.81 MB / 1.189 GB, free: 8.68 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)