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.001702/0.001702, allocations: 112 kB / 16.41 MB, free: 6.016 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.001911/0.001911, allocations: 182.8 kB / 17.34 MB, free: 5.629 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.454/1.454, 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.8561/0.8561, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002519/0.002519, allocations: 57.41 kB / 0.5863 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1936, allocations: 80.94 MB / 0.6653 GB, free: 5.723 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.0369/0.2305, allocations: 30.62 MB / 0.6953 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.248, allocations: 10.24 MB / 0.7053 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002055/0.2501, allocations: 43.75 kB / 0.7053 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002705/0.2528, allocations: 0.703 MB / 0.706 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00517/0.2579, allocations: 1.496 MB / 0.7074 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.2618, allocations: 1.31 MB / 0.7087 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005205/0.267, allocations: 2.889 MB / 0.7115 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.2685, allocations: 0.781 MB / 0.7123 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003232/0.2718, allocations: 1.166 MB / 0.7134 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.273, allocations: 0.7661 MB / 0.7142 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.2732, allocations: 96 kB / 0.7143 GB, free: 3.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.275, allocations: 0.8035 MB / 0.7151 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004/0.2754, allocations: 350.7 kB / 0.7154 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006854/0.2761, allocations: 0.5753 MB / 0.716 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00304/0.2792, allocations: 1.904 MB / 0.7178 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2792, allocations: 0 / 0.7178 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2792, allocations: 4 kB / 0.7178 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.2792, allocations: 0 / 0.7178 GB, free: 15.79 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.002877/0.2821, allocations: 1.538 MB / 0.7193 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2821, allocations: 9.109 kB / 0.7193 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.2832, allocations: 208 kB / 0.7195 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.2851, allocations: 1.008 MB / 0.7205 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.2852, allocations: 49.31 kB / 0.7206 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2853, allocations: 72 kB / 0.7206 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2867, allocations: 0.6981 MB / 0.7213 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2867, allocations: 0 / 0.7213 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.2868, allocations: 28 kB / 0.7213 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.2868, allocations: 12 kB / 0.7214 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.288, allocations: 0.5242 MB / 0.7219 GB, free: 11.53 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.004636/0.2927, allocations: 3.079 MB / 0.7249 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.2937, allocations: 354.6 kB / 0.7252 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.2941, allocations: 170.1 kB / 0.7254 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002211/0.2963, allocations: 1.493 MB / 0.7268 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005943/0.2969, allocations: 239.5 kB / 0.7271 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.953e-06/0.2969, allocations: 4 kB / 0.7271 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.00154/0.2985, allocations: 0.5436 MB / 0.7276 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2985, allocations: 63.34 kB / 0.7277 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.2998, allocations: 0.8995 MB / 0.7285 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.2999, allocations: 41.69 kB / 0.7286 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.3004, allocations: 488.5 kB / 0.729 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3005, allocations: 115.1 kB / 0.7292 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.3008, allocations: 126.1 kB / 0.7293 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3009, allocations: 322 kB / 0.7296 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.3015, allocations: 203 kB / 0.7298 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.3021, allocations: 406.1 kB / 0.7302 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3033, allocations: 0.5906 MB / 0.7307 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.3033, allocations: 4 kB / 0.7307 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001591/0.3049, allocations: 0.715 MB / 0.7314 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.3049, allocations: 37.69 kB / 0.7315 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.3049, allocations: 4 kB / 0.7315 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.608e-05/0.305, allocations: 12 kB / 0.7315 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/0.3055, allocations: 132.1 kB / 0.7316 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.069e-05/0.3055, allocations: 16 kB / 0.7316 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.3062, allocations: 80.17 kB / 0.7317 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.3063, allocations: 31.98 kB / 0.7317 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007497/0.307, allocations: 401.1 kB / 0.7321 GB, free: 400 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005954/0.3076, allocations: 374.3 kB / 0.7325 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009716/0.3086, allocations: 0.5464 MB / 0.733 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.3086, allocations: 0 / 0.733 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001422/0.31, allocations: 0.6581 MB / 0.7337 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.758e-05/0.3101, allocations: 33.7 kB / 0.7337 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3101, allocations: 8 kB / 0.7337 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3101, allocations: 8.562 kB / 0.7337 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.3105, allocations: 123.8 kB / 0.7338 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.3106, allocations: 19.86 kB / 0.7338 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/0.3111, allocations: 56.38 kB / 0.7339 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.3112, allocations: 35.98 kB / 0.7339 GB, free: 14.35 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.0002543/0.3115, allocations: 212.1 kB / 0.7341 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.3116, allocations: 91.39 kB / 0.7342 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.3131, allocations: 0.58 MB / 0.7348 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.3131, allocations: 11.92 kB / 0.7348 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3131, allocations: 0 / 0.7348 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.3143, allocations: 0.6508 MB / 0.7354 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.3168, allocations: 1.356 MB / 0.7368 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3168, allocations: 4 kB / 0.7368 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.3172, allocations: 71.88 kB / 0.7368 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.998e-06/0.3172, allocations: 4 kB / 0.7368 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.3173, allocations: 15.98 kB / 0.7368 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.3173, allocations: 4.125 kB / 0.7368 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3173, allocations: 4 kB / 0.7369 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.319, allocations: 0.8347 MB / 0.7377 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.3194, allocations: 228.2 kB / 0.7379 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3196, allocations: 8 kB / 0.7379 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.32, allocations: 24.05 kB / 0.7379 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3201, allocations: 32.23 kB / 0.7379 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.3201, allocations: 19.98 kB / 0.738 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009513/0.3211, allocations: 0.618 MB / 0.7386 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3211, allocations: 0 / 0.7386 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001647/0.3227, allocations: 0.5106 MB / 0.7391 GB, free: 8.871 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.001013/0.3237, allocations: 390.5 kB / 0.7394 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.3257, allocations: 0.8204 MB / 0.7402 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.3257, allocations: 7.938 kB / 0.7402 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.3263, allocations: 204.9 kB / 0.7404 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.3285, allocations: 497.1 kB / 0.7409 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.3318, allocations: 1.678 MB / 0.7426 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.3326, allocations: 1.052 MB / 0.7436 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.3329, allocations: 83.41 kB / 0.7437 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.3329, allocations: 0 / 0.7437 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of Templates: time 0.3577/0.6906, allocations: 17.71 MB / 0.761 GB, free: 75.57 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)