Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005281/0.005281, allocations: 96.27 kB / 15.73 MB, free: 6.039 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.001138/0.001138, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7132/0.7132, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.39 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1538, allocations: 80.19 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02962/0.1834, allocations: 30.58 MB / 0.6895 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1967, allocations: 10.22 MB / 0.6995 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.198, allocations: 47.75 kB / 0.6995 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.1998, allocations: 0.6874 MB / 0.7002 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.2028, allocations: 1.46 MB / 0.7016 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.2055, allocations: 1.304 MB / 0.7029 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003684/0.2092, allocations: 2.889 MB / 0.7057 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.2105, allocations: 0.9254 MB / 0.7066 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.2129, allocations: 1.142 MB / 0.7078 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008651/0.2137, allocations: 0.77 MB / 0.7085 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.2139, allocations: 96 kB / 0.7086 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2154, allocations: 0.7879 MB / 0.7094 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.2157, allocations: 338.9 kB / 0.7097 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005138/0.2162, allocations: 0.5831 MB / 0.7103 GB, free: 9.543 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.2184, allocations: 1.896 MB / 0.7121 GB, free: 7.641 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2184, allocations: 0 / 0.7121 GB, free: 7.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.708e-06/0.2184, allocations: 4 kB / 0.7121 GB, free: 7.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.2184, allocations: 11.88 kB / 0.7121 GB, free: 7.625 MB / 0.545 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.002134/0.2205, allocations: 1.53 MB / 0.7136 GB, free: 6.035 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2206, allocations: 8.031 kB / 0.7136 GB, free: 6.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000916/0.2215, allocations: 212 kB / 0.7138 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.2231, allocations: 1.016 MB / 0.7148 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.2231, allocations: 45.31 kB / 0.7149 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.2232, allocations: 67.95 kB / 0.7149 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.2245, allocations: 0.7059 MB / 0.7156 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.2245, allocations: 0 / 0.7156 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.2246, allocations: 28 kB / 0.7156 GB, free: 3.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2246, allocations: 12 kB / 0.7157 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.2257, allocations: 0.5165 MB / 0.7162 GB, free: 3.359 MB / 0.545 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.003753/0.2294, allocations: 3.087 MB / 0.7192 GB, free: 96 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.2303, allocations: 373.9 kB / 0.7195 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.2308, allocations: 192.7 kB / 0.7197 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.2324, allocations: 1.489 MB / 0.7212 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/0.2329, allocations: 240.5 kB / 0.7214 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.233, allocations: 0 / 0.7214 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001319/0.2343, allocations: 0.5479 MB / 0.7219 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.2343, allocations: 59.34 kB / 0.722 GB, free: 13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.2353, allocations: 0.9034 MB / 0.7229 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.2354, allocations: 33.69 kB / 0.7229 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.2358, allocations: 0.4888 MB / 0.7234 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.2359, allocations: 107.1 kB / 0.7235 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.2361, allocations: 134.1 kB / 0.7236 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2362, allocations: 322 kB / 0.7239 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.2366, allocations: 198.9 kB / 0.7241 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/0.2372, allocations: 398.4 kB / 0.7245 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.2382, allocations: 0.5951 MB / 0.7251 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2382, allocations: 4 kB / 0.7251 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00133/0.2396, allocations: 0.715 MB / 0.7258 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.2396, allocations: 41.81 kB / 0.7258 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.2396, allocations: 4 kB / 0.7258 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.2397, allocations: 12 kB / 0.7258 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.2402, allocations: 131.7 kB / 0.726 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.2402, allocations: 8 kB / 0.726 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.2407, allocations: 80.14 kB / 0.726 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.2408, allocations: 31.98 kB / 0.7261 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006181/0.2414, allocations: 405 kB / 0.7265 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005463/0.242, allocations: 374.3 kB / 0.7268 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008018/0.2428, allocations: 0.5463 MB / 0.7273 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.2428, allocations: 0 / 0.7273 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001152/0.244, allocations: 0.655 MB / 0.728 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.244, allocations: 41.7 kB / 0.728 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.244, allocations: 8 kB / 0.728 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.2441, allocations: 8 kB / 0.728 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.2445, allocations: 119.8 kB / 0.7282 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.2445, allocations: 20.06 kB / 0.7282 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.245, allocations: 52.38 kB / 0.7282 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.608e-05/0.2451, allocations: 31.98 kB / 0.7283 GB, free: 6.152 MB / 0.5606 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.0001703/0.2452, allocations: 224 kB / 0.7285 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2454, allocations: 95.39 kB / 0.7286 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.2466, allocations: 0.5721 MB / 0.7291 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.2466, allocations: 11.92 kB / 0.7291 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2467, allocations: 4 kB / 0.7291 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009729/0.2476, allocations: 0.6387 MB / 0.7298 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.2497, allocations: 1.364 MB / 0.7311 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2498, allocations: 4 kB / 0.7311 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.2501, allocations: 76.06 kB / 0.7312 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.2501, allocations: 4 kB / 0.7312 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.2502, allocations: 11.98 kB / 0.7312 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.2502, allocations: 11.88 kB / 0.7312 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2502, allocations: 0 / 0.7312 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.2517, allocations: 0.8397 MB / 0.732 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.2519, allocations: 224.3 kB / 0.7322 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/0.2521, allocations: 12 kB / 0.7322 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2525, allocations: 23.98 kB / 0.7323 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.2526, allocations: 36.17 kB / 0.7323 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.2526, allocations: 19.98 kB / 0.7323 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000758/0.2534, allocations: 0.6219 MB / 0.7329 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2534, allocations: 4.062 kB / 0.7329 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001264/0.2546, allocations: 0.5067 MB / 0.7334 GB, free: 0.6484 MB / 0.5606 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.0007334/0.2554, allocations: 365.7 kB / 0.7338 GB, free: 300 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001626/0.257, allocations: 0.8557 MB / 0.7346 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.257, allocations: 7.938 kB / 0.7346 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/0.2575, allocations: 216.6 kB / 0.7348 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.2594, allocations: 0.492 MB / 0.7353 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.2619, allocations: 1.618 MB / 0.7369 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.2624, allocations: 1.056 MB / 0.7379 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000697/0.2631, allocations: 227.2 kB / 0.7381 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.2633, allocations: 87.41 kB / 0.7382 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.2633, allocations: 0 / 0.7382 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.02989/0.2932, allocations: 20.1 MB / 0.7578 GB, free: 7.859 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)