Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007801/0.007801, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001606/0.001606, allocations: 192 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8197/0.8197, allocations: 135.1 MB / 425.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 62.7 kB / 0.5856 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1449, allocations: 80.92 MB / 0.6646 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02888/0.1738, allocations: 29.62 MB / 0.6935 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.1914, allocations: 9.909 MB / 0.7032 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002854/0.1943, allocations: 47.75 kB / 0.7033 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00255/0.1969, allocations: 0.6796 MB / 0.7039 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004617/0.2016, allocations: 1.458 MB / 0.7054 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004333/0.206, allocations: 1.383 MB / 0.7067 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007532/0.2135, allocations: 3.819 MB / 0.7104 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.2161, allocations: 1.357 MB / 0.7118 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/0.2196, allocations: 1.489 MB / 0.7132 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.2216, allocations: 1.042 MB / 0.7142 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004733/0.2221, allocations: 120 kB / 0.7143 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.225, allocations: 1.123 MB / 0.7154 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006749/0.2257, allocations: 398.6 kB / 0.7158 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.2273, allocations: 0.7968 MB / 0.7166 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.2318, allocations: 2.452 MB / 0.719 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2319, allocations: 3.984 kB / 0.719 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2319, allocations: 0 / 0.719 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.489e-05/0.232, allocations: 4 kB / 0.719 GB, free: 14.03 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004294/0.2363, allocations: 1.999 MB / 0.721 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2363, allocations: 9.109 kB / 0.721 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.2376, allocations: 255.7 kB / 0.7212 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.2404, allocations: 1.36 MB / 0.7225 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.2405, allocations: 65.98 kB / 0.7226 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/0.2407, allocations: 84 kB / 0.7227 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.2426, allocations: 0.9772 MB / 0.7236 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.2427, allocations: 0 / 0.7236 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.2428, allocations: 35.98 kB / 0.7237 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.2428, allocations: 20 kB / 0.7237 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.2443, allocations: 0.7063 MB / 0.7244 GB, free: 8.355 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.006165/0.2505, allocations: 4.86 MB / 0.7291 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.2517, allocations: 0.5563 MB / 0.7297 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/0.2524, allocations: 321 kB / 0.73 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002284/0.2547, allocations: 1.58 MB / 0.7315 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006978/0.2554, allocations: 331 kB / 0.7318 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003559/0.2557, allocations: 55.61 kB / 0.7319 GB, free: 168 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 5.39e-06/0.2558, allocations: 0 / 0.7319 GB, free: 168 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.00317/0.2589, allocations: 1.171 MB / 0.733 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.259, allocations: 55.41 kB / 0.7331 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.2608, allocations: 1.282 MB / 0.7343 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.2609, allocations: 45.69 kB / 0.7344 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/0.2615, allocations: 0.6577 MB / 0.735 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.2616, allocations: 154.7 kB / 0.7352 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.2619, allocations: 154.2 kB / 0.7353 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.262, allocations: 337.9 kB / 0.7356 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.2626, allocations: 271.6 kB / 0.7359 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.2634, allocations: 0.5843 MB / 0.7365 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.2648, allocations: 0.8097 MB / 0.7373 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.2648, allocations: 4 kB / 0.7373 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002322/0.2671, allocations: 1.102 MB / 0.7383 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.2672, allocations: 37.64 kB / 0.7384 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.2672, allocations: 8 kB / 0.7384 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/0.2678, allocations: 193.2 kB / 0.7386 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.2684, allocations: 139.8 kB / 0.7387 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007395/0.2692, allocations: 0.7669 MB / 0.7394 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008193/0.27, allocations: 44.56 kB / 0.7395 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.2701, allocations: 39.98 kB / 0.7395 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009605/0.2711, allocations: 0.5522 MB / 0.7401 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006901/0.2718, allocations: 0.5592 MB / 0.7406 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001135/0.2729, allocations: 0.7395 MB / 0.7413 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.131e-06/0.2729, allocations: 4 kB / 0.7413 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001951/0.2749, allocations: 1.062 MB / 0.7424 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.2749, allocations: 34.23 kB / 0.7424 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2749, allocations: 8 kB / 0.7424 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.2752, allocations: 108.7 kB / 0.7425 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.2757, allocations: 139.7 kB / 0.7427 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.2779, allocations: 2.357 MB / 0.745 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.2787, allocations: 44.62 kB / 0.745 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.2788, allocations: 36 kB / 0.745 GB, free: 1.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.2791, allocations: 241.2 kB / 0.7453 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.2794, allocations: 135.1 kB / 0.7454 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/0.2814, allocations: 0.8647 MB / 0.7462 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.2814, allocations: 11.92 kB / 0.7462 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2814, allocations: 0 / 0.7462 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3914/0.6729, allocations: 0.8722 MB / 0.7471 GB, free: 78.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.6765, allocations: 1.792 MB / 0.7488 GB, free: 77.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.6765, allocations: 1.938 kB / 0.7488 GB, free: 77.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.677, allocations: 76.94 kB / 0.7489 GB, free: 77.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.6773, allocations: 127.4 kB / 0.749 GB, free: 77.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.6774, allocations: 18.91 kB / 0.7491 GB, free: 77.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000539/0.6779, allocations: 0.7403 MB / 0.7498 GB, free: 77.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6779, allocations: 1.656 kB / 0.7498 GB, free: 77.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.6801, allocations: 1.189 MB / 0.7509 GB, free: 77.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.6805, allocations: 260.2 kB / 0.7512 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.6807, allocations: 12.02 kB / 0.7512 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.6812, allocations: 34 kB / 0.7512 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.6813, allocations: 46.66 kB / 0.7513 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.507e-05/0.6814, allocations: 22.88 kB / 0.7513 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001271/0.6827, allocations: 0.8876 MB / 0.7522 GB, free: 76.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6827, allocations: 0 / 0.7522 GB, free: 76.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001896/0.6846, allocations: 0.6522 MB / 0.7528 GB, free: 76.64 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009689/0.6856, allocations: 378.6 kB / 0.7532 GB, free: 76.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002915/0.6885, allocations: 1.325 MB / 0.7545 GB, free: 75.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6885, allocations: 1.281 kB / 0.7545 GB, free: 75.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.6893, allocations: 330.1 kB / 0.7548 GB, free: 75.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/0.6919, allocations: 0.5913 MB / 0.7554 GB, free: 75.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.6961, allocations: 2.273 MB / 0.7576 GB, free: 74.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.6972, allocations: 1.27 MB / 0.7588 GB, free: 73.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001224/0.6984, allocations: 320.6 kB / 0.7591 GB, free: 73.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.6987, allocations: 99.77 kB / 0.7592 GB, free: 73.85 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.6987, allocations: 4.375 kB / 0.7592 GB, free: 73.85 MB / 0.5762 GB Notification: Performance of Templates: time 0.0421/0.7408, allocations: 25.76 MB / 0.7844 GB, free: 61.35 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)