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.001061/0.001061, allocations: 104.8 kB / 16.41 MB, free: 6.496 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.001039/0.001039, allocations: 191 kB / 17.34 MB, free: 5.762 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7731/0.7731, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 75.66 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1401, allocations: 80.93 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02847/0.1686, allocations: 30.57 MB / 0.6951 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.1822, allocations: 10.22 MB / 0.7051 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.1838, allocations: 43.75 kB / 0.7052 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.1859, allocations: 0.6875 MB / 0.7058 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.1898, allocations: 1.461 MB / 0.7073 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.1927, allocations: 1.303 MB / 0.7085 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003899/0.1967, allocations: 2.885 MB / 0.7114 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.1981, allocations: 0.9332 MB / 0.7123 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.2007, allocations: 1.167 MB / 0.7134 GB, free: 4.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.202, allocations: 0.7584 MB / 0.7141 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.2023, allocations: 100 kB / 0.7142 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.2042, allocations: 0.8035 MB / 0.715 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.2046, allocations: 331 kB / 0.7153 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008394/0.2054, allocations: 0.5831 MB / 0.7159 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002824/0.2082, allocations: 1.889 MB / 0.7178 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2083, allocations: 0 / 0.7178 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2083, allocations: 0 / 0.7178 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.299e-05/0.2083, allocations: 0 / 0.7178 GB, free: 15.91 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.002298/0.2106, allocations: 1.501 MB / 0.7192 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2107, allocations: 13.11 kB / 0.7192 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.2116, allocations: 195.3 kB / 0.7194 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.2131, allocations: 1.007 MB / 0.7204 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.2132, allocations: 53.31 kB / 0.7205 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/0.2133, allocations: 64 kB / 0.7205 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2144, allocations: 0.702 MB / 0.7212 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2145, allocations: 4 kB / 0.7212 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.2145, allocations: 23.94 kB / 0.7212 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.2145, allocations: 16 kB / 0.7212 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2156, allocations: 0.5203 MB / 0.7218 GB, free: 11.69 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.003478/0.2191, allocations: 3.078 MB / 0.7248 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.22, allocations: 374.6 kB / 0.7251 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.2204, allocations: 180.8 kB / 0.7253 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.222, allocations: 1.493 MB / 0.7267 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/0.2225, allocations: 239.5 kB / 0.727 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/0.2226, allocations: 0 / 0.727 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001286/0.2238, allocations: 0.5393 MB / 0.7275 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2239, allocations: 59.34 kB / 0.7276 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009425/0.2248, allocations: 0.9033 MB / 0.7284 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.2249, allocations: 37.7 kB / 0.7285 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.2252, allocations: 487.8 kB / 0.7289 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.505e-05/0.2253, allocations: 114.4 kB / 0.7291 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.2255, allocations: 126.1 kB / 0.7292 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.2256, allocations: 322 kB / 0.7295 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.226, allocations: 199 kB / 0.7297 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005515/0.2266, allocations: 402.1 kB / 0.7301 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/0.2276, allocations: 0.5984 MB / 0.7306 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.2276, allocations: 4 kB / 0.7306 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001246/0.2288, allocations: 0.7069 MB / 0.7313 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.2289, allocations: 35.73 kB / 0.7314 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2289, allocations: 11.92 kB / 0.7314 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2289, allocations: 8 kB / 0.7314 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.2294, allocations: 136 kB / 0.7315 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.2294, allocations: 11.94 kB / 0.7315 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/0.2299, allocations: 76 kB / 0.7316 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/0.23, allocations: 27.98 kB / 0.7316 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005645/0.2305, allocations: 401.1 kB / 0.732 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004546/0.231, allocations: 374.3 kB / 0.7324 GB, free: 92 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007839/0.2318, allocations: 0.5502 MB / 0.7329 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.2318, allocations: 4 kB / 0.7329 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.00105/0.2329, allocations: 0.6461 MB / 0.7335 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2329, allocations: 37.69 kB / 0.7336 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2329, allocations: 8 kB / 0.7336 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.2329, allocations: 8 kB / 0.7336 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.2333, allocations: 124.2 kB / 0.7337 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2333, allocations: 15.88 kB / 0.7337 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004375/0.2338, allocations: 60.22 kB / 0.7338 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.2338, allocations: 31.98 kB / 0.7338 GB, free: 14.5 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.0001529/0.234, allocations: 216 kB / 0.734 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2341, allocations: 86.88 kB / 0.7341 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.2353, allocations: 0.5762 MB / 0.7347 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.2353, allocations: 7.938 kB / 0.7347 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2353, allocations: 3.984 kB / 0.7347 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009092/0.2363, allocations: 0.6463 MB / 0.7353 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.2381, allocations: 1.356 MB / 0.7366 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2381, allocations: 0 / 0.7366 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003513/0.2385, allocations: 79.88 kB / 0.7367 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2385, allocations: 4 kB / 0.7367 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.2385, allocations: 11.98 kB / 0.7367 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2386, allocations: 4.156 kB / 0.7367 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2386, allocations: 128 / 0.7367 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.24, allocations: 0.8278 MB / 0.7375 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.2402, allocations: 219.7 kB / 0.7377 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.559e-05/0.2403, allocations: 11.94 kB / 0.7378 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.2407, allocations: 23.98 kB / 0.7378 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.2408, allocations: 40.23 kB / 0.7378 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.2408, allocations: 11.98 kB / 0.7378 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006991/0.2416, allocations: 0.6219 MB / 0.7384 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2416, allocations: 0 / 0.7384 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001223/0.2428, allocations: 0.4991 MB / 0.7389 GB, free: 9.059 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.0007128/0.2435, allocations: 396.5 kB / 0.7393 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.245, allocations: 0.8554 MB / 0.7401 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.245, allocations: 0 / 0.7401 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.2455, allocations: 216.9 kB / 0.7403 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.2474, allocations: 0.4901 MB / 0.7408 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.2501, allocations: 1.645 MB / 0.7424 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.2508, allocations: 1.048 MB / 0.7434 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.251, allocations: 87.41 kB / 0.7435 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.251, allocations: 0 / 0.7435 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of Templates: time 0.3387/0.5897, allocations: 17.79 MB / 0.7609 GB, free: 75.22 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)