Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001086/0.001086, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7889/0.7889, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.495 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4042, allocations: 78.7 MB / 0.5718 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1722/0.5765, allocations: 161.6 MB / 0.7296 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005059/0.5816, allocations: 3.637 MB / 0.7332 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.582, allocations: 11.94 kB / 0.7332 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000579/0.5826, allocations: 166.9 kB / 0.7333 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.5841, allocations: 0.525 MB / 0.7339 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.5854, allocations: 431.2 kB / 0.7343 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00294/0.5883, allocations: 2.555 MB / 0.7368 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.5911, allocations: 2.415 MB / 0.7391 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.5929, allocations: 1.036 MB / 0.7401 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007756/0.5937, allocations: 0.7273 MB / 0.7408 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.5938, allocations: 56 kB / 0.7409 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.5953, allocations: 0.7328 MB / 0.7416 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.5957, allocations: 314.9 kB / 0.7419 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007188/0.5964, allocations: 0.5557 MB / 0.7425 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.598, allocations: 1.398 MB / 0.7438 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.598, allocations: 4 kB / 0.7438 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.598, allocations: 3.938 kB / 0.7438 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.598, allocations: 0 / 0.7438 GB, free: 5.957 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002126/0.6002, allocations: 1.455 MB / 0.7452 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.6002, allocations: 11.97 kB / 0.7453 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007643/0.601, allocations: 190.4 kB / 0.7454 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.6022, allocations: 0.8062 MB / 0.7462 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.6022, allocations: 41 kB / 0.7463 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.6023, allocations: 60 kB / 0.7463 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.6034, allocations: 0.82 MB / 0.7471 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6035, allocations: 7.875 kB / 0.7471 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.6035, allocations: 27.94 kB / 0.7472 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.6036, allocations: 12 kB / 0.7472 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.6045, allocations: 0.5618 MB / 0.7477 GB, free: 1.773 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.2731/0.8777, allocations: 4.21 MB / 0.7518 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008768/0.8786, allocations: 434.1 kB / 0.7522 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.8791, allocations: 346.6 kB / 0.7526 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/0.8794, allocations: 193.3 kB / 0.7528 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006086/0.88, allocations: 327.7 kB / 0.7531 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002968/0.8803, allocations: 34.59 kB / 0.7531 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.414e-06/0.8804, allocations: 1.75 kB / 0.7531 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001479/0.8818, allocations: 0.6998 MB / 0.7538 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.8819, allocations: 86.23 kB / 0.7539 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.8834, allocations: 1.156 MB / 0.755 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.8835, allocations: 35.73 kB / 0.755 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/0.8839, allocations: 490.4 kB / 0.7555 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.884, allocations: 117.2 kB / 0.7556 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.8841, allocations: 111.5 kB / 0.7557 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.8842, allocations: 325.1 kB / 0.756 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.8846, allocations: 237.3 kB / 0.7563 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.8853, allocations: 0.5529 MB / 0.7568 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.8863, allocations: 0.6695 MB / 0.7574 GB, free: 166 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.8864, allocations: 3.781 kB / 0.7575 GB, free: 166 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001512/0.8879, allocations: 0.7688 MB / 0.7582 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.8879, allocations: 38.28 kB / 0.7582 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.888, allocations: 6.625 kB / 0.7582 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.888, allocations: 11.44 kB / 0.7583 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.8885, allocations: 115.6 kB / 0.7584 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.8885, allocations: 11.8 kB / 0.7584 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.8892, allocations: 62.7 kB / 0.7584 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.8893, allocations: 23.06 kB / 0.7585 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005938/0.8899, allocations: 0.5236 MB / 0.759 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000441/0.8903, allocations: 0.5102 MB / 0.7595 GB, free: 165 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006587/0.891, allocations: 0.595 MB / 0.76 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.346e-06/0.891, allocations: 1.281 kB / 0.7601 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.0009625/0.892, allocations: 0.6971 MB / 0.7607 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.892, allocations: 33.83 kB / 0.7608 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.892, allocations: 5.312 kB / 0.7608 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.892, allocations: 9.562 kB / 0.7608 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.8925, allocations: 114.8 kB / 0.7609 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.8925, allocations: 8.375 kB / 0.7609 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/0.8932, allocations: 65.53 kB / 0.761 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.8932, allocations: 27.61 kB / 0.761 GB, free: 164.2 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.8934, allocations: 218.6 kB / 0.7612 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.8935, allocations: 103.9 kB / 0.7613 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008443/0.8943, allocations: 0.5432 MB / 0.7618 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.8944, allocations: 4.125 kB / 0.7618 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8944, allocations: 0 / 0.7618 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.8944, allocations: 1.375 kB / 0.7618 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.8962, allocations: 1.501 MB / 0.7633 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.8962, allocations: 1.906 kB / 0.7633 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.8966, allocations: 75.59 kB / 0.7634 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8966, allocations: 3.031 kB / 0.7634 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.8966, allocations: 9.156 kB / 0.7634 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.8966, allocations: 8.703 kB / 0.7634 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8966, allocations: 3.25 kB / 0.7634 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.8974, allocations: 0.6577 MB / 0.764 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.8976, allocations: 224.7 kB / 0.7642 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.8978, allocations: 12.91 kB / 0.7643 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.8983, allocations: 42.34 kB / 0.7643 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.8984, allocations: 29.06 kB / 0.7643 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.8984, allocations: 13.38 kB / 0.7643 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008461/0.8993, allocations: 0.8208 MB / 0.7651 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8993, allocations: 0 / 0.7651 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009724/0.9003, allocations: 429.8 kB / 0.7656 GB, free: 161.4 MB / 0.5762 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003686/0.9006, allocations: 175.2 kB / 0.7657 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.9019, allocations: 0.9512 MB / 0.7666 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9019, allocations: 1.25 kB / 0.7666 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.9023, allocations: 226.5 kB / 0.7669 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.9042, allocations: 0.4987 MB / 0.7674 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.9066, allocations: 1.796 MB / 0.7691 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.9073, allocations: 1.178 MB / 0.7703 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001206/0.9085, allocations: 432.3 kB / 0.7707 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.9087, allocations: 83.64 kB / 0.7707 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.9087, allocations: 0 / 0.7707 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02554/0.9342, allocations: 18.64 MB / 0.789 GB, free: 142.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)