Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.0009757/0.0009758, allocations: 198.5 kB / 16.91 MB, free: 6.195 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.301/1.301, allocations: 222.9 MB / 240.6 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7263/0.7263, allocations: 132.2 MB / 422.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 64.09 kB / 0.5019 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1513, allocations: 80.2 MB / 0.5802 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.3345/0.4858, allocations: 71.65 MB / 0.6502 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01989/0.5057, allocations: 16.88 MB / 0.6667 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00453/0.5103, allocations: 87.34 kB / 0.6667 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.5136, allocations: 0.8808 MB / 0.6676 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.5201, allocations: 2.194 MB / 0.6698 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.5255, allocations: 1.894 MB / 0.6716 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.5366, allocations: 8.066 MB / 0.6795 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008577/0.5452, allocations: 6.136 MB / 0.6855 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008273/0.5536, allocations: 3.351 MB / 0.6887 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005562/0.5592, allocations: 2.568 MB / 0.6913 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.5602, allocations: 258 kB / 0.6915 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.5651, allocations: 1.374 MB / 0.6928 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.5665, allocations: 0.7724 MB / 0.6936 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003602/0.5701, allocations: 1.771 MB / 0.6953 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005617/0.5757, allocations: 3.622 MB / 0.6989 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.5757, allocations: 1.125 kB / 0.6989 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5757, allocations: 0 / 0.6989 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001328/0.5759, allocations: 0 / 0.6989 GB, free: 3.48 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.009469/0.5854, allocations: 3.959 MB / 0.7027 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5854, allocations: 13.31 kB / 0.7027 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.5882, allocations: 0.5491 MB / 0.7033 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/0.5945, allocations: 2.642 MB / 0.7059 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.5947, allocations: 138.3 kB / 0.706 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.5951, allocations: 191.9 kB / 0.7062 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.5992, allocations: 2.319 MB / 0.7084 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.5993, allocations: 6.656 kB / 0.7084 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/0.5995, allocations: 68.75 kB / 0.7085 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.5996, allocations: 40.09 kB / 0.7085 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.6032, allocations: 1.873 MB / 0.7104 GB, free: 12.33 MB / 0.5294 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.01402/0.6172, allocations: 11.23 MB / 0.7213 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.6198, allocations: 1.339 MB / 0.7226 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.6214, allocations: 1.009 MB / 0.7236 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006271/0.6276, allocations: 3.633 MB / 0.7272 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.6291, allocations: 0.778 MB / 0.7279 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001843/0.631, allocations: 266.9 kB / 0.7282 GB, free: 10.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 6.573e-06/0.631, allocations: 0 / 0.7282 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01206/0.6431, allocations: 4.176 MB / 0.7323 GB, free: 6.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.6431, allocations: 64.41 kB / 0.7323 GB, free: 6.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/0.6475, allocations: 2.856 MB / 0.7351 GB, free: 3.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.6479, allocations: 57.7 kB / 0.7352 GB, free: 3.387 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.6493, allocations: 1.436 MB / 0.7366 GB, free: 1.938 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/0.6497, allocations: 335.2 kB / 0.7369 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.6502, allocations: 355.7 kB / 0.7372 GB, free: 1.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6503, allocations: 301.1 kB / 0.7375 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.6516, allocations: 0.677 MB / 0.7382 GB, free: 276 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.6534, allocations: 1.411 MB / 0.7396 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.6562, allocations: 1.893 MB / 0.7414 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.6562, allocations: 4 kB / 0.7414 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006079/0.6623, allocations: 2.839 MB / 0.7442 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.6624, allocations: 37.7 kB / 0.7442 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.6624, allocations: 12 kB / 0.7442 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.6648, allocations: 0.6925 MB / 0.7449 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.666, allocations: 289.8 kB / 0.7452 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.6679, allocations: 1.904 MB / 0.747 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.6705, allocations: 168.8 kB / 0.7472 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.6707, allocations: 87.89 kB / 0.7473 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002408/0.6732, allocations: 1.273 MB / 0.7485 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001562/0.6747, allocations: 1.365 MB / 0.7499 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002509/0.6772, allocations: 1.79 MB / 0.7516 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.286e-06/0.6773, allocations: 8 kB / 0.7516 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004743/0.682, allocations: 2.673 MB / 0.7542 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.6821, allocations: 39.73 kB / 0.7543 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6821, allocations: 15.94 kB / 0.7543 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009038/0.683, allocations: 477.8 kB / 0.7547 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6841, allocations: 289.3 kB / 0.755 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/0.6909, allocations: 6.329 MB / 0.7612 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.6937, allocations: 173.4 kB / 0.7614 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/0.694, allocations: 83.95 kB / 0.7614 GB, free: 6.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005273/0.6946, allocations: 293 kB / 0.7617 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.6953, allocations: 292.2 kB / 0.762 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/0.7003, allocations: 2.441 MB / 0.7644 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-05/0.7003, allocations: 20 kB / 0.7644 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7003, allocations: 4 kB / 0.7644 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00333/0.7037, allocations: 2.08 MB / 0.7664 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008033/0.7117, allocations: 4.399 MB / 0.7707 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7118, allocations: 0 / 0.7707 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/0.7126, allocations: 177.3 kB / 0.7709 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.7137, allocations: 480.8 kB / 0.7714 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.7138, allocations: 35.98 kB / 0.7714 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.7154, allocations: 1.854 MB / 0.7732 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7155, allocations: 3.938 kB / 0.7732 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.7214, allocations: 3.145 MB / 0.7763 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/0.723, allocations: 489 kB / 0.7768 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/0.7234, allocations: 24 kB / 0.7768 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.7248, allocations: 139.6 kB / 0.7769 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.7249, allocations: 80.81 kB / 0.777 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.7251, allocations: 47.98 kB / 0.777 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002816/0.7279, allocations: 1.951 MB / 0.7789 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7279, allocations: 4 kB / 0.7789 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004154/0.732, allocations: 1.361 MB / 0.7803 GB, free: 3.359 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.7332, allocations: 454.8 kB / 0.7807 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006642/0.7399, allocations: 3.434 MB / 0.7841 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.7399, allocations: 1.375 kB / 0.7841 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.7415, allocations: 0.8073 MB / 0.7848 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006416/0.7479, allocations: 1.249 MB / 0.7861 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.7586, allocations: 6.243 MB / 0.7922 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/0.7603, allocations: 2.061 MB / 0.7942 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.7611, allocations: 219.4 kB / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.7611, allocations: 0 / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.3627/1.124, allocations: 74.89 MB / 0.8675 GB, free: 215.5 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)