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: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001392, 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.7669/0.7669, 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.567/1.567, allocations: 221.3 MB / 400.4 MB, free: 5.801 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.0008949/0.0008951, allocations: 92.41 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.594e-05, allocations: 2.562 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1729, allocations: 82.31 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/1.546, allocations: 403.2 MB / 1.034 GB, free: 218.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.546, allocations: 91.95 kB / 1.034 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.681/7.228, allocations: 1.469 GB / 2.503 GB, free: 43.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/7.228, allocations: 0 / 2.503 GB, free: 43.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.00091/7.229, allocations: 105 kB / 2.503 GB, free: 43.73 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.01328/7.242, allocations: 3.712 MB / 2.507 GB, free: 41.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/7.242, allocations: 11.56 kB / 2.507 GB, free: 41.86 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001251/7.243, allocations: 293.4 kB / 2.507 GB, free: 41.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007409/7.251, allocations: 1.128 MB / 2.508 GB, free: 41.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06611/7.317, allocations: 28.88 MB / 2.536 GB, free: 39.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/7.317, allocations: 182.6 kB / 2.536 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/7.318, allocations: 248.4 kB / 2.537 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008176/7.327, allocations: 2.566 MB / 2.539 GB, free: 39.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-05/7.327, allocations: 7.469 kB / 2.539 GB, free: 39.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006533/7.327, allocations: 87.84 kB / 2.539 GB, free: 39.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.274e-05/7.327, allocations: 49.94 kB / 2.539 GB, free: 39.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004781/7.332, allocations: 1.762 MB / 2.541 GB, free: 38.53 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.02347/7.356, allocations: 12.32 MB / 2.553 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/7.358, allocations: 1.442 MB / 2.554 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/7.359, allocations: 0.6379 MB / 2.555 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008742/7.368, allocations: 4.174 MB / 2.559 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/7.368, allocations: 43.22 kB / 2.559 GB, free: 26.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002134/7.37, allocations: 234.1 kB / 2.559 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 1.058e-05/7.37, allocations: 3.938 kB / 2.559 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.005192/7.376, allocations: 1.974 MB / 2.561 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/7.376, allocations: 67.8 kB / 2.561 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007031/7.383, allocations: 2.944 MB / 2.564 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005402/7.383, allocations: 64.22 kB / 2.564 GB, free: 24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002184/7.385, allocations: 1.784 MB / 2.566 GB, free: 22.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007137/7.386, allocations: 403.9 kB / 2.566 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003526/7.387, allocations: 35.81 kB / 2.566 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001837/7.387, allocations: 383.5 kB / 2.567 GB, free: 21.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/7.388, allocations: 0.6526 MB / 2.567 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/7.39, allocations: 1.459 MB / 2.569 GB, free: 20.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/7.391, allocations: 0.84 MB / 2.57 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/7.391, allocations: 7.812 kB / 2.57 GB, free: 20.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.005744/7.397, allocations: 2.683 MB / 2.572 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001898/7.399, allocations: 8.169 MB / 2.58 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/7.399, allocations: 16 kB / 2.58 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/7.401, allocations: 0.6387 MB / 2.581 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/7.403, allocations: 397.6 kB / 2.581 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/7.406, allocations: 5.11 MB / 2.586 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/7.409, allocations: 224 kB / 2.587 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/7.41, allocations: 174.1 kB / 2.587 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/7.41, allocations: 5.094 kB / 2.587 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005307/7.415, allocations: 2.747 MB / 2.589 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-05/7.415, allocations: 19.8 kB / 2.589 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/7.418, allocations: 1.06 MB / 2.59 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/7.42, allocations: 366.3 kB / 2.591 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/7.438, allocations: 14.02 MB / 2.604 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/7.442, allocations: 217.9 kB / 2.605 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005747/7.443, allocations: 151.9 kB / 2.605 GB, free: 0.5547 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.0009981/7.444, allocations: 224.3 kB / 2.605 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.6088/8.052, allocations: 360.9 kB / 2.605 GB, free: 59.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008843/8.061, allocations: 2.839 MB / 2.608 GB, free: 59.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/8.061, allocations: 16.7 kB / 2.608 GB, free: 59.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/8.061, allocations: 5.406 kB / 2.608 GB, free: 59.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/8.061, allocations: 8.797 kB / 2.608 GB, free: 59.07 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.01514/8.077, allocations: 4.963 MB / 2.613 GB, free: 58.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/8.077, allocations: 3.125 kB / 2.613 GB, free: 58.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/8.078, allocations: 212 kB / 2.613 GB, free: 58.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/8.081, allocations: 0.6197 MB / 2.614 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/8.081, allocations: 53.83 kB / 2.614 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/8.086, allocations: 4.982 MB / 2.619 GB, free: 54.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/8.086, allocations: 5.125 kB / 2.619 GB, free: 54.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008923/8.095, allocations: 2.566 MB / 2.621 GB, free: 53.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003158/8.098, allocations: 0.6221 MB / 2.622 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/8.099, allocations: 28.11 kB / 2.622 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003786/8.103, allocations: 207.9 kB / 2.622 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/8.103, allocations: 93.31 kB / 2.622 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000273/8.103, allocations: 78.81 kB / 2.622 GB, free: 53.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.006216/8.11, allocations: 2.252 MB / 2.624 GB, free: 53.49 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.004e-06/8.11, allocations: 3.906 kB / 2.624 GB, free: 53.49 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01367/8.123, allocations: 2.031 MB / 2.626 GB, free: 53.41 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.01449/8.138, allocations: 5.373 MB / 2.632 GB, free: 51.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01142/8.149, allocations: 3.794 MB / 2.635 GB, free: 51.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/8.149, allocations: 1.625 kB / 2.635 GB, free: 51.17 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/8.152, allocations: 0.8621 MB / 2.636 GB, free: 51.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/8.165, allocations: 1.694 MB / 2.638 GB, free: 51.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/8.187, allocations: 5.484 MB / 2.643 GB, free: 49.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/8.19, allocations: 2.334 MB / 2.646 GB, free: 49.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.01181/8.202, allocations: 1.286 MB / 2.647 GB, free: 49.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005806/8.208, allocations: 1.579 MB / 2.648 GB, free: 49 MB / 0.7448 GB Notification: Performance of SimCode: time 3.025e-06/8.208, allocations: 0 / 2.648 GB, free: 49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2337/8.442, allocations: 139.8 MB / 2.785 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/8.442, allocations: 229.6 kB / 2.785 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/15.75, allocations: 0 / 2.785 GB, free: 41.3 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)