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.001725/0.001726, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001886/0.001886, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7845/0.7845, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 68.75 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03543/0.1955, allocations: 32.73 MB / 0.6923 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.2112, allocations: 10.48 MB / 0.7025 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.2132, allocations: 47.75 kB / 0.7026 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.2156, allocations: 0.7302 MB / 0.7033 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.2204, allocations: 1.563 MB / 0.7048 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.2245, allocations: 1.419 MB / 0.7062 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006546/0.2311, allocations: 4.873 MB / 0.7109 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.2344, allocations: 2.078 MB / 0.713 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/0.2386, allocations: 1.947 MB / 0.7149 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.2411, allocations: 1.357 MB / 0.7162 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.2417, allocations: 144 kB / 0.7163 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.2447, allocations: 1.166 MB / 0.7175 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007585/0.2455, allocations: 470.3 kB / 0.7179 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.2475, allocations: 1.007 MB / 0.7189 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004978/0.2525, allocations: 2.94 MB / 0.7218 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2526, allocations: 4 kB / 0.7218 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2526, allocations: 0 / 0.7218 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.423e-05/0.2527, allocations: 0 / 0.7218 GB, free: 11.12 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.005019/0.2577, allocations: 2.386 MB / 0.7241 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2578, allocations: 12.03 kB / 0.7241 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.259, allocations: 302.2 kB / 0.7244 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.2622, allocations: 1.695 MB / 0.7261 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.2623, allocations: 78 kB / 0.7261 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.2624, allocations: 112 kB / 0.7263 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.2646, allocations: 1.284 MB / 0.7275 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.2646, allocations: 7.938 kB / 0.7275 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/0.2647, allocations: 36 kB / 0.7275 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.2647, allocations: 24 kB / 0.7276 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2665, allocations: 0.9756 MB / 0.7285 GB, free: 4.02 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.007348/0.2739, allocations: 6.494 MB / 0.7349 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.2751, allocations: 0.5856 MB / 0.7354 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.2757, allocations: 389.9 kB / 0.7358 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/0.2782, allocations: 1.688 MB / 0.7375 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/0.279, allocations: 363.2 kB / 0.7378 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004127/0.2794, allocations: 83.33 kB / 0.7379 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.876e-06/0.2794, allocations: 0 / 0.7379 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003349/0.2828, allocations: 1.313 MB / 0.7392 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2828, allocations: 59.41 kB / 0.7392 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.2851, allocations: 1.793 MB / 0.741 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/0.2851, allocations: 45.69 kB / 0.741 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000724/0.2859, allocations: 0.8461 MB / 0.7418 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.286, allocations: 165.7 kB / 0.742 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.2863, allocations: 182.5 kB / 0.7422 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2864, allocations: 334 kB / 0.7425 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.287, allocations: 328.6 kB / 0.7428 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/0.2879, allocations: 0.7401 MB / 0.7435 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.2894, allocations: 0.9837 MB / 0.7445 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.2894, allocations: 4 kB / 0.7445 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002562/0.292, allocations: 1.312 MB / 0.7458 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.292, allocations: 33.7 kB / 0.7458 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.292, allocations: 12 kB / 0.7458 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006642/0.2927, allocations: 181.2 kB / 0.746 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.2933, allocations: 167.7 kB / 0.7461 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006484/0.294, allocations: 0.7617 MB / 0.7469 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.295, allocations: 56.59 kB / 0.7469 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3617/0.6566, allocations: 45.94 kB / 0.747 GB, free: 82.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001799/0.6585, allocations: 0.7074 MB / 0.7477 GB, free: 82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008979/0.6594, allocations: 0.7063 MB / 0.7484 GB, free: 81.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00132/0.6607, allocations: 0.9276 MB / 0.7493 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.025e-06/0.6608, allocations: 3.281 kB / 0.7493 GB, free: 81.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002393/0.6632, allocations: 1.264 MB / 0.7505 GB, free: 80.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.6632, allocations: 38.38 kB / 0.7506 GB, free: 80.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.6632, allocations: 10.41 kB / 0.7506 GB, free: 80.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.6635, allocations: 130 kB / 0.7507 GB, free: 80.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.6641, allocations: 164.9 kB / 0.7508 GB, free: 80.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.6661, allocations: 2.316 MB / 0.7531 GB, free: 79.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.6671, allocations: 54.95 kB / 0.7532 GB, free: 79.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.6672, allocations: 44.86 kB / 0.7532 GB, free: 79.17 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.0002504/0.6675, allocations: 244.8 kB / 0.7534 GB, free: 78.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.6677, allocations: 174.6 kB / 0.7536 GB, free: 78.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.67, allocations: 1.001 MB / 0.7546 GB, free: 78.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6701, allocations: 6.5 kB / 0.7546 GB, free: 78.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.6701, allocations: 0 / 0.7546 GB, free: 78.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/0.6716, allocations: 0.9483 MB / 0.7555 GB, free: 78.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/0.6756, allocations: 2.098 MB / 0.7576 GB, free: 77.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6756, allocations: 8.906 kB / 0.7576 GB, free: 77.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/0.6761, allocations: 82.92 kB / 0.7576 GB, free: 77.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.6765, allocations: 126.4 kB / 0.7578 GB, free: 77.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.6765, allocations: 14.34 kB / 0.7578 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005935/0.6771, allocations: 0.7349 MB / 0.7585 GB, free: 76.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6771, allocations: 1.672 kB / 0.7585 GB, free: 76.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6798, allocations: 1.348 MB / 0.7598 GB, free: 75.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.6803, allocations: 305 kB / 0.7601 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.6805, allocations: 11.17 kB / 0.7601 GB, free: 75.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.6811, allocations: 26.69 kB / 0.7601 GB, free: 75.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.6813, allocations: 42.56 kB / 0.7602 GB, free: 75.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.6813, allocations: 23.09 kB / 0.7602 GB, free: 75.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001873/0.6832, allocations: 1.238 MB / 0.7614 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6832, allocations: 2.312 kB / 0.7614 GB, free: 75.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002363/0.6856, allocations: 0.7867 MB / 0.7622 GB, free: 75.08 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.0009476/0.6865, allocations: 396 kB / 0.7626 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002994/0.6895, allocations: 1.463 MB / 0.764 GB, free: 74.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6896, allocations: 1.062 kB / 0.764 GB, free: 74.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008488/0.6904, allocations: 334 kB / 0.7643 GB, free: 74.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.6936, allocations: 0.7741 MB / 0.7651 GB, free: 74.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.6983, allocations: 2.92 MB / 0.7679 GB, free: 72.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.6995, allocations: 1.488 MB / 0.7694 GB, free: 71.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.6999, allocations: 139.6 kB / 0.7695 GB, free: 71.88 MB / 0.5762 GB Notification: Performance of SimCode: time 9.91e-07/0.6999, allocations: 0 / 0.7695 GB, free: 71.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.04736/0.7473, allocations: 37.71 MB / 0.8063 GB, free: 42.07 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)