Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 174.6 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.7254/0.7254, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.593/1.593, allocations: 221.3 MB / 400.4 MB, free: 5.785 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.001107/0.001107, allocations: 105.9 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.758e-05/4.772e-05, allocations: 5.75 kB / 0.56 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1893, allocations: 82.3 MB / 0.6404 GB, free: 7.812 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.557/1.746, allocations: 403.2 MB / 1.034 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.747, allocations: 86.14 kB / 1.034 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.557/7.304, allocations: 1.469 GB / 2.503 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.924e-06/7.304, allocations: 0 / 2.503 GB, free: 42.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007782/7.305, allocations: 106.1 kB / 2.503 GB, free: 42.59 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01161/7.316, allocations: 3.717 MB / 2.507 GB, free: 40.69 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/7.317, allocations: 7.469 kB / 2.507 GB, free: 40.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007142/7.324, allocations: 1.131 MB / 2.508 GB, free: 40.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06334/7.387, allocations: 28.88 MB / 2.536 GB, free: 37.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/7.387, allocations: 182.2 kB / 2.536 GB, free: 37.31 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/7.389, allocations: 252.7 kB / 2.536 GB, free: 37.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008263/7.397, allocations: 2.559 MB / 2.539 GB, free: 36.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.827e-05/7.397, allocations: 7.719 kB / 2.539 GB, free: 36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/7.398, allocations: 88.25 kB / 2.539 GB, free: 35.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/7.398, allocations: 49.03 kB / 2.539 GB, free: 35.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003457/7.401, allocations: 1.759 MB / 2.541 GB, free: 35.29 MB / 0.7292 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.01934/7.421, allocations: 12.32 MB / 2.553 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/7.423, allocations: 1.441 MB / 2.554 GB, free: 26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00083/7.423, allocations: 0.6361 MB / 2.555 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008264/7.432, allocations: 4.184 MB / 2.559 GB, free: 21.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/7.432, allocations: 47.56 kB / 2.559 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001968/7.434, allocations: 230.2 kB / 2.559 GB, free: 21.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 7.003e-06/7.434, allocations: 0.75 kB / 2.559 GB, free: 21.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.005144/7.439, allocations: 1.969 MB / 2.561 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/7.439, allocations: 64.41 kB / 2.561 GB, free: 19.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/7.446, allocations: 2.957 MB / 2.564 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00069/7.447, allocations: 65.7 kB / 2.564 GB, free: 16.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/7.449, allocations: 1.775 MB / 2.566 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007687/7.449, allocations: 410 kB / 2.566 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004128/7.45, allocations: 39.98 kB / 2.566 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001832/7.45, allocations: 377.9 kB / 2.567 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/7.451, allocations: 0.66 MB / 2.567 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/7.453, allocations: 1.457 MB / 2.569 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/7.455, allocations: 0.8427 MB / 2.57 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/7.455, allocations: 4 kB / 2.57 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005656/7.46, allocations: 2.683 MB / 2.572 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00179/7.462, allocations: 8.161 MB / 2.58 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.386e-05/7.462, allocations: 27.92 kB / 2.58 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/7.464, allocations: 0.6336 MB / 2.581 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/7.466, allocations: 395.3 kB / 2.581 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004172/7.47, allocations: 5.11 MB / 2.586 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/7.474, allocations: 223.8 kB / 2.586 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005912/7.475, allocations: 183.9 kB / 2.587 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/7.475, allocations: 4 kB / 2.587 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006704/7.481, allocations: 2.735 MB / 2.589 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.243e-05/7.482, allocations: 20 kB / 2.589 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/7.485, allocations: 1.058 MB / 2.59 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/7.486, allocations: 371.4 kB / 2.591 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6629/8.149, allocations: 14.01 MB / 2.604 GB, free: 51.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/8.153, allocations: 213.2 kB / 2.604 GB, free: 51.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/8.154, allocations: 154.4 kB / 2.605 GB, free: 51.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007264/8.154, allocations: 221.5 kB / 2.605 GB, free: 51.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009426/8.155, allocations: 367.4 kB / 2.605 GB, free: 51.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007888/8.163, allocations: 2.853 MB / 2.608 GB, free: 51.29 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/8.163, allocations: 14.34 kB / 2.608 GB, free: 51.29 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/8.163, allocations: 4.5 kB / 2.608 GB, free: 51.29 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/8.163, allocations: 5.812 kB / 2.608 GB, free: 51.29 MB / 0.7448 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.0119/8.175, allocations: 4.956 MB / 2.613 GB, free: 50.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/8.175, allocations: 1.188 kB / 2.613 GB, free: 50.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/8.176, allocations: 215.2 kB / 2.613 GB, free: 50.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/8.178, allocations: 0.6309 MB / 2.614 GB, free: 50.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/8.178, allocations: 56.39 kB / 2.614 GB, free: 50.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/8.181, allocations: 4.97 MB / 2.619 GB, free: 46.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/8.181, allocations: 0 / 2.619 GB, free: 46.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006246/8.187, allocations: 2.57 MB / 2.621 GB, free: 45.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002872/8.19, allocations: 0.6176 MB / 2.622 GB, free: 45.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005494/8.191, allocations: 28.25 kB / 2.622 GB, free: 45.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/8.193, allocations: 209.8 kB / 2.622 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/8.193, allocations: 91.47 kB / 2.622 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/8.193, allocations: 85.3 kB / 2.622 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004496/8.198, allocations: 2.248 MB / 2.624 GB, free: 45.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.704e-06/8.198, allocations: 0 / 2.624 GB, free: 45.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01025/8.208, allocations: 2.041 MB / 2.626 GB, free: 45.3 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004486/8.212, allocations: 2.372 MB / 2.629 GB, free: 44.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006599/8.219, allocations: 3.791 MB / 2.632 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/8.219, allocations: 1.875 kB / 2.632 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/8.221, allocations: 0.8521 MB / 2.633 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009133/8.23, allocations: 1.695 MB / 2.635 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/8.242, allocations: 4.599 MB / 2.639 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003567/8.246, allocations: 2.338 MB / 2.642 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.007551/8.253, allocations: 1.288 MB / 2.643 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/8.254, allocations: 208.4 kB / 2.643 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of SimCode: time 1.623e-06/8.254, allocations: 0 / 2.643 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.1692/8.423, allocations: 103.8 MB / 2.744 GB, free: 36.43 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)