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.001531/0.001531, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001511/0.001511, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9178/0.9178, allocations: 135.6 MB / 425.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 72.41 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1469, allocations: 81.01 MB / 0.5845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.292/0.4389, allocations: 71.64 MB / 0.6545 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.4599, allocations: 16.89 MB / 0.6709 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.4634, allocations: 87.47 kB / 0.671 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.4667, allocations: 0.8864 MB / 0.6719 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006941/0.4737, allocations: 2.179 MB / 0.674 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005498/0.4792, allocations: 1.901 MB / 0.6759 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.4902, allocations: 8.069 MB / 0.6838 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009391/0.4996, allocations: 6.127 MB / 0.6897 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007872/0.5075, allocations: 3.363 MB / 0.693 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005273/0.5128, allocations: 2.567 MB / 0.6955 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.5141, allocations: 262.7 kB / 0.6958 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005272/0.5193, allocations: 1.373 MB / 0.6971 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001819/0.5212, allocations: 0.7696 MB / 0.6979 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005589/0.5268, allocations: 1.776 MB / 0.6996 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009425/0.5362, allocations: 4.712 MB / 0.7042 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5363, allocations: 0 / 0.7042 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5363, allocations: 3.938 kB / 0.7042 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002061/0.5365, allocations: 0 / 0.7042 GB, free: 13.54 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.01172/0.5482, allocations: 3.958 MB / 0.7081 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5483, allocations: 10.75 kB / 0.7081 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/0.5513, allocations: 0.5487 MB / 0.7086 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007179/0.5585, allocations: 2.637 MB / 0.7112 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.5587, allocations: 141.8 kB / 0.7113 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007908/0.5595, allocations: 187.5 kB / 0.7115 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005746/0.5653, allocations: 2.32 MB / 0.7138 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.093e-05/0.5654, allocations: 6.844 kB / 0.7138 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.5657, allocations: 68.78 kB / 0.7139 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.5657, allocations: 38.97 kB / 0.7139 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/0.5696, allocations: 1.88 MB / 0.7157 GB, free: 5.93 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.01839/0.5881, allocations: 11.22 MB / 0.7267 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/0.5912, allocations: 1.346 MB / 0.728 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.5929, allocations: 0.9976 MB / 0.729 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00747/0.6004, allocations: 3.654 MB / 0.7325 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.602, allocations: 0.7701 MB / 0.7333 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001762/0.6038, allocations: 262.9 kB / 0.7335 GB, free: 2.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 4.629e-06/0.6038, allocations: 0 / 0.7335 GB, free: 2.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01224/0.6161, allocations: 4.179 MB / 0.7376 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.6161, allocations: 60.41 kB / 0.7377 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005193/0.6213, allocations: 2.856 MB / 0.7405 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.6216, allocations: 61.7 kB / 0.7405 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.6232, allocations: 1.421 MB / 0.7419 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/0.6236, allocations: 339.2 kB / 0.7422 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006585/0.6243, allocations: 351.7 kB / 0.7426 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6244, allocations: 301.1 kB / 0.7429 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.6258, allocations: 0.677 MB / 0.7435 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/0.6282, allocations: 1.411 MB / 0.7449 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/0.632, allocations: 1.897 MB / 0.7468 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-05/0.6321, allocations: 8 kB / 0.7468 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007171/0.6392, allocations: 2.82 MB / 0.7495 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.6393, allocations: 37.7 kB / 0.7496 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/0.6394, allocations: 12 kB / 0.7496 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.6419, allocations: 0.7 MB / 0.7502 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.6432, allocations: 293.3 kB / 0.7505 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.6454, allocations: 1.892 MB / 0.7524 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/0.6482, allocations: 168.8 kB / 0.7525 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.6485, allocations: 87.89 kB / 0.7526 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002838/0.6513, allocations: 1.277 MB / 0.7539 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002021/0.6534, allocations: 1.373 MB / 0.7552 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003011/0.6564, allocations: 1.798 MB / 0.757 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-05/0.6564, allocations: 7.984 kB / 0.757 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005523/0.6619, allocations: 2.669 MB / 0.7596 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.662, allocations: 43.88 kB / 0.7596 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.6621, allocations: 24.03 kB / 0.7596 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009993/0.6631, allocations: 469.3 kB / 0.7601 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.6642, allocations: 285.3 kB / 0.7604 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007911/0.6722, allocations: 6.331 MB / 0.7665 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/0.6752, allocations: 177.4 kB / 0.7667 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/0.6755, allocations: 79.97 kB / 0.7668 GB, free: 15.22 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.0006862/0.6762, allocations: 280.2 kB / 0.7671 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009315/0.6772, allocations: 292.2 kB / 0.7673 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/0.683, allocations: 2.452 MB / 0.7697 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/0.683, allocations: 12 kB / 0.7697 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6831, allocations: 3.984 kB / 0.7697 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003676/0.6867, allocations: 2.076 MB / 0.7718 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009552/0.6963, allocations: 4.418 MB / 0.7761 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6963, allocations: 0 / 0.7761 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/0.6972, allocations: 173.7 kB / 0.7763 GB, free: 5.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.6983, allocations: 473 kB / 0.7767 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.6985, allocations: 35.98 kB / 0.7767 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.7003, allocations: 1.857 MB / 0.7786 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.7003, allocations: 3.938 kB / 0.7786 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/0.7063, allocations: 3.141 MB / 0.7816 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.7077, allocations: 493 kB / 0.7821 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007486/0.7085, allocations: 20 kB / 0.7821 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/0.7107, allocations: 131.7 kB / 0.7822 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.7109, allocations: 84.81 kB / 0.7823 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/0.7111, allocations: 51.97 kB / 0.7824 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004025/0.7151, allocations: 1.951 MB / 0.7843 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7151, allocations: 0 / 0.7843 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00549/0.7206, allocations: 1.353 MB / 0.7856 GB, free: 11.67 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.001586/0.7222, allocations: 464.7 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007469/0.7297, allocations: 3.431 MB / 0.7894 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7297, allocations: 4 kB / 0.7894 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.7314, allocations: 0.796 MB / 0.7902 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006685/0.7381, allocations: 1.261 MB / 0.7914 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/0.7496, allocations: 6.181 MB / 0.7974 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002399/0.752, allocations: 2.065 MB / 0.7995 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003337/0.7554, allocations: 0.6737 MB / 0.8001 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007119/0.7561, allocations: 211.4 kB / 0.8003 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of SimCode: time 2.405e-06/0.7561, allocations: 0 / 0.8003 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.09739/0.8535, allocations: 54.21 MB / 0.8533 GB, free: 6.98 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)