Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001178/0.001178, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001263/0.001262, allocations: 188.8 kB / 16.25 MB, free: 6.586 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9589/0.9589, allocations: 135.1 MB / 425.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.5 kB / 0.5049 GB, free: 5.691 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1761, allocations: 80.92 MB / 0.5839 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.4127/0.5888, allocations: 71.65 MB / 0.6538 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02565/0.6145, allocations: 16.88 MB / 0.6703 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004195/0.6187, allocations: 82.56 kB / 0.6704 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.6224, allocations: 0.8792 MB / 0.6713 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.6295, allocations: 2.183 MB / 0.6734 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005946/0.6354, allocations: 1.893 MB / 0.6753 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01325/0.6487, allocations: 8.073 MB / 0.6831 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.6589, allocations: 6.13 MB / 0.6891 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009222/0.6682, allocations: 3.364 MB / 0.6924 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006198/0.6744, allocations: 2.572 MB / 0.6949 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.6761, allocations: 258 kB / 0.6952 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006124/0.6823, allocations: 1.369 MB / 0.6965 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.6845, allocations: 0.7736 MB / 0.6973 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006241/0.6908, allocations: 1.775 MB / 0.699 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009943/0.7007, allocations: 4.713 MB / 0.7036 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7008, allocations: 1.125 kB / 0.7036 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.316e-06/0.7008, allocations: 7.938 kB / 0.7036 GB, free: 14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001809/0.7009, allocations: 3.938 kB / 0.7036 GB, free: 14 MB / 0.5294 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.01174/0.7127, allocations: 3.949 MB / 0.7075 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.7128, allocations: 9.375 kB / 0.7075 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.7157, allocations: 0.5513 MB / 0.708 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006428/0.7222, allocations: 2.64 MB / 0.7106 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.7223, allocations: 139.5 kB / 0.7107 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005796/0.7229, allocations: 186.4 kB / 0.7109 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004641/0.7276, allocations: 2.315 MB / 0.7132 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/0.7276, allocations: 8.969 kB / 0.7132 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.7279, allocations: 69.09 kB / 0.7132 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.7279, allocations: 40.59 kB / 0.7133 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/0.7316, allocations: 1.874 MB / 0.7151 GB, free: 6.508 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.01504/0.7466, allocations: 11.21 MB / 0.7261 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.7494, allocations: 1.344 MB / 0.7274 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.7511, allocations: 1.01 MB / 0.7284 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007006/0.7581, allocations: 3.648 MB / 0.7319 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001537/0.7597, allocations: 0.774 MB / 0.7327 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002138/0.7618, allocations: 262.9 kB / 0.7329 GB, free: 3.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 7.233e-06/0.7619, allocations: 0 / 0.7329 GB, free: 3.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01238/0.7742, allocations: 4.175 MB / 0.737 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.7743, allocations: 60.41 kB / 0.7371 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/0.779, allocations: 2.856 MB / 0.7398 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.7793, allocations: 61.64 kB / 0.7399 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.7806, allocations: 1.429 MB / 0.7413 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/0.781, allocations: 335.3 kB / 0.7416 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005972/0.7816, allocations: 351.6 kB / 0.742 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.7817, allocations: 305.1 kB / 0.7422 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.7832, allocations: 0.6809 MB / 0.7429 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.7855, allocations: 1.415 MB / 0.7443 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.7889, allocations: 1.897 MB / 0.7461 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/0.7889, allocations: 4 kB / 0.7461 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006655/0.7956, allocations: 2.82 MB / 0.7489 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.7957, allocations: 41.64 kB / 0.7489 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/0.7957, allocations: 12 kB / 0.749 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/0.7983, allocations: 0.6963 MB / 0.7496 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.7995, allocations: 293.7 kB / 0.7499 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.8014, allocations: 1.896 MB / 0.7518 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.804, allocations: 164.8 kB / 0.7519 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.8042, allocations: 87.89 kB / 0.752 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002429/0.8066, allocations: 1.277 MB / 0.7533 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001639/0.8083, allocations: 1.365 MB / 0.7546 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002615/0.8109, allocations: 1.802 MB / 0.7563 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.013e-05/0.8109, allocations: 8 kB / 0.7564 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004798/0.8157, allocations: 2.665 MB / 0.759 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.8158, allocations: 41.69 kB / 0.759 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.8158, allocations: 19.94 kB / 0.759 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/0.8168, allocations: 473.5 kB / 0.7595 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.8179, allocations: 281.4 kB / 0.7597 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00699/0.8249, allocations: 6.336 MB / 0.7659 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.8277, allocations: 181.4 kB / 0.7661 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.828, allocations: 79.97 kB / 0.7662 GB, free: 15.95 MB / 0.5919 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.0005782/0.8286, allocations: 284.2 kB / 0.7664 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008307/0.8295, allocations: 300.2 kB / 0.7667 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005282/0.8347, allocations: 2.438 MB / 0.7691 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.8348, allocations: 15.98 kB / 0.7691 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.8348, allocations: 0 / 0.7691 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003516/0.8383, allocations: 2.084 MB / 0.7712 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009805/0.8481, allocations: 4.403 MB / 0.7755 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.8482, allocations: 4.062 kB / 0.7755 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008845/0.8491, allocations: 173.5 kB / 0.7756 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.8502, allocations: 485 kB / 0.7761 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.8503, allocations: 35.98 kB / 0.7761 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.8521, allocations: 1.854 MB / 0.7779 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8521, allocations: 3.984 kB / 0.7779 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006011/0.8581, allocations: 3.145 MB / 0.781 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/0.8599, allocations: 485.1 kB / 0.7815 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008978/0.8608, allocations: 20 kB / 0.7815 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.8628, allocations: 135.8 kB / 0.7816 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.8631, allocations: 80.81 kB / 0.7817 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8632, allocations: 47.97 kB / 0.7817 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003763/0.867, allocations: 1.955 MB / 0.7837 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.867, allocations: 0 / 0.7837 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005915/0.8729, allocations: 1.361 MB / 0.785 GB, free: 12.39 MB / 0.6075 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.001581/0.8745, allocations: 450.3 kB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007331/0.8819, allocations: 3.442 MB / 0.7888 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.8819, allocations: 0 / 0.7888 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/0.8836, allocations: 0.8009 MB / 0.7896 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00647/0.8901, allocations: 1.255 MB / 0.7908 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009765/0.8999, allocations: 6.183 MB / 0.7968 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.9015, allocations: 2.061 MB / 0.7988 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00327/0.9047, allocations: 0.6834 MB / 0.7995 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/0.9053, allocations: 207.4 kB / 0.7997 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.665e-06/0.9053, allocations: 0 / 0.7997 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.09438/0.9997, allocations: 54.21 MB / 0.8526 GB, free: 7.68 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)