Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 110.9 kB / 16.42 MB, free: 6.461 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.001174/0.001174, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.169/1.169, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7006/0.7006, allocations: 135.1 MB / 426.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 62.41 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 80.92 MB / 0.6653 GB, free: 5.801 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.Movers.Examples.PumpExample): time 0.02751/0.1455, allocations: 30.67 MB / 0.6952 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.1575, allocations: 10.27 MB / 0.7053 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1586, allocations: 43.75 kB / 0.7053 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.1602, allocations: 0.703 MB / 0.706 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.1633, allocations: 1.524 MB / 0.7075 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.1658, allocations: 1.33 MB / 0.7088 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003064/0.1689, allocations: 2.982 MB / 0.7117 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.1701, allocations: 0.9726 MB / 0.7127 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.1721, allocations: 1.193 MB / 0.7138 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1731, allocations: 0.7972 MB / 0.7146 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.1734, allocations: 108 kB / 0.7147 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1748, allocations: 0.8113 MB / 0.7155 GB, free: 2.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.1752, allocations: 358.9 kB / 0.7158 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006373/0.1758, allocations: 0.6064 MB / 0.7164 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.1779, allocations: 1.975 MB / 0.7184 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1779, allocations: 4 kB / 0.7184 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1779, allocations: 0 / 0.7184 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.128e-05/0.178, allocations: 0 / 0.7184 GB, free: 15.28 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002492/0.1805, allocations: 1.526 MB / 0.7199 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1805, allocations: 13.05 kB / 0.7199 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.1815, allocations: 219.2 kB / 0.7201 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.1834, allocations: 1.046 MB / 0.7211 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.1835, allocations: 57.3 kB / 0.7212 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-05/0.1836, allocations: 68 kB / 0.7212 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1848, allocations: 0.7293 MB / 0.7219 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.1849, allocations: 0 / 0.7219 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.1849, allocations: 28 kB / 0.722 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.185, allocations: 21.31 kB / 0.722 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.1861, allocations: 0.5399 MB / 0.7225 GB, free: 10.91 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.003807/0.1899, allocations: 3.179 MB / 0.7256 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1909, allocations: 444.4 kB / 0.726 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.1913, allocations: 199.6 kB / 0.7262 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.193, allocations: 1.532 MB / 0.7277 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/0.1935, allocations: 248.2 kB / 0.728 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.734e-06/0.1935, allocations: 3.938 kB / 0.728 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.00125/0.1948, allocations: 0.5821 MB / 0.7285 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1948, allocations: 55.41 kB / 0.7286 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1959, allocations: 0.9374 MB / 0.7295 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.1959, allocations: 41.69 kB / 0.7295 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.1963, allocations: 499.7 kB / 0.73 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1964, allocations: 134.2 kB / 0.7301 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.1966, allocations: 126.1 kB / 0.7303 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1967, allocations: 338 kB / 0.7306 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/0.1971, allocations: 199.1 kB / 0.7308 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.1976, allocations: 419.8 kB / 0.7312 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.1986, allocations: 0.5924 MB / 0.7317 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1986, allocations: 4 kB / 0.7318 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001222/0.1998, allocations: 0.7107 MB / 0.7324 GB, free: 100 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1998, allocations: 8 kB / 0.7325 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1999, allocations: 8 kB / 0.7325 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1999, allocations: 12.5 kB / 0.7325 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.2004, allocations: 147.8 kB / 0.7326 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.2005, allocations: 11.94 kB / 0.7326 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.201, allocations: 75.92 kB / 0.7327 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.201, allocations: 31.98 kB / 0.7327 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005666/0.2016, allocations: 417.2 kB / 0.7331 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004556/0.2021, allocations: 391.8 kB / 0.7335 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000761/0.2028, allocations: 0.5652 MB / 0.7341 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.2028, allocations: 3.938 kB / 0.7341 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001029/0.2039, allocations: 0.656 MB / 0.7347 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2039, allocations: 17.95 kB / 0.7347 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2039, allocations: 8.156 kB / 0.7347 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.2039, allocations: 8.656 kB / 0.7347 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.2044, allocations: 139.8 kB / 0.7349 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.2044, allocations: 19.91 kB / 0.7349 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.2049, allocations: 52.27 kB / 0.7349 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.2049, allocations: 28 kB / 0.735 GB, free: 13.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.2051, allocations: 220.1 kB / 0.7352 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2052, allocations: 98.72 kB / 0.7353 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2064, allocations: 0.6123 MB / 0.7359 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008915/0.2073, allocations: 0.6664 MB / 0.7365 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2073, allocations: 4 kB / 0.7365 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.2076, allocations: 227.7 kB / 0.7367 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2077, allocations: 12 kB / 0.7367 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.2081, allocations: 19.97 kB / 0.7368 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.2081, allocations: 31.92 kB / 0.7368 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001242/0.2094, allocations: 0.5984 MB / 0.7374 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001409/0.2108, allocations: 0.9545 MB / 0.7383 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000388/0.2112, allocations: 230.2 kB / 0.7385 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007074/0.2119, allocations: 0.6467 MB / 0.7392 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of Backend: time 4.6e-07/0.2119, allocations: 4 kB / 0.7392 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.214, allocations: 0.9583 MB / 0.7401 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003479/0.2175, allocations: 2.493 MB / 0.7425 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of Templates: time 0.2682/0.4858, allocations: 22.83 MB / 0.7648 GB, free: 74.98 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)