Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 105.5 kB / 16.41 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.001726/0.001726, allocations: 187 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.819/0.819, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.59 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 80.92 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.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.PumpWithPulseControl): time 0.0342/0.2134, allocations: 30.58 MB / 0.6951 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.2301, allocations: 10.22 MB / 0.7051 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.2322, allocations: 47.75 kB / 0.7052 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.2349, allocations: 0.6914 MB / 0.7058 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.2396, allocations: 1.454 MB / 0.7073 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.2433, allocations: 1.31 MB / 0.7085 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.248, allocations: 2.885 MB / 0.7114 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.2499, allocations: 0.9254 MB / 0.7123 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.253, allocations: 1.169 MB / 0.7134 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.2546, allocations: 0.7584 MB / 0.7141 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.2549, allocations: 100 kB / 0.7142 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.2573, allocations: 0.8074 MB / 0.715 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00057/0.2579, allocations: 331 kB / 0.7153 GB, free: 2.328 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.2591, allocations: 0.5792 MB / 0.7159 GB, free: 1.746 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.2628, allocations: 1.897 MB / 0.7178 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2628, allocations: 0 / 0.7178 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.285e-06/0.2628, allocations: 0 / 0.7178 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.175e-05/0.2629, allocations: 0 / 0.7178 GB, free: 15.84 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003527/0.2664, allocations: 1.489 MB / 0.7192 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2665, allocations: 13.11 kB / 0.7192 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.2677, allocations: 199.3 kB / 0.7194 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.27, allocations: 1.007 MB / 0.7204 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.2701, allocations: 53.31 kB / 0.7205 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.2702, allocations: 68 kB / 0.7205 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.2717, allocations: 0.702 MB / 0.7212 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2718, allocations: 0 / 0.7212 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.2718, allocations: 24 kB / 0.7212 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2719, allocations: 16 kB / 0.7212 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.2731, allocations: 0.5203 MB / 0.7218 GB, free: 11.62 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.004637/0.2778, allocations: 3.078 MB / 0.7248 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009444/0.2788, allocations: 383.6 kB / 0.7251 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.2792, allocations: 184.7 kB / 0.7253 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001995/0.2812, allocations: 1.485 MB / 0.7268 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.2818, allocations: 239.5 kB / 0.727 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.998e-06/0.2818, allocations: 4 kB / 0.727 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001473/0.2833, allocations: 0.5354 MB / 0.7275 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.2833, allocations: 63.34 kB / 0.7276 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2846, allocations: 0.8994 MB / 0.7284 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.2846, allocations: 37.7 kB / 0.7285 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.2851, allocations: 487.8 kB / 0.7289 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.2852, allocations: 118.4 kB / 0.7291 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.2854, allocations: 118.1 kB / 0.7292 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2856, allocations: 326 kB / 0.7295 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.2861, allocations: 203 kB / 0.7297 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.2867, allocations: 406.1 kB / 0.7301 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2879, allocations: 0.5906 MB / 0.7306 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.2879, allocations: 3.938 kB / 0.7306 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001517/0.2894, allocations: 0.7068 MB / 0.7313 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.2895, allocations: 37.7 kB / 0.7314 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.2895, allocations: 7.938 kB / 0.7314 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.2896, allocations: 8 kB / 0.7314 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.2901, allocations: 136.1 kB / 0.7315 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.2901, allocations: 15.92 kB / 0.7315 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.2907, allocations: 76 kB / 0.7316 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.2908, allocations: 24 kB / 0.7316 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006675/0.2915, allocations: 405.1 kB / 0.732 GB, free: 488 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005329/0.292, allocations: 374.3 kB / 0.7324 GB, free: 24 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009008/0.2929, allocations: 0.5386 MB / 0.7329 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.272e-06/0.293, allocations: 0 / 0.7329 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001268/0.2942, allocations: 0.6577 MB / 0.7335 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.2943, allocations: 37.69 kB / 0.7336 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2943, allocations: 8 kB / 0.7336 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2943, allocations: 8 kB / 0.7336 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.2947, allocations: 124.3 kB / 0.7337 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.2948, allocations: 15.88 kB / 0.7337 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/0.2953, allocations: 56.22 kB / 0.7338 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.2954, allocations: 28 kB / 0.7338 GB, free: 14.45 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * 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.0002105/0.2956, allocations: 220.1 kB / 0.734 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2958, allocations: 86.88 kB / 0.7341 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2971, allocations: 0.5761 MB / 0.7347 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.2971, allocations: 11.94 kB / 0.7347 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2972, allocations: 0 / 0.7347 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.2982, allocations: 0.6502 MB / 0.7353 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.3004, allocations: 1.363 MB / 0.7366 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3004, allocations: 0 / 0.7366 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.3008, allocations: 75.88 kB / 0.7367 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.3008, allocations: 4 kB / 0.7367 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.3009, allocations: 15.98 kB / 0.7367 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3009, allocations: 4 kB / 0.7367 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3009, allocations: 4.125 kB / 0.7367 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.3025, allocations: 0.8199 MB / 0.7375 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.3028, allocations: 215.8 kB / 0.7377 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.3029, allocations: 19.92 kB / 0.7378 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004343/0.3034, allocations: 27.98 kB / 0.7378 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/0.3035, allocations: 32.23 kB / 0.7378 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.3035, allocations: 15.98 kB / 0.7378 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008481/0.3044, allocations: 0.618 MB / 0.7384 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3044, allocations: 0 / 0.7384 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001465/0.3058, allocations: 0.5029 MB / 0.7389 GB, free: 8.988 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.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: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009666/0.3068, allocations: 381.9 kB / 0.7393 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.3087, allocations: 0.8592 MB / 0.7401 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3087, allocations: 0 / 0.7401 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.3092, allocations: 217 kB / 0.7403 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.3113, allocations: 0.4908 MB / 0.7408 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.3144, allocations: 1.649 MB / 0.7424 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.3151, allocations: 1.052 MB / 0.7435 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.3154, allocations: 83.41 kB / 0.7435 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/0.3154, allocations: 0 / 0.7435 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of Templates: time 0.3614/0.6767, allocations: 17.63 MB / 0.7608 GB, free: 75.23 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)