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.001486/0.001486, allocations: 110 kB / 16.41 MB, free: 6.492 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.001568/0.001568, allocations: 183 kB / 17.34 MB, free: 5.762 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7771/0.7771, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 58.59 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1483, allocations: 80.21 MB / 0.6603 GB, free: 10.27 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.Example1v1): time 0.07178/0.2201, allocations: 72.3 MB / 0.7309 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.2454, allocations: 16.98 MB / 0.7475 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.2489, allocations: 95.44 kB / 0.7476 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.4001/0.6491, allocations: 0.9933 MB / 0.7486 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007557/0.6567, allocations: 2.354 MB / 0.7509 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.6621, allocations: 2.081 MB / 0.7529 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01667/0.6788, allocations: 8.032 MB / 0.7608 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009014/0.6879, allocations: 6.12 MB / 0.7667 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00872/0.6966, allocations: 3.352 MB / 0.77 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005303/0.702, allocations: 2.494 MB / 0.7724 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009449/0.7029, allocations: 254.2 kB / 0.7727 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004749/0.7077, allocations: 1.372 MB / 0.774 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.7087, allocations: 0.7628 MB / 0.7748 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003641/0.7124, allocations: 1.773 MB / 0.7765 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006862/0.7193, allocations: 4.75 MB / 0.7811 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7193, allocations: 0 / 0.7811 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7193, allocations: 0 / 0.7811 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001082/0.7194, allocations: 6.188 kB / 0.7811 GB, free: 8.922 MB / 0.5762 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.007267/0.7267, allocations: 3.941 MB / 0.785 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.7267, allocations: 10.62 kB / 0.785 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002422/0.7292, allocations: 0.5527 MB / 0.7855 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.7344, allocations: 2.75 MB / 0.7882 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-05/0.7345, allocations: 138.2 kB / 0.7884 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000332/0.7349, allocations: 186.7 kB / 0.7885 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.7385, allocations: 2.324 MB / 0.7908 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.7385, allocations: 8.5 kB / 0.7908 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.7387, allocations: 68.97 kB / 0.7909 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.7387, allocations: 43.22 kB / 0.7909 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.742, allocations: 1.863 MB / 0.7927 GB, free: 4.793 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.01257/0.7546, allocations: 11.09 MB / 0.8036 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.7573, allocations: 1.336 MB / 0.8049 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.7589, allocations: 1.011 MB / 0.8059 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006452/0.7653, allocations: 3.636 MB / 0.8094 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.7668, allocations: 0.774 MB / 0.8102 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001406/0.7682, allocations: 232.2 kB / 0.8104 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 6.352e-06/0.7683, allocations: 0 / 0.8104 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01238/0.7806, allocations: 4.164 MB / 0.8145 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.7807, allocations: 60.41 kB / 0.8145 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/0.7859, allocations: 2.88 MB / 0.8173 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.7861, allocations: 61.69 kB / 0.8174 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/0.7879, allocations: 1.425 MB / 0.8188 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.7883, allocations: 347.3 kB / 0.8191 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006788/0.789, allocations: 351.6 kB / 0.8194 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.7891, allocations: 301.1 kB / 0.8197 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.7904, allocations: 0.6801 MB / 0.8204 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.7923, allocations: 1.431 MB / 0.8218 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003141/0.7955, allocations: 1.914 MB / 0.8237 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.7955, allocations: 4 kB / 0.8237 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00637/0.8019, allocations: 2.849 MB / 0.8264 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.802, allocations: 44.41 kB / 0.8265 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.802, allocations: 16 kB / 0.8265 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.8044, allocations: 0.6812 MB / 0.8272 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.8057, allocations: 298.6 kB / 0.8275 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.8076, allocations: 1.897 MB / 0.8293 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.8099, allocations: 108.9 kB / 0.8294 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/0.8102, allocations: 87.94 kB / 0.8295 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00257/0.8127, allocations: 1.269 MB / 0.8307 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001725/0.8145, allocations: 1.389 MB / 0.8321 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0028/0.8173, allocations: 1.821 MB / 0.8339 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.397e-05/0.8173, allocations: 4 kB / 0.8339 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005142/0.8225, allocations: 2.695 MB / 0.8365 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.8225, allocations: 37.7 kB / 0.8365 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.8226, allocations: 20.06 kB / 0.8366 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/0.8235, allocations: 472.7 kB / 0.837 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.8247, allocations: 288.4 kB / 0.8373 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00722/0.8319, allocations: 6.33 MB / 0.8435 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.8343, allocations: 125.5 kB / 0.8436 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.8345, allocations: 75.97 kB / 0.8437 GB, free: 4.77 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (135): * Single equations (assignments): 131 * 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.0005611/0.8351, allocations: 286.3 kB / 0.8439 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008934/0.836, allocations: 296.2 kB / 0.8442 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/0.8414, allocations: 2.433 MB / 0.8466 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.8414, allocations: 15.94 kB / 0.8466 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8414, allocations: 0 / 0.8466 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00343/0.8448, allocations: 2.054 MB / 0.8486 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009226/0.8541, allocations: 4.375 MB / 0.8529 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.8541, allocations: 7.938 kB / 0.8529 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/0.855, allocations: 173.7 kB / 0.8531 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.856, allocations: 475.4 kB / 0.8535 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/0.8561, allocations: 31.98 kB / 0.8535 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.8579, allocations: 1.853 MB / 0.8554 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8579, allocations: 4.125 kB / 0.8554 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.8637, allocations: 3.113 MB / 0.8584 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.8651, allocations: 485.1 kB / 0.8589 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008309/0.866, allocations: 24 kB / 0.8589 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.8677, allocations: 71.84 kB / 0.859 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.8679, allocations: 80.83 kB / 0.859 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.868, allocations: 47.97 kB / 0.8591 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004108/0.8721, allocations: 1.963 MB / 0.861 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8721, allocations: 0 / 0.861 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00542/0.8775, allocations: 1.345 MB / 0.8623 GB, free: 1.609 MB / 0.6387 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 (79): * Single equations (assignments): 71 * 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.001453/0.879, allocations: 473 kB / 0.8628 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006441/0.8854, allocations: 3.18 MB / 0.8659 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8855, allocations: 320 / 0.8659 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.8871, allocations: 0.7995 MB / 0.8666 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/0.8937, allocations: 1.257 MB / 0.8679 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.9045, allocations: 5.193 MB / 0.8729 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/0.9068, allocations: 2.05 MB / 0.8749 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008494/0.9076, allocations: 215.4 kB / 0.8751 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of SimCode: time 1.192e-06/0.9077, allocations: 0 / 0.8751 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.1017/1.009, allocations: 75.33 MB / 0.9487 GB, free: 9.387 MB / 0.7325 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)