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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001078, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7409/0.7409, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 400.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009019/0.0009017, allocations: 96.14 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.041e-05, allocations: 7.391 kB / 0.56 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 82.3 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.483, allocations: 359.9 MB / 0.9919 GB, free: 207 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.483, allocations: 85.66 kB / 0.992 GB, free: 207 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.016/2.499, allocations: 295.5 MB / 1.281 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.704e-06/2.499, allocations: 0 / 1.281 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001798/2.5, allocations: 28.5 kB / 1.281 GB, free: 148.2 MB / 0.6823 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.003371/2.503, allocations: 1.238 MB / 1.282 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/2.503, allocations: 13.78 kB / 1.282 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/2.504, allocations: 182.4 kB / 1.282 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/2.528, allocations: 6.454 MB / 1.288 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/2.528, allocations: 47.72 kB / 1.288 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/2.528, allocations: 69.94 kB / 1.288 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/2.53, allocations: 0.6576 MB / 1.289 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/2.53, allocations: 0 / 1.289 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/2.53, allocations: 24.69 kB / 1.289 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/2.53, allocations: 19.31 kB / 1.289 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/2.531, allocations: 472.2 kB / 1.289 GB, free: 147 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005837/2.537, allocations: 2.772 MB / 1.292 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/2.538, allocations: 341.1 kB / 1.293 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/2.538, allocations: 158.5 kB / 1.293 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002863/2.541, allocations: 1.514 MB / 1.294 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/2.542, allocations: 223.5 kB / 1.294 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004606/2.542, allocations: 71.86 kB / 1.294 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.737e-06/2.542, allocations: 2.625 kB / 1.294 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001053/2.543, allocations: 380.6 kB / 1.295 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/2.543, allocations: 55.38 kB / 1.295 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/2.545, allocations: 0.7751 MB / 1.296 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/2.545, allocations: 35.98 kB / 1.296 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000533/2.546, allocations: 499.8 kB / 1.296 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/2.546, allocations: 112.6 kB / 1.296 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/2.546, allocations: 6.312 kB / 1.296 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.442e-05/2.546, allocations: 334.1 kB / 1.297 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/2.546, allocations: 144.3 kB / 1.297 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/2.547, allocations: 382.7 kB / 1.297 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/2.548, allocations: 221.6 kB / 1.297 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/2.548, allocations: 3.656 kB / 1.297 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001544/2.549, allocations: 0.6268 MB / 1.298 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005378/2.55, allocations: 2.299 MB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/2.55, allocations: 7.875 kB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/2.55, allocations: 13.22 kB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009809/2.551, allocations: 129 kB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/2.551, allocations: 16.55 kB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/2.552, allocations: 57.56 kB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/2.552, allocations: 39.88 kB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/2.552, allocations: 3.844 kB / 1.3 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/2.554, allocations: 0.5151 MB / 1.301 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/2.554, allocations: 10.16 kB / 1.301 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/2.554, allocations: 10.69 kB / 1.301 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/2.554, allocations: 128.9 kB / 1.301 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/2.554, allocations: 15.12 kB / 1.301 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.556, allocations: 59.08 kB / 1.301 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/2.556, allocations: 30.55 kB / 1.301 GB, free: 141 MB / 0.6823 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002104/2.556, allocations: 151.5 kB / 1.301 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/2.556, allocations: 87.38 kB / 1.301 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/2.558, allocations: 0.5554 MB / 1.302 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/2.558, allocations: 7.188 kB / 1.302 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/2.558, allocations: 0 / 1.302 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009164/2.559, allocations: 0.5966 MB / 1.302 GB, free: 140.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.003015/2.562, allocations: 1.388 MB / 1.304 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/2.562, allocations: 0 / 1.304 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/2.563, allocations: 79.95 kB / 1.304 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/2.563, allocations: 3.781 kB / 1.304 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/2.563, allocations: 17.62 kB / 1.304 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.937e-06/2.563, allocations: 6.281 kB / 1.304 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.563, allocations: 4.594 kB / 1.304 GB, free: 140 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/2.564, allocations: 0.8255 MB / 1.305 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/2.565, allocations: 219.9 kB / 1.305 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/2.565, allocations: 10.84 kB / 1.305 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009242/2.566, allocations: 51.69 kB / 1.305 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/2.566, allocations: 37.36 kB / 1.305 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/2.566, allocations: 19.12 kB / 1.305 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001224/2.567, allocations: 0.6026 MB / 1.306 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.01e-07/2.567, allocations: 3.031 kB / 1.306 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002775/2.57, allocations: 0.5794 MB / 1.306 GB, free: 139.4 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/2.572, allocations: 0.7658 MB / 1.307 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001878/2.574, allocations: 0.8099 MB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/2.574, allocations: 2.969 kB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004943/2.575, allocations: 203.3 kB / 1.308 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/2.578, allocations: 472.4 kB / 1.308 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/2.581, allocations: 1.198 MB / 1.31 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000669/2.582, allocations: 1.079 MB / 1.311 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002271/2.584, allocations: 330.2 kB / 1.311 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/2.584, allocations: 67.31 kB / 1.311 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/2.584, allocations: 0 / 1.311 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.07042/2.655, allocations: 25.22 MB / 1.336 GB, free: 136.6 MB / 0.6823 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)