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.001527/0.001527, allocations: 102 kB / 16.4 MB, free: 5.949 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.001321/0.001321, allocations: 193 kB / 17.34 MB, free: 5.578 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8649/0.8649, allocations: 135.2 MB / 426.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 66.52 kB / 0.5864 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1809, allocations: 80.94 MB / 0.6654 GB, free: 5.668 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.07972/0.2606, allocations: 72.42 MB / 0.7361 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4469/0.7075, allocations: 17.01 MB / 0.7527 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.7118, allocations: 91.66 kB / 0.7528 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003816/0.7157, allocations: 1.018 MB / 0.7538 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.7257, allocations: 2.423 MB / 0.7562 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007033/0.7327, allocations: 2.077 MB / 0.7582 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01395/0.7467, allocations: 8.036 MB / 0.7661 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009571/0.7562, allocations: 5.424 MB / 0.7714 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/0.7658, allocations: 3.352 MB / 0.7746 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006229/0.772, allocations: 2.501 MB / 0.7771 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.7737, allocations: 258.3 kB / 0.7773 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005958/0.7796, allocations: 1.374 MB / 0.7787 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002012/0.7816, allocations: 0.7901 MB / 0.7794 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005861/0.7875, allocations: 1.768 MB / 0.7812 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.7984, allocations: 4.782 MB / 0.7858 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7984, allocations: 1.375 kB / 0.7858 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7984, allocations: 0 / 0.7858 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002311/0.7987, allocations: 4 kB / 0.7858 GB, free: 8.328 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.0123/0.811, allocations: 3.94 MB / 0.7897 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.811, allocations: 19.91 kB / 0.7897 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.814, allocations: 0.5656 MB / 0.7903 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/0.82, allocations: 2.779 MB / 0.793 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.8201, allocations: 139.2 kB / 0.7931 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004588/0.8206, allocations: 191.4 kB / 0.7933 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003818/0.8244, allocations: 2.314 MB / 0.7955 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.8245, allocations: 7.75 kB / 0.7956 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.8246, allocations: 68.38 kB / 0.7956 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.8247, allocations: 41.56 kB / 0.7957 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.8281, allocations: 1.914 MB / 0.7975 GB, free: 1.75 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.01708/0.8452, allocations: 11.29 MB / 0.8086 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.8482, allocations: 1.327 MB / 0.8098 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.8499, allocations: 0.977 MB / 0.8108 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008164/0.8581, allocations: 4.021 MB / 0.8147 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00179/0.8598, allocations: 0.8958 MB / 0.8156 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002306/0.8622, allocations: 474.7 kB / 0.8161 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=96): time 6.091e-06/0.8622, allocations: 0 / 0.8161 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96): time 0.01372/0.8759, allocations: 4.494 MB / 0.8204 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.8759, allocations: 64.39 kB / 0.8205 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004972/0.8809, allocations: 2.88 MB / 0.8233 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004093/0.8813, allocations: 61.7 kB / 0.8234 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.8829, allocations: 1.433 MB / 0.8248 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005682/0.8835, allocations: 361.6 kB / 0.8251 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006354/0.8841, allocations: 371.8 kB / 0.8255 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8843, allocations: 305.1 kB / 0.8258 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.8859, allocations: 0.7784 MB / 0.8265 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.8882, allocations: 1.52 MB / 0.828 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.8918, allocations: 2.115 MB / 0.8301 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.8918, allocations: 4 kB / 0.8301 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.007034/0.8988, allocations: 3.044 MB / 0.8331 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.877e-05/0.8989, allocations: 37.7 kB / 0.8331 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/0.8989, allocations: 12 kB / 0.8331 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/0.9014, allocations: 0.6949 MB / 0.8338 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.9029, allocations: 314.1 kB / 0.8341 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.9051, allocations: 1.903 MB / 0.8359 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.9077, allocations: 108 kB / 0.836 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.908, allocations: 95.92 kB / 0.8361 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003568/0.9116, allocations: 1.366 MB / 0.8375 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002277/0.9138, allocations: 1.486 MB / 0.8389 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003709/0.9175, allocations: 2.02 MB / 0.8409 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.41e-05/0.9176, allocations: 4 kB / 0.8409 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=184) (initialization_lambda0): time 0.006649/0.9242, allocations: 2.892 MB / 0.8437 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.9243, allocations: 43.58 kB / 0.8438 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.9243, allocations: 12 kB / 0.8438 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009887/0.9253, allocations: 481.3 kB / 0.8442 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9265, allocations: 301.3 kB / 0.8445 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007904/0.9344, allocations: 6.34 MB / 0.8507 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.9372, allocations: 121.5 kB / 0.8508 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/0.9375, allocations: 87.89 kB / 0.8509 GB, free: 13.71 MB / 0.6387 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 (136): * Single equations (assignments): 132 * 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.0006313/0.9382, allocations: 277.1 kB / 0.8512 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/0.939, allocations: 310 kB / 0.8515 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005733/0.9448, allocations: 2.598 MB / 0.854 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.9448, allocations: 12 kB / 0.854 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.9448, allocations: 0 / 0.854 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003822/0.9486, allocations: 2.147 MB / 0.8561 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.9588, allocations: 4.609 MB / 0.8606 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.9588, allocations: 0 / 0.8606 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009456/0.9597, allocations: 184 kB / 0.8608 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.9609, allocations: 471.3 kB / 0.8612 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.961, allocations: 31.98 kB / 0.8613 GB, free: 2.996 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.9633, allocations: 1.856 MB / 0.8631 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9633, allocations: 8.125 kB / 0.8631 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/0.9702, allocations: 3.313 MB / 0.8663 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001788/0.972, allocations: 0.4949 MB / 0.8668 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004543/0.9725, allocations: 27.98 kB / 0.8668 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.9736, allocations: 67.91 kB / 0.8669 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.9738, allocations: 76.89 kB / 0.867 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.974, allocations: 55.84 kB / 0.867 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003556/0.9775, allocations: 1.967 MB / 0.8689 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9775, allocations: 0 / 0.8689 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.005947/0.9835, allocations: 1.369 MB / 0.8703 GB, free: 9.684 MB / 0.6544 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 (80): * Single equations (assignments): 72 * 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.001623/0.9851, allocations: 465.3 kB / 0.8707 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007413/0.9925, allocations: 3.282 MB / 0.8739 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.9925, allocations: 384 / 0.8739 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.9944, allocations: 0.78 MB / 0.8747 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006823/1.001, allocations: 1.258 MB / 0.8759 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.013, allocations: 5.37 MB / 0.8812 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/1.015, allocations: 2.05 MB / 0.8832 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.016, allocations: 227.3 kB / 0.8834 GB, free: 12.19 MB / 0.67 GB Notification: Performance of SimCode: time 2.355e-06/1.016, allocations: 0 / 0.8834 GB, free: 12.19 MB / 0.67 GB Notification: Performance of Templates: time 0.1133/1.129, allocations: 76.4 MB / 0.958 GB, free: 64 kB / 0.7325 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)