Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 108.6 kB / 16.41 MB, free: 6.465 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.001268/0.001268, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.199/1.199, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7335/0.7335, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 66.83 kB / 0.5863 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 80.92 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02733/0.1497, allocations: 29.61 MB / 0.6942 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.1625, allocations: 9.903 MB / 0.7039 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.164, allocations: 43.75 kB / 0.7039 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.166, allocations: 0.6836 MB / 0.7046 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.1696, allocations: 1.461 MB / 0.706 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.1729, allocations: 1.384 MB / 0.7074 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004811/0.1777, allocations: 3.815 MB / 0.7111 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.1798, allocations: 1.365 MB / 0.7124 GB, free: 5.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.183, allocations: 1.512 MB / 0.7139 GB, free: 3.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.1847, allocations: 1.046 MB / 0.7149 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.185, allocations: 119.9 kB / 0.715 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.1874, allocations: 1.135 MB / 0.7161 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.188, allocations: 394.6 kB / 0.7165 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.1893, allocations: 0.7851 MB / 0.7173 GB, free: 372 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.1928, allocations: 2.45 MB / 0.7197 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1928, allocations: 0 / 0.7197 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1928, allocations: 0 / 0.7197 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.868e-05/0.1928, allocations: 0 / 0.7197 GB, free: 13.91 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002917/0.1958, allocations: 1.942 MB / 0.7216 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1958, allocations: 17.05 kB / 0.7216 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.1968, allocations: 250.8 kB / 0.7218 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.1989, allocations: 1.343 MB / 0.7231 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.199, allocations: 66 kB / 0.7232 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.1991, allocations: 87.98 kB / 0.7233 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2006, allocations: 0.9733 MB / 0.7242 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.2006, allocations: 4 kB / 0.7242 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.2007, allocations: 32 kB / 0.7243 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.2007, allocations: 19.98 kB / 0.7243 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.202, allocations: 0.7025 MB / 0.725 GB, free: 8.309 MB / 0.5606 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.005123/0.2071, allocations: 4.852 MB / 0.7297 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2083, allocations: 0.5598 MB / 0.7303 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.2088, allocations: 317 kB / 0.7306 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/0.2109, allocations: 1.576 MB / 0.7321 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/0.2116, allocations: 331 kB / 0.7324 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002561/0.2119, allocations: 55.42 kB / 0.7325 GB, free: 136 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 2.514e-06/0.2119, allocations: 0 / 0.7325 GB, free: 136 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.002935/0.2148, allocations: 1.166 MB / 0.7336 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.2149, allocations: 59.41 kB / 0.7337 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.2164, allocations: 1.282 MB / 0.7349 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.2165, allocations: 37.7 kB / 0.735 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/0.217, allocations: 0.6489 MB / 0.7356 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2172, allocations: 145.9 kB / 0.7357 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.2174, allocations: 158.1 kB / 0.7359 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2175, allocations: 345.8 kB / 0.7362 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.2181, allocations: 267.7 kB / 0.7365 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.2188, allocations: 0.5904 MB / 0.737 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.22, allocations: 0.802 MB / 0.7378 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.2201, allocations: 0 / 0.7378 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002164/0.2222, allocations: 1.09 MB / 0.7389 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.2223, allocations: 45.62 kB / 0.7389 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.2223, allocations: 11.98 kB / 0.7389 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/0.223, allocations: 193.1 kB / 0.7391 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.2235, allocations: 135.8 kB / 0.7393 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006697/0.2242, allocations: 0.7686 MB / 0.74 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.2249, allocations: 36.62 kB / 0.74 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.225, allocations: 43.98 kB / 0.7401 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008536/0.2259, allocations: 0.5561 MB / 0.7406 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006239/0.2265, allocations: 0.5592 MB / 0.7412 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009902/0.2275, allocations: 0.7434 MB / 0.7419 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.2275, allocations: 4 kB / 0.7419 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001733/0.2293, allocations: 1.058 MB / 0.7429 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.2293, allocations: 37.7 kB / 0.743 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2293, allocations: 4 kB / 0.743 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.2295, allocations: 108.7 kB / 0.7431 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.23, allocations: 131.8 kB / 0.7432 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.232, allocations: 2.361 MB / 0.7455 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007274/0.2328, allocations: 48.56 kB / 0.7456 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/0.2328, allocations: 36 kB / 0.7456 GB, free: 1.832 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.2331, allocations: 240.1 kB / 0.7458 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.2333, allocations: 130.5 kB / 0.7459 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.235, allocations: 0.8648 MB / 0.7468 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.235, allocations: 11.92 kB / 0.7468 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.235, allocations: 0 / 0.7468 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2777/0.5127, allocations: 0.8609 MB / 0.7476 GB, free: 78.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00336/0.5161, allocations: 1.797 MB / 0.7494 GB, free: 77.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5162, allocations: 2.547 kB / 0.7494 GB, free: 77.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.5166, allocations: 76.78 kB / 0.7495 GB, free: 77.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.5168, allocations: 127.7 kB / 0.7496 GB, free: 77.92 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.5169, allocations: 15.05 kB / 0.7496 GB, free: 77.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004845/0.5174, allocations: 0.7504 MB / 0.7503 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5174, allocations: 1.953 kB / 0.7503 GB, free: 77.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.5195, allocations: 1.169 MB / 0.7515 GB, free: 77.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/0.5199, allocations: 257.9 kB / 0.7517 GB, free: 77.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.52, allocations: 8.094 kB / 0.7517 GB, free: 77.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.5205, allocations: 36.28 kB / 0.7518 GB, free: 77.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.5206, allocations: 40.75 kB / 0.7518 GB, free: 77.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.5207, allocations: 23.12 kB / 0.7518 GB, free: 77.06 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001115/0.5218, allocations: 0.889 MB / 0.7527 GB, free: 76.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5218, allocations: 3.938 kB / 0.7527 GB, free: 76.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001648/0.5235, allocations: 0.6489 MB / 0.7533 GB, free: 76.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008287/0.5243, allocations: 372.4 kB / 0.7537 GB, free: 76.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002815/0.5271, allocations: 1.324 MB / 0.755 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5272, allocations: 7.25 kB / 0.755 GB, free: 76.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/0.5279, allocations: 328.9 kB / 0.7553 GB, free: 75.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.5304, allocations: 0.5966 MB / 0.7559 GB, free: 75.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.5343, allocations: 2.264 MB / 0.7581 GB, free: 74.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.5352, allocations: 1.257 MB / 0.7593 GB, free: 73.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.5355, allocations: 108.2 kB / 0.7594 GB, free: 73.95 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.5355, allocations: 0 / 0.7594 GB, free: 73.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.03478/0.5703, allocations: 29.24 MB / 0.788 GB, free: 58.04 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)