Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001514/0.001514, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001561/0.001561, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.656/1.656, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.807/0.807, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 68.23 kB / 0.5863 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 80.92 MB / 0.6653 GB, free: 5.906 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.03371/0.196, allocations: 32.75 MB / 0.6973 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.2116, allocations: 10.48 MB / 0.7075 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.214, allocations: 55.69 kB / 0.7075 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002838/0.2168, allocations: 0.7224 MB / 0.7082 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005548/0.2224, allocations: 1.574 MB / 0.7098 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.2269, allocations: 1.407 MB / 0.7112 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007472/0.2344, allocations: 4.869 MB / 0.7159 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.2377, allocations: 2.078 MB / 0.7179 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.2426, allocations: 1.945 MB / 0.7198 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.2453, allocations: 1.361 MB / 0.7212 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000577/0.2459, allocations: 144 kB / 0.7213 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.2492, allocations: 1.174 MB / 0.7225 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008827/0.2501, allocations: 466.3 kB / 0.7229 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.2522, allocations: 1.007 MB / 0.7239 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006188/0.2584, allocations: 2.936 MB / 0.7268 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.2585, allocations: 4 kB / 0.7268 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2585, allocations: 0 / 0.7268 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001121/0.2586, allocations: 0 / 0.7268 GB, free: 6.73 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.005425/0.264, allocations: 2.384 MB / 0.7291 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2641, allocations: 9.109 kB / 0.7291 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.2656, allocations: 310.2 kB / 0.7294 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.2696, allocations: 1.694 MB / 0.731 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.2697, allocations: 78 kB / 0.7311 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.2701, allocations: 104 kB / 0.7312 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.2728, allocations: 1.287 MB / 0.7325 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.2729, allocations: 7.922 kB / 0.7325 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.273, allocations: 44 kB / 0.7325 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.273, allocations: 24 kB / 0.7325 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.2752, allocations: 0.9717 MB / 0.7335 GB, free: 15.63 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.009004/0.2842, allocations: 6.494 MB / 0.7398 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.2855, allocations: 0.5808 MB / 0.7404 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.2863, allocations: 397.6 kB / 0.7408 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002909/0.2892, allocations: 1.692 MB / 0.7424 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007828/0.29, allocations: 351.4 kB / 0.7428 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006111/0.2906, allocations: 91.23 kB / 0.7429 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 4.107e-06/0.2906, allocations: 0 / 0.7429 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003621/0.2943, allocations: 1.316 MB / 0.7441 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.2944, allocations: 63.41 kB / 0.7442 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.2972, allocations: 1.789 MB / 0.7459 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.661e-05/0.2973, allocations: 41.7 kB / 0.746 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008223/0.2982, allocations: 0.8461 MB / 0.7468 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.2984, allocations: 165.7 kB / 0.747 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.2987, allocations: 186.5 kB / 0.7472 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2988, allocations: 341.9 kB / 0.7475 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006798/0.2995, allocations: 312.6 kB / 0.7478 GB, free: 312 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3611/0.6606, allocations: 0.7442 MB / 0.7485 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.6625, allocations: 0.9873 MB / 0.7495 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.6625, allocations: 2.562 kB / 0.7495 GB, free: 77.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003052/0.6656, allocations: 1.292 MB / 0.7507 GB, free: 77.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.947e-05/0.6657, allocations: 44.25 kB / 0.7508 GB, free: 77.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.6657, allocations: 10.88 kB / 0.7508 GB, free: 77.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006789/0.6664, allocations: 183.7 kB / 0.751 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.667, allocations: 172.2 kB / 0.7511 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006238/0.6677, allocations: 0.7659 MB / 0.7519 GB, free: 76.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.6688, allocations: 46.52 kB / 0.7519 GB, free: 76.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.6689, allocations: 51.62 kB / 0.752 GB, free: 76.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/0.6701, allocations: 0.7099 MB / 0.7527 GB, free: 76.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007341/0.6709, allocations: 0.7083 MB / 0.7533 GB, free: 76.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001197/0.6721, allocations: 0.92 MB / 0.7542 GB, free: 75.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.064e-06/0.6721, allocations: 6.062 kB / 0.7543 GB, free: 75.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002613/0.6747, allocations: 1.269 MB / 0.7555 GB, free: 74.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.6748, allocations: 40.52 kB / 0.7555 GB, free: 74.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.6748, allocations: 10.56 kB / 0.7555 GB, free: 74.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.6751, allocations: 119 kB / 0.7557 GB, free: 74.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.6757, allocations: 172.8 kB / 0.7558 GB, free: 74.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.678, allocations: 2.325 MB / 0.7581 GB, free: 73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6791, allocations: 55.72 kB / 0.7581 GB, free: 72.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.6792, allocations: 42.12 kB / 0.7582 GB, free: 72.98 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.0003417/0.6795, allocations: 241.6 kB / 0.7584 GB, free: 72.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.6798, allocations: 177.5 kB / 0.7586 GB, free: 72.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.6824, allocations: 0.9903 MB / 0.7596 GB, free: 72.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6824, allocations: 10.14 kB / 0.7596 GB, free: 72.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.6824, allocations: 1.312 kB / 0.7596 GB, free: 72.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/0.684, allocations: 0.9449 MB / 0.7605 GB, free: 71.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.6881, allocations: 2.107 MB / 0.7625 GB, free: 70.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.6882, allocations: 1.844 kB / 0.7625 GB, free: 70.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.6887, allocations: 86.02 kB / 0.7626 GB, free: 70.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002984/0.689, allocations: 126 kB / 0.7627 GB, free: 70.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.689, allocations: 17.7 kB / 0.7628 GB, free: 70.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005232/0.6896, allocations: 0.7457 MB / 0.7635 GB, free: 70.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.6896, allocations: 6.422 kB / 0.7635 GB, free: 70.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.6921, allocations: 1.335 MB / 0.7648 GB, free: 69.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/0.6928, allocations: 308.2 kB / 0.7651 GB, free: 69.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.693, allocations: 7.406 kB / 0.7651 GB, free: 69.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/0.6936, allocations: 35.19 kB / 0.7651 GB, free: 69.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6938, allocations: 36.88 kB / 0.7652 GB, free: 69.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.6938, allocations: 25.05 kB / 0.7652 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001924/0.6958, allocations: 1.24 MB / 0.7664 GB, free: 68.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6958, allocations: 1.219 kB / 0.7664 GB, free: 68.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002677/0.6985, allocations: 0.7866 MB / 0.7672 GB, free: 68.78 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.001042/0.6995, allocations: 378.9 kB / 0.7675 GB, free: 68.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002923/0.7024, allocations: 1.475 MB / 0.769 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7025, allocations: 0 / 0.769 GB, free: 68.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007534/0.7032, allocations: 328.5 kB / 0.7693 GB, free: 67.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/0.707, allocations: 0.7753 MB / 0.77 GB, free: 67.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.7121, allocations: 2.916 MB / 0.7729 GB, free: 66.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009798/0.7132, allocations: 1.483 MB / 0.7743 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/0.7137, allocations: 135.5 kB / 0.7745 GB, free: 65.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.183e-06/0.7137, allocations: 5.219 kB / 0.7745 GB, free: 65.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.04555/0.7592, allocations: 37.45 MB / 0.8111 GB, free: 34.52 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)