Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007916/0.0007913, allocations: 82.77 kB / 16.01 MB, free: 92 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008952/0.0008949, allocations: 184.3 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7363/0.7363, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003536, allocations: 9.219 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4901, allocations: 79.28 MB / 0.5707 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.2047/0.6948, allocations: 163.4 MB / 0.7303 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004161/0.6991, allocations: 2.192 MB / 0.7324 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.6997, allocations: 15.88 kB / 0.7324 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008251/0.7005, allocations: 198.9 kB / 0.7326 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.7024, allocations: 0.6302 MB / 0.7332 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.7038, allocations: 401.4 kB / 0.7336 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004143/0.7079, allocations: 3.802 MB / 0.7373 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.7113, allocations: 2.352 MB / 0.7396 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.7145, allocations: 1.109 MB / 0.7407 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.7162, allocations: 0.8713 MB / 0.7416 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.7165, allocations: 48 kB / 0.7416 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.7186, allocations: 0.8925 MB / 0.7425 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.7191, allocations: 330.7 kB / 0.7428 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.7203, allocations: 0.6001 MB / 0.7434 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.7223, allocations: 1.581 MB / 0.7449 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.7223, allocations: 0 / 0.7449 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.624e-06/0.7223, allocations: 0 / 0.7449 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.996e-05/0.7223, allocations: 0 / 0.7449 GB, free: 9.707 MB / 0.5762 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.002463/0.7248, allocations: 1.48 MB / 0.7464 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7248, allocations: 12.03 kB / 0.7464 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/0.7256, allocations: 198.3 kB / 0.7466 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.7269, allocations: 0.8696 MB / 0.7474 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.7269, allocations: 53.3 kB / 0.7475 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.7271, allocations: 67.94 kB / 0.7475 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.7286, allocations: 0.9948 MB / 0.7485 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.7286, allocations: 3.938 kB / 0.7485 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.7287, allocations: 28 kB / 0.7485 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.7287, allocations: 12 kB / 0.7485 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.73, allocations: 0.8154 MB / 0.7493 GB, free: 4.988 MB / 0.5762 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.004726/0.7348, allocations: 4.809 MB / 0.754 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.7376, allocations: 4.022 MB / 0.758 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.7381, allocations: 353.7 kB / 0.7583 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.7384, allocations: 194.5 kB / 0.7585 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005593/0.739, allocations: 326 kB / 0.7588 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003439/0.7393, allocations: 27.69 kB / 0.7588 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.7394, allocations: 4 kB / 0.7588 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.00476/0.7441, allocations: 1.622 MB / 0.7604 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.7442, allocations: 81.11 kB / 0.7605 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.7458, allocations: 1.173 MB / 0.7616 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.7459, allocations: 41.7 kB / 0.7617 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.7464, allocations: 0.5199 MB / 0.7622 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.7465, allocations: 130.2 kB / 0.7623 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.7466, allocations: 49.58 kB / 0.7624 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7468, allocations: 330 kB / 0.7627 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.7472, allocations: 236.9 kB / 0.7629 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.7479, allocations: 0.5605 MB / 0.7634 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.7491, allocations: 0.6861 MB / 0.7641 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.7491, allocations: 4 kB / 0.7641 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002672/0.7518, allocations: 1.12 MB / 0.7652 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/0.752, allocations: 275.1 kB / 0.7655 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.7521, allocations: 4 kB / 0.7655 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.7534, allocations: 358.3 kB / 0.7658 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.7538, allocations: 103.9 kB / 0.7659 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.755, allocations: 1.005 MB / 0.7669 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.7561, allocations: 87.95 kB / 0.767 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/0.7562, allocations: 28 kB / 0.767 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.7562, allocations: 0 / 0.767 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001572/0.7578, allocations: 0.7863 MB / 0.7678 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.7578, allocations: 4 kB / 0.7678 GB, free: 460 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.7584, allocations: 231.1 kB / 0.768 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.7587, allocations: 103.8 kB / 0.7681 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/0.7622, allocations: 2.917 MB / 0.7709 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.7633, allocations: 91.81 kB / 0.771 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.7634, allocations: 28 kB / 0.7711 GB, free: 12.95 MB / 0.6075 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006509/0.764, allocations: 472.7 kB / 0.7715 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.7642, allocations: 110.6 kB / 0.7716 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.7657, allocations: 0.7894 MB / 0.7724 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.7657, allocations: 4 kB / 0.7724 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7657, allocations: 4 kB / 0.7724 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7657, allocations: 3.984 kB / 0.7724 GB, free: 11.56 MB / 0.6075 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.003038/0.7687, allocations: 2.118 MB / 0.7745 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.7688, allocations: 4.031 kB / 0.7745 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.7691, allocations: 75.88 kB / 0.7745 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.7695, allocations: 184.6 kB / 0.7747 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.7696, allocations: 15.94 kB / 0.7747 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007288/0.7703, allocations: 0.8567 MB / 0.7756 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7703, allocations: 0 / 0.7756 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.7717, allocations: 0.8711 MB / 0.7764 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004162/0.7722, allocations: 231.7 kB / 0.7766 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.7723, allocations: 8 kB / 0.7767 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/0.773, allocations: 67.86 kB / 0.7767 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7731, allocations: 43.83 kB / 0.7768 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.7731, allocations: 12 kB / 0.7768 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001116/0.7743, allocations: 0.8327 MB / 0.7776 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7743, allocations: 3.938 kB / 0.7776 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001494/0.7758, allocations: 0.4992 MB / 0.7781 GB, free: 5.512 MB / 0.6075 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005523/0.7763, allocations: 185.4 kB / 0.7783 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002461/0.7788, allocations: 1.158 MB / 0.7794 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7788, allocations: 0 / 0.7794 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.7793, allocations: 256.9 kB / 0.7796 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/0.7831, allocations: 0.6464 MB / 0.7803 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.7865, allocations: 2.208 MB / 0.7824 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008772/0.7874, allocations: 1.213 MB / 0.7836 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001092/0.7885, allocations: 388.6 kB / 0.784 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.7886, allocations: 67.44 kB / 0.784 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.7886, allocations: 4 kB / 0.784 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.03912/0.8277, allocations: 21.35 MB / 0.8049 GB, free: 10.19 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)