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.001498/0.001498, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.001391/0.001391, allocations: 183 kB / 17.34 MB, free: 5.762 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.456/1.456, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8525/0.8525, allocations: 135.2 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 68.36 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1841, allocations: 80.93 MB / 0.6653 GB, free: 5.766 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_dp.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.Example2): time 0.03703/0.2211, allocations: 29.66 MB / 0.6943 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.2388, allocations: 9.927 MB / 0.704 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002343/0.2412, allocations: 47.75 kB / 0.704 GB, free: 14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.2439, allocations: 0.6874 MB / 0.7047 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.2491, allocations: 1.496 MB / 0.7062 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.2535, allocations: 1.388 MB / 0.7075 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006555/0.26, allocations: 3.818 MB / 0.7113 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.2623, allocations: 1.158 MB / 0.7124 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.2664, allocations: 1.52 MB / 0.7139 GB, free: 3.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.2684, allocations: 1.042 MB / 0.7149 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.2687, allocations: 120 kB / 0.715 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.2714, allocations: 1.127 MB / 0.7161 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005609/0.272, allocations: 422.3 kB / 0.7165 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.2732, allocations: 0.7812 MB / 0.7173 GB, free: 392 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004612/0.2779, allocations: 2.464 MB / 0.7197 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2779, allocations: 4 kB / 0.7197 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2779, allocations: 0 / 0.7197 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.82e-05/0.2779, 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.003985/0.2819, allocations: 1.999 MB / 0.7216 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.2819, allocations: 9.109 kB / 0.7216 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.2832, allocations: 259.7 kB / 0.7219 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.2862, allocations: 1.36 MB / 0.7232 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.2862, allocations: 66 kB / 0.7233 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.2864, allocations: 80 kB / 0.7234 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.2883, allocations: 0.9811 MB / 0.7243 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.2883, allocations: 7.984 kB / 0.7243 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.2884, allocations: 32 kB / 0.7244 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.2884, allocations: 20 kB / 0.7244 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.2901, allocations: 0.7103 MB / 0.7251 GB, free: 8.227 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.006968/0.297, allocations: 4.857 MB / 0.7298 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.2983, allocations: 0.5267 MB / 0.7303 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/0.299, allocations: 295.4 kB / 0.7306 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002563/0.3016, allocations: 1.509 MB / 0.7321 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007583/0.3023, allocations: 342.9 kB / 0.7324 GB, free: 232 kB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003554/0.3027, allocations: 59.56 kB / 0.7325 GB, free: 172 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 2.264e-06/0.3027, allocations: 0 / 0.7325 GB, free: 172 kB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.003335/0.306, allocations: 1.159 MB / 0.7336 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3061, allocations: 63.41 kB / 0.7337 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.3079, allocations: 1.282 MB / 0.7349 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.308, allocations: 37.7 kB / 0.7349 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006968/0.3087, allocations: 0.6617 MB / 0.7356 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.3088, allocations: 162.6 kB / 0.7358 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.3091, allocations: 158.2 kB / 0.7359 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3093, allocations: 337.9 kB / 0.7362 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006254/0.3099, allocations: 271.6 kB / 0.7365 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.3108, allocations: 0.5865 MB / 0.7371 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.3123, allocations: 0.8098 MB / 0.7378 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3123, allocations: 0 / 0.7378 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002495/0.3148, allocations: 1.099 MB / 0.7389 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/0.3148, allocations: 33.7 kB / 0.739 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3149, allocations: 8 kB / 0.739 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/0.3155, allocations: 189 kB / 0.7391 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.3161, allocations: 143.7 kB / 0.7393 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008984/0.317, allocations: 0.7687 MB / 0.74 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008167/0.3178, allocations: 52.62 kB / 0.7401 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.3179, allocations: 35.98 kB / 0.7401 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001061/0.3189, allocations: 0.5522 MB / 0.7407 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007905/0.3197, allocations: 0.5553 MB / 0.7412 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001221/0.321, allocations: 0.7433 MB / 0.7419 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.321, allocations: 0 / 0.7419 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.002033/0.323, allocations: 1.058 MB / 0.743 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.323, allocations: 41.62 kB / 0.743 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.323, allocations: 8 kB / 0.743 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.3233, allocations: 109.3 kB / 0.7431 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.3238, allocations: 135.7 kB / 0.7432 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.3263, allocations: 2.349 MB / 0.7455 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.3271, allocations: 52.75 kB / 0.7456 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.748e-05/0.3272, allocations: 40.03 kB / 0.7456 GB, free: 1.852 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.0002918/0.3275, allocations: 232 kB / 0.7458 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.3277, allocations: 131.2 kB / 0.746 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.3297, allocations: 0.8765 MB / 0.7468 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.3297, allocations: 7.938 kB / 0.7468 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3297, allocations: 0 / 0.7468 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3511/0.6808, allocations: 0.8618 MB / 0.7477 GB, free: 78.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.6844, allocations: 1.783 MB / 0.7494 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.6844, allocations: 1.188 kB / 0.7494 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.6849, allocations: 80.92 kB / 0.7495 GB, free: 77.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.6852, allocations: 124.1 kB / 0.7496 GB, free: 77.81 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.171e-05/0.6852, allocations: 14.8 kB / 0.7496 GB, free: 77.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005425/0.6858, allocations: 0.7489 MB / 0.7504 GB, free: 77.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6858, allocations: 3.688 kB / 0.7504 GB, free: 77.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.6881, allocations: 1.178 MB / 0.7515 GB, free: 77.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/0.6886, allocations: 268.2 kB / 0.7518 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.6887, allocations: 12.69 kB / 0.7518 GB, free: 76.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.6893, allocations: 29.94 kB / 0.7518 GB, free: 76.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.6894, allocations: 40.05 kB / 0.7518 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.6894, allocations: 22.7 kB / 0.7519 GB, free: 76.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001355/0.6908, allocations: 0.8843 MB / 0.7527 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6908, allocations: 0 / 0.7527 GB, free: 76.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001987/0.6928, allocations: 0.6515 MB / 0.7534 GB, free: 76.58 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.001044/0.6938, allocations: 373.6 kB / 0.7537 GB, free: 76.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003046/0.6969, allocations: 1.283 MB / 0.755 GB, free: 75.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.6969, allocations: 0.8438 kB / 0.755 GB, free: 75.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008115/0.6977, allocations: 311.2 kB / 0.7553 GB, free: 75.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.7005, allocations: 0.6051 MB / 0.7559 GB, free: 75.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.7051, allocations: 2.298 MB / 0.7581 GB, free: 74.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.7062, allocations: 1.257 MB / 0.7593 GB, free: 73.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.7066, allocations: 105.1 kB / 0.7594 GB, free: 73.83 MB / 0.5762 GB Notification: Performance of SimCode: time 1.123e-06/0.7066, allocations: 0 / 0.7594 GB, free: 73.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.04088/0.7475, allocations: 29.18 MB / 0.7879 GB, free: 58.07 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)