Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005184/0.005184, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001165/0.001165, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7878/0.7878, allocations: 132.2 MB / 422.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.34 kB / 0.5813 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1517, allocations: 80.22 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03197/0.1837, allocations: 32.73 MB / 0.6916 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0153/0.199, allocations: 10.49 MB / 0.7019 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.2009, allocations: 51.69 kB / 0.7019 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.2033, allocations: 0.7341 MB / 0.7026 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.2081, allocations: 1.594 MB / 0.7042 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.212, allocations: 1.427 MB / 0.7056 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006031/0.2181, allocations: 4.877 MB / 0.7103 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00311/0.2212, allocations: 2.082 MB / 0.7124 GB, free: 4.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004203/0.2254, allocations: 1.937 MB / 0.7143 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.2277, allocations: 1.365 MB / 0.7156 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004506/0.2282, allocations: 140 kB / 0.7157 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.2309, allocations: 1.174 MB / 0.7169 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006784/0.2316, allocations: 466.3 kB / 0.7173 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.2333, allocations: 1.01 MB / 0.7183 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.2375, allocations: 2.94 MB / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2375, allocations: 0 / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2376, allocations: 0 / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.958e-05/0.2376, allocations: 4 kB / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.004291/0.2419, allocations: 2.38 MB / 0.7235 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.242, allocations: 12.03 kB / 0.7235 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.2431, allocations: 298.2 kB / 0.7238 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002818/0.2459, allocations: 1.706 MB / 0.7255 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.246, allocations: 78 kB / 0.7256 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.2461, allocations: 104 kB / 0.7257 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.2481, allocations: 1.28 MB / 0.7269 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.2481, allocations: 3.938 kB / 0.7269 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.2482, allocations: 44 kB / 0.7269 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.2483, allocations: 24 kB / 0.727 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.25, allocations: 0.9717 MB / 0.7279 GB, free: 3.957 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.006795/0.2568, allocations: 6.502 MB / 0.7343 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.258, allocations: 0.5821 MB / 0.7348 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.2586, allocations: 393.8 kB / 0.7352 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002301/0.261, allocations: 1.692 MB / 0.7369 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006953/0.2617, allocations: 355.2 kB / 0.7372 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003153/0.262, allocations: 79.34 kB / 0.7373 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.385e-06/0.262, allocations: 3.938 kB / 0.7373 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003244/0.2652, allocations: 1.309 MB / 0.7386 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.2653, allocations: 55.41 kB / 0.7386 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.2674, allocations: 1.793 MB / 0.7404 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.2675, allocations: 41.7 kB / 0.7404 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007217/0.2682, allocations: 0.8461 MB / 0.7412 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2684, allocations: 165.7 kB / 0.7414 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.2687, allocations: 194.4 kB / 0.7416 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2688, allocations: 334 kB / 0.7419 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006165/0.2694, allocations: 320.6 kB / 0.7422 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/0.2704, allocations: 0.7479 MB / 0.7429 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.2719, allocations: 0.9798 MB / 0.7439 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.2719, allocations: 4 kB / 0.7439 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00252/0.2744, allocations: 1.308 MB / 0.7452 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.2745, allocations: 34.45 kB / 0.7452 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.2745, allocations: 15.98 kB / 0.7452 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.2752, allocations: 176.7 kB / 0.7454 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.2758, allocations: 175.7 kB / 0.7456 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006856/0.2765, allocations: 0.7696 MB / 0.7463 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3607/0.6373, allocations: 47.84 kB / 0.7463 GB, free: 82.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.6375, allocations: 47.5 kB / 0.7464 GB, free: 82.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001448/0.639, allocations: 0.709 MB / 0.7471 GB, free: 81.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008656/0.6398, allocations: 0.7105 MB / 0.7478 GB, free: 81.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001283/0.6411, allocations: 0.9218 MB / 0.7487 GB, free: 81.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.304e-06/0.6411, allocations: 3.469 kB / 0.7487 GB, free: 81.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002457/0.6436, allocations: 1.263 MB / 0.7499 GB, free: 80.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.6437, allocations: 45.53 kB / 0.75 GB, free: 80.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.6437, allocations: 10.84 kB / 0.75 GB, free: 80.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.6439, allocations: 128.8 kB / 0.7501 GB, free: 80.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.6445, allocations: 161.2 kB / 0.7502 GB, free: 80.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.6466, allocations: 2.308 MB / 0.7525 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.6477, allocations: 58.08 kB / 0.7526 GB, free: 79.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6478, allocations: 45.88 kB / 0.7526 GB, free: 79.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003308/0.6481, allocations: 246.1 kB / 0.7528 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.6484, allocations: 170 kB / 0.753 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.6507, allocations: 0.9986 MB / 0.754 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.6507, allocations: 5.531 kB / 0.754 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.6507, allocations: 0.8438 kB / 0.754 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/0.6523, allocations: 0.9509 MB / 0.7549 GB, free: 77.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.6563, allocations: 2.104 MB / 0.757 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6563, allocations: 1.797 kB / 0.757 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.6568, allocations: 82.33 kB / 0.757 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.6572, allocations: 130.8 kB / 0.7572 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.6572, allocations: 13.98 kB / 0.7572 GB, free: 76.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006064/0.6578, allocations: 0.7324 MB / 0.7579 GB, free: 76.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.6579, allocations: 1.547 kB / 0.7579 GB, free: 76.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.6604, allocations: 1.346 MB / 0.7592 GB, free: 75.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.661, allocations: 300.2 kB / 0.7595 GB, free: 75.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.6611, allocations: 24.05 kB / 0.7595 GB, free: 75.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006001/0.6617, allocations: 26.89 kB / 0.7595 GB, free: 75.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.6619, allocations: 41.19 kB / 0.7596 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.6619, allocations: 24.08 kB / 0.7596 GB, free: 75.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001796/0.6637, allocations: 1.238 MB / 0.7608 GB, free: 75.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6637, allocations: 0 / 0.7608 GB, free: 75.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002158/0.6659, allocations: 0.7882 MB / 0.7616 GB, free: 75.03 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008829/0.6668, allocations: 381.8 kB / 0.762 GB, free: 74.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002973/0.6698, allocations: 1.462 MB / 0.7634 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.6698, allocations: 7.969 kB / 0.7634 GB, free: 74.29 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.6706, allocations: 340.3 kB / 0.7637 GB, free: 74.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.6736, allocations: 0.7838 MB / 0.7645 GB, free: 73.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.6781, allocations: 2.873 MB / 0.7673 GB, free: 72.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.6792, allocations: 1.493 MB / 0.7687 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001511/0.6807, allocations: 456.8 kB / 0.7692 GB, free: 71.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.681, allocations: 127 kB / 0.7693 GB, free: 71.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.681, allocations: 0 / 0.7693 GB, free: 71.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04485/0.7258, allocations: 31.7 MB / 0.8003 GB, free: 47.76 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)