Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 113.6 kB / 16.42 MB, free: 6.508 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.001602/0.001602, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.493/1.493, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7949/0.7949, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 66.67 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1352, allocations: 80.92 MB / 0.6653 GB, free: 5.82 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.Example3): time 0.03059/0.1658, allocations: 32.74 MB / 0.6973 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1798, allocations: 10.47 MB / 0.7075 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.1814, allocations: 47.75 kB / 0.7075 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.1833, allocations: 0.738 MB / 0.7083 GB, free: 9.672 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.1872, allocations: 1.613 MB / 0.7098 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.1905, allocations: 1.416 MB / 0.7112 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005618/0.1961, allocations: 4.884 MB / 0.716 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.1991, allocations: 2.074 MB / 0.718 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.2033, allocations: 1.944 MB / 0.7199 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.2057, allocations: 1.361 MB / 0.7212 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005223/0.2063, allocations: 144 kB / 0.7214 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.2097, allocations: 1.166 MB / 0.7225 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008047/0.2106, allocations: 466.2 kB / 0.723 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.2122, allocations: 1.014 MB / 0.724 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00398/0.2161, allocations: 2.946 MB / 0.7268 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2162, allocations: 0 / 0.7268 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2162, allocations: 4 kB / 0.7268 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.2162, allocations: 0 / 0.7268 GB, free: 6.578 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003427/0.2196, allocations: 2.456 MB / 0.7292 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2197, allocations: 9.109 kB / 0.7292 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.2208, allocations: 319.4 kB / 0.7295 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.2235, allocations: 1.704 MB / 0.7312 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/0.2236, allocations: 78 kB / 0.7313 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.2238, allocations: 104 kB / 0.7314 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.2257, allocations: 1.287 MB / 0.7326 GB, free: 448 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.2257, allocations: 3.984 kB / 0.7326 GB, free: 444 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.2258, allocations: 40 kB / 0.7327 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.2259, allocations: 24 kB / 0.7327 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.2277, allocations: 0.9756 MB / 0.7337 GB, free: 15.39 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.006852/0.2345, allocations: 6.503 MB / 0.74 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.2358, allocations: 0.5894 MB / 0.7406 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/0.2365, allocations: 393.6 kB / 0.741 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/0.2389, allocations: 1.712 MB / 0.7426 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006925/0.2396, allocations: 347.5 kB / 0.743 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003581/0.24, allocations: 83.56 kB / 0.743 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 2.245e-06/0.24, allocations: 0 / 0.743 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003322/0.2433, allocations: 1.328 MB / 0.7443 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2433, allocations: 59.41 kB / 0.7444 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.2454, allocations: 1.797 MB / 0.7462 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.2455, allocations: 49.58 kB / 0.7462 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/0.2462, allocations: 0.8591 MB / 0.747 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.2463, allocations: 170.6 kB / 0.7472 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.2466, allocations: 182.5 kB / 0.7474 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2467, allocations: 341.9 kB / 0.7477 GB, free: 328 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.2473, allocations: 320.6 kB / 0.748 GB, free: 4 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2957/0.5431, allocations: 0.7357 MB / 0.7487 GB, free: 77.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.5446, allocations: 0.9865 MB / 0.7497 GB, free: 77.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.5446, allocations: 3.094 kB / 0.7497 GB, free: 77.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002747/0.5474, allocations: 1.307 MB / 0.751 GB, free: 77.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.5474, allocations: 44.95 kB / 0.751 GB, free: 77.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.5474, allocations: 10.78 kB / 0.751 GB, free: 77.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.5481, allocations: 177.5 kB / 0.7512 GB, free: 77.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.5488, allocations: 170 kB / 0.7514 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005621/0.5494, allocations: 0.7663 MB / 0.7521 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/0.5503, allocations: 51.64 kB / 0.7521 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.5504, allocations: 49.31 kB / 0.7522 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001136/0.5516, allocations: 0.713 MB / 0.7529 GB, free: 76.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006736/0.5523, allocations: 0.7096 MB / 0.7536 GB, free: 76.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001177/0.5535, allocations: 0.9275 MB / 0.7545 GB, free: 75.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.5535, allocations: 3.469 kB / 0.7545 GB, free: 75.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002251/0.5557, allocations: 1.27 MB / 0.7557 GB, free: 75.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.5558, allocations: 39.94 kB / 0.7558 GB, free: 75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.5558, allocations: 12.66 kB / 0.7558 GB, free: 75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002564/0.5561, allocations: 125.5 kB / 0.7559 GB, free: 74.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.5567, allocations: 168.4 kB / 0.7561 GB, free: 74.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.5587, allocations: 2.314 MB / 0.7583 GB, free: 73.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.5596, allocations: 58.11 kB / 0.7584 GB, free: 73.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.5597, allocations: 48.19 kB / 0.7584 GB, free: 73.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002558/0.56, allocations: 239 kB / 0.7587 GB, free: 72.88 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.5602, allocations: 186.4 kB / 0.7588 GB, free: 72.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.5626, allocations: 0.9907 MB / 0.7598 GB, free: 72.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/0.5641, allocations: 0.9526 MB / 0.7607 GB, free: 71.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5641, allocations: 0.7969 kB / 0.7607 GB, free: 71.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.5646, allocations: 312 kB / 0.761 GB, free: 71.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.5647, allocations: 15.02 kB / 0.761 GB, free: 71.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/0.5653, allocations: 31.11 kB / 0.7611 GB, free: 71.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5655, allocations: 48.05 kB / 0.7611 GB, free: 71.65 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002113/0.5676, allocations: 0.864 MB / 0.762 GB, free: 71.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00196/0.5696, allocations: 1.265 MB / 0.7632 GB, free: 70.73 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005555/0.5701, allocations: 294.7 kB / 0.7635 GB, free: 70.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001617/0.5717, allocations: 1.241 MB / 0.7647 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of Backend: time 7.21e-07/0.5718, allocations: 1.719 kB / 0.7647 GB, free: 70.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003632/0.5754, allocations: 1.652 MB / 0.7663 GB, free: 69.53 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005636/0.581, allocations: 4.049 MB / 0.7703 GB, free: 67.49 MB / 0.5762 GB Notification: Performance of Templates: time 0.04573/0.6268, allocations: 34.59 MB / 0.804 GB, free: 41.88 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)