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.001237/0.001237, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001198/0.001198, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.304/1.304, 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/package.mo): time 0.7732/0.7732, allocations: 132.2 MB / 423.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.95 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 80.22 MB / 0.6603 GB, free: 10.25 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.03025/0.1586, allocations: 30.56 MB / 0.6902 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.1733, allocations: 10.22 MB / 0.7002 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.1747, allocations: 43.75 kB / 0.7002 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.1767, allocations: 0.6914 MB / 0.7009 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003604/0.1804, allocations: 1.497 MB / 0.7023 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.1832, allocations: 1.311 MB / 0.7036 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.1866, allocations: 2.893 MB / 0.7065 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.1879, allocations: 0.9176 MB / 0.7073 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.1903, allocations: 1.172 MB / 0.7085 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.1914, allocations: 0.7739 MB / 0.7092 GB, free: 7.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.1916, allocations: 96 kB / 0.7093 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.1932, allocations: 0.7997 MB / 0.7101 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.1936, allocations: 334.9 kB / 0.7104 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.1943, allocations: 0.5792 MB / 0.711 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.1968, allocations: 1.897 MB / 0.7129 GB, free: 4.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1968, allocations: 0 / 0.7129 GB, free: 4.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1968, allocations: 0 / 0.7129 GB, free: 4.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.665e-05/0.1969, allocations: 0 / 0.7129 GB, free: 4.289 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.002418/0.1993, allocations: 1.489 MB / 0.7143 GB, free: 2.742 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1993, allocations: 11.97 kB / 0.7143 GB, free: 2.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009953/0.2003, allocations: 207.3 kB / 0.7145 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.202, allocations: 1.003 MB / 0.7155 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.2021, allocations: 49.31 kB / 0.7155 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-05/0.2022, allocations: 64 kB / 0.7156 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.2035, allocations: 0.702 MB / 0.7163 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2035, allocations: 0 / 0.7163 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.033e-05/0.2035, allocations: 28 kB / 0.7163 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.2036, allocations: 12 kB / 0.7163 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.2047, allocations: 0.5281 MB / 0.7168 GB, free: 72 kB / 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.003821/0.2086, allocations: 3.078 MB / 0.7199 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.2095, allocations: 374.7 kB / 0.7202 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.2099, allocations: 184.8 kB / 0.7204 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.2117, allocations: 1.485 MB / 0.7218 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.2123, allocations: 236.5 kB / 0.7221 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.2123, allocations: 0 / 0.7221 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001401/0.2137, allocations: 0.5512 MB / 0.7226 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.2138, allocations: 59.34 kB / 0.7227 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2148, allocations: 0.8994 MB / 0.7235 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.2149, allocations: 33.7 kB / 0.7236 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.2152, allocations: 495.7 kB / 0.724 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.2153, allocations: 110.5 kB / 0.7241 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.2155, allocations: 118.1 kB / 0.7243 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2157, allocations: 330 kB / 0.7246 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.2161, allocations: 199 kB / 0.7248 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.2168, allocations: 402.8 kB / 0.7251 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.2178, allocations: 0.5906 MB / 0.7257 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2178, allocations: 4 kB / 0.7257 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001388/0.2192, allocations: 0.7069 MB / 0.7264 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.2193, allocations: 33.7 kB / 0.7265 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2193, allocations: 12.03 kB / 0.7265 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2193, allocations: 8 kB / 0.7265 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.2198, allocations: 127.8 kB / 0.7266 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.2199, allocations: 15.88 kB / 0.7266 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.2204, allocations: 80 kB / 0.7267 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.2205, allocations: 28 kB / 0.7267 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006443/0.2211, allocations: 401.1 kB / 0.7271 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005276/0.2217, allocations: 374.3 kB / 0.7274 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008769/0.2226, allocations: 0.5386 MB / 0.728 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.2226, allocations: 4 kB / 0.728 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001197/0.2238, allocations: 0.6543 MB / 0.7286 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2238, allocations: 41.69 kB / 0.7287 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2238, allocations: 8.094 kB / 0.7287 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.2238, allocations: 8 kB / 0.7287 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.2243, allocations: 119.8 kB / 0.7288 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.2243, allocations: 11.94 kB / 0.7288 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.2248, allocations: 60.16 kB / 0.7289 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.2248, allocations: 32 kB / 0.7289 GB, free: 2.906 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.000164/0.225, allocations: 228 kB / 0.7291 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.2251, allocations: 90.88 kB / 0.7292 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.2264, allocations: 0.574 MB / 0.7298 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009758/0.2274, allocations: 0.6466 MB / 0.7304 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2274, allocations: 7.875 kB / 0.7304 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.2277, allocations: 215.8 kB / 0.7306 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.2278, allocations: 4 kB / 0.7306 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.2282, allocations: 19.98 kB / 0.7306 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.2283, allocations: 35.95 kB / 0.7307 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001312/0.2296, allocations: 0.5428 MB / 0.7312 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001613/0.2313, allocations: 0.9021 MB / 0.7321 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004335/0.2317, allocations: 202.4 kB / 0.7323 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007698/0.2325, allocations: 0.6219 MB / 0.7329 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of Backend: time 3.21e-07/0.2325, allocations: 3.938 kB / 0.7329 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002484/0.235, allocations: 1.051 MB / 0.7339 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003707/0.2387, allocations: 2.356 MB / 0.7362 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.2986/0.5373, allocations: 22.17 MB / 0.7578 GB, free: 80.11 MB / 0.5762 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)