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.001221/0.001222, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.00113/0.00113, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9412/0.9412, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 8.5 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 82.31 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.3489/0.5197, allocations: 70.45 MB / 0.6568 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.5421, allocations: 16.88 MB / 0.6733 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.5452, allocations: 82.78 kB / 0.6733 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.5477, allocations: 0.8539 MB / 0.6742 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005763/0.5535, allocations: 2.178 MB / 0.6763 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.5584, allocations: 1.87 MB / 0.6781 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0139/0.5723, allocations: 10.59 MB / 0.6885 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009719/0.5821, allocations: 5.57 MB / 0.6939 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007155/0.5892, allocations: 2.785 MB / 0.6966 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005355/0.5946, allocations: 2.414 MB / 0.699 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009851/0.5956, allocations: 123.9 kB / 0.6991 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004506/0.6002, allocations: 1.241 MB / 0.7003 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.6015, allocations: 0.6077 MB / 0.7009 GB, free: 1.598 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003953/0.6055, allocations: 1.613 MB / 0.7025 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009482/0.615, allocations: 4.505 MB / 0.7069 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.615, allocations: 1.188 kB / 0.7069 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6151, allocations: 0 / 0.7069 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.000256/0.6153, allocations: 0 / 0.7069 GB, free: 14.21 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.009924/0.6253, allocations: 3.81 MB / 0.7106 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6253, allocations: 10.06 kB / 0.7106 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/0.628, allocations: 0.5712 MB / 0.7112 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.6335, allocations: 2.638 MB / 0.7137 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.6336, allocations: 142.2 kB / 0.7139 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/0.634, allocations: 187.9 kB / 0.7141 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.6377, allocations: 2.321 MB / 0.7163 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/0.6378, allocations: 7.531 kB / 0.7163 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.638, allocations: 65.16 kB / 0.7164 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.638, allocations: 44.97 kB / 0.7164 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.6415, allocations: 1.905 MB / 0.7183 GB, free: 6.5 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.01533/0.6568, allocations: 11.68 MB / 0.7297 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.6596, allocations: 1.379 MB / 0.7311 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.6612, allocations: 1.013 MB / 0.732 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006705/0.6679, allocations: 3.761 MB / 0.7357 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.6693, allocations: 0.7858 MB / 0.7365 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001828/0.6712, allocations: 450.6 kB / 0.7369 GB, free: 2.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=96): time 3.086e-06/0.6712, allocations: 4 kB / 0.7369 GB, free: 2.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=96): time 0.01179/0.683, allocations: 4.189 MB / 0.741 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.6831, allocations: 68.41 kB / 0.7411 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.6869, allocations: 2.86 MB / 0.7439 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.6871, allocations: 57.7 kB / 0.7439 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.6883, allocations: 1.417 MB / 0.7453 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.6886, allocations: 339.2 kB / 0.7456 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.6888, allocations: 125.6 kB / 0.7457 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.207e-05/0.6889, allocations: 301.1 kB / 0.746 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.6901, allocations: 0.6753 MB / 0.7467 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.6918, allocations: 1.411 MB / 0.7481 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/0.6946, allocations: 1.885 MB / 0.7499 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.6946, allocations: 7.938 kB / 0.7499 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005776/0.7004, allocations: 2.816 MB / 0.7527 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.7008, allocations: 0.5361 MB / 0.7532 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.7008, allocations: 12 kB / 0.7532 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/0.7032, allocations: 0.6921 MB / 0.7539 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.7043, allocations: 285.8 kB / 0.7542 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.7061, allocations: 1.912 MB / 0.756 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00253/0.7087, allocations: 184.8 kB / 0.7562 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.7089, allocations: 83.91 kB / 0.7563 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7089, allocations: 4 kB / 0.7563 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003973/0.7129, allocations: 2.358 MB / 0.7586 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.7129, allocations: 15.98 kB / 0.7586 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008974/0.7138, allocations: 470.1 kB / 0.759 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.7149, allocations: 289.4 kB / 0.7593 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.7215, allocations: 5.856 MB / 0.765 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.7242, allocations: 180.8 kB / 0.7652 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.7244, allocations: 67.98 kB / 0.7653 GB, free: 4.238 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.001859/0.7262, allocations: 0.8248 MB / 0.7661 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007428/0.727, allocations: 292.3 kB / 0.7664 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.7315, allocations: 2.316 MB / 0.7686 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.7315, allocations: 19.86 kB / 0.7686 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7315, allocations: 0 / 0.7686 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003185/0.7347, allocations: 2.002 MB / 0.7706 GB, free: 14.68 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.00793/0.7427, allocations: 4.355 MB / 0.7749 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7427, allocations: 7.938 kB / 0.7749 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.7435, allocations: 145.7 kB / 0.775 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.7445, allocations: 473 kB / 0.7755 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/0.7446, allocations: 27.98 kB / 0.7755 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.7462, allocations: 1.862 MB / 0.7773 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7463, allocations: 0 / 0.7773 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/0.7519, allocations: 3.08 MB / 0.7803 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/0.7536, allocations: 0.4972 MB / 0.7808 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/0.754, allocations: 23.98 kB / 0.7808 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.7554, allocations: 147.8 kB / 0.781 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.7556, allocations: 64.91 kB / 0.781 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.7557, allocations: 39.97 kB / 0.7811 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003062/0.7587, allocations: 1.951 MB / 0.783 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7588, allocations: 3.938 kB / 0.783 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004562/0.7633, allocations: 1.357 MB / 0.7843 GB, free: 484 kB / 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 (58): * Single equations (assignments): 50 * 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.001319/0.7647, allocations: 445.4 kB / 0.7847 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005802/0.7705, allocations: 3.126 MB / 0.7878 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.7705, allocations: 4 kB / 0.7878 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.772, allocations: 0.7655 MB / 0.7885 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006415/0.7784, allocations: 1.182 MB / 0.7897 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009188/0.7876, allocations: 6.091 MB / 0.7956 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.7892, allocations: 2.037 MB / 0.7976 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002887/0.7921, allocations: 0.7266 MB / 0.7983 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/0.7925, allocations: 195.4 kB / 0.7985 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.7925, allocations: 0 / 0.7985 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of Templates: time 0.08894/0.8815, allocations: 51.21 MB / 0.8485 GB, free: 15.21 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)