Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009652, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8542/0.8542, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002898, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 82.32 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.375/0.5196, allocations: 140.5 MB / 0.7244 GB, free: 8.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005742/0.5254, allocations: 3.605 MB / 0.7279 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004384/0.5259, allocations: 15.25 kB / 0.7279 GB, free: 6.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.5267, allocations: 233.1 kB / 0.7281 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.5288, allocations: 0.7022 MB / 0.7288 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.5304, allocations: 483.8 kB / 0.7293 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002298/0.5327, allocations: 1.648 MB / 0.7309 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003128/0.5358, allocations: 2.316 MB / 0.7331 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.5375, allocations: 0.8716 MB / 0.734 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.5382, allocations: 0.6038 MB / 0.7346 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.5383, allocations: 49.34 kB / 0.7346 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5393, allocations: 458.5 kB / 0.7351 GB, free: 2.848 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.5396, allocations: 303.5 kB / 0.7354 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.5399, allocations: 246 kB / 0.7356 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.541, allocations: 1.13 MB / 0.7367 GB, free: 2.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.541, allocations: 0 / 0.7367 GB, free: 2.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.541, allocations: 0 / 0.7367 GB, free: 2.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.541, allocations: 4 kB / 0.7367 GB, free: 2.34 MB / 0.545 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.002543/0.5435, allocations: 1.504 MB / 0.7382 GB, free: 1.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.5436, allocations: 7.344 kB / 0.7382 GB, free: 1.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.5443, allocations: 203.2 kB / 0.7384 GB, free: 1.332 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5459, allocations: 0.8694 MB / 0.7392 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.5459, allocations: 45.31 kB / 0.7393 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.546, allocations: 64 kB / 0.7393 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.5474, allocations: 0.9921 MB / 0.7403 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5474, allocations: 0 / 0.7403 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.5475, allocations: 24 kB / 0.7403 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.5475, allocations: 12 kB / 0.7403 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.5487, allocations: 0.8076 MB / 0.7411 GB, free: 14.82 MB / 0.5606 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.004294/0.553, allocations: 4.801 MB / 0.7458 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.5554, allocations: 4.035 MB / 0.7497 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.5554, allocations: 20.25 kB / 0.7498 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004946/0.5559, allocations: 330 kB / 0.7501 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000212/0.5562, allocations: 31.69 kB / 0.7501 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.5562, allocations: 0 / 0.7501 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004833/0.561, allocations: 1.682 MB / 0.7517 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.5611, allocations: 106.8 kB / 0.7518 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.5624, allocations: 1.181 MB / 0.753 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.5625, allocations: 37.7 kB / 0.753 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.5629, allocations: 0.5159 MB / 0.7535 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.79e-05/0.563, allocations: 118.4 kB / 0.7537 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.563, allocations: 8 kB / 0.7537 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5632, allocations: 330 kB / 0.754 GB, free: 388 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.5635, allocations: 205 kB / 0.7542 GB, free: 184 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.5641, allocations: 0.5375 MB / 0.7547 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.5645, allocations: 327 kB / 0.755 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5645, allocations: 0 / 0.755 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002122/0.5667, allocations: 1.088 MB / 0.7561 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007728/0.5674, allocations: 2.142 MB / 0.7582 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5675, allocations: 4 kB / 0.7582 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.5689, allocations: 438.1 kB / 0.7586 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.5692, allocations: 75.89 kB / 0.7587 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.5706, allocations: 1.129 MB / 0.7598 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/0.5715, allocations: 99.73 kB / 0.7599 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.5716, allocations: 31.98 kB / 0.7599 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.5716, allocations: 4 kB / 0.7599 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00138/0.573, allocations: 0.8102 MB / 0.7607 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.573, allocations: 4 kB / 0.7607 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.5736, allocations: 256.6 kB / 0.7609 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.5739, allocations: 71.89 kB / 0.761 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003791/0.5777, allocations: 3.208 MB / 0.7641 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/0.5786, allocations: 99.8 kB / 0.7642 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.5786, allocations: 24 kB / 0.7642 GB, free: 5.375 MB / 0.5762 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.0006742/0.5793, allocations: 476.3 kB / 0.7647 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.5794, allocations: 106.7 kB / 0.7648 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.5807, allocations: 0.7998 MB / 0.7656 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5807, allocations: 4 kB / 0.7656 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5807, allocations: 7.969 kB / 0.7656 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5807, allocations: 0 / 0.7656 GB, free: 3.977 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 postOpt removeSimpleEquations (simulation): time 0.002842/0.5836, allocations: 2.245 MB / 0.7678 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5836, allocations: 4 kB / 0.7678 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.5838, allocations: 43.95 kB / 0.7678 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.5843, allocations: 252.7 kB / 0.7681 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.5843, allocations: 11.98 kB / 0.7681 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008311/0.5852, allocations: 0.9306 MB / 0.769 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5852, allocations: 8 kB / 0.769 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.5864, allocations: 0.9799 MB / 0.77 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.5868, allocations: 235.7 kB / 0.7702 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5869, allocations: 8 kB / 0.7702 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.5875, allocations: 79.75 kB / 0.7703 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.5876, allocations: 35.94 kB / 0.7703 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.5877, allocations: 16 kB / 0.7703 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009791/0.5886, allocations: 0.8328 MB / 0.7711 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5887, allocations: 0 / 0.7711 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00134/0.59, allocations: 0.5071 MB / 0.7716 GB, free: 13.53 MB / 0.5919 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.0003886/0.5904, allocations: 180.3 kB / 0.7718 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.5928, allocations: 1.298 MB / 0.7731 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5928, allocations: 0 / 0.7731 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.5934, allocations: 324.1 kB / 0.7734 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.5965, allocations: 0.6468 MB / 0.774 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/0.5993, allocations: 2.229 MB / 0.7762 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/0.6, allocations: 1.236 MB / 0.7774 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000873/0.6009, allocations: 332.6 kB / 0.7777 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.601, allocations: 63.44 kB / 0.7778 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.601, allocations: 0 / 0.7778 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of Templates: time 0.03002/0.6311, allocations: 20.78 MB / 0.7981 GB, free: 2.602 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) Environment - environmentSimulation: