Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_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.006273/0.006273, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.875/0.875, allocations: 135.2 MB / 151 MB, free: 13.82 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.584/1.584, allocations: 223.1 MB / 406.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009238, allocations: 97.16 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003847, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.466, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8289/1.295, allocations: 403.3 MB / 1.043 GB, free: 3.441 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.295, allocations: 90.83 kB / 1.043 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.371/7.666, allocations: 1.473 GB / 2.516 GB, free: 61.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.344e-06/7.667, allocations: 0.8125 kB / 2.516 GB, free: 61.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007612/7.667, allocations: 103 kB / 2.516 GB, free: 61.6 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.02082/7.688, allocations: 5.697 MB / 2.522 GB, free: 59.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/7.688, allocations: 12.25 kB / 2.522 GB, free: 59.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001632/7.69, allocations: 295.2 kB / 2.522 GB, free: 59.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007701/7.698, allocations: 1.126 MB / 2.523 GB, free: 59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06577/7.763, allocations: 29.04 MB / 2.552 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002984/7.764, allocations: 188.2 kB / 2.552 GB, free: 57.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/7.765, allocations: 242.2 kB / 2.552 GB, free: 57.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006001/7.771, allocations: 2.691 MB / 2.555 GB, free: 56.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/7.771, allocations: 10.41 kB / 2.555 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/7.771, allocations: 86.12 kB / 2.555 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/7.771, allocations: 50.5 kB / 2.555 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004899/7.776, allocations: 1.987 MB / 2.557 GB, free: 56.81 MB / 0.7292 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.02546/7.802, allocations: 12.32 MB / 2.569 GB, free: 50.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/7.806, allocations: 1.639 MB / 2.57 GB, free: 50.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009317/7.815, allocations: 4.128 MB / 2.574 GB, free: 48.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/7.815, allocations: 48.06 kB / 2.574 GB, free: 48.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002386/7.818, allocations: 236.2 kB / 2.575 GB, free: 48.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 7.544e-06/7.818, allocations: 4 kB / 2.575 GB, free: 48.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.01379/7.831, allocations: 4.001 MB / 2.578 GB, free: 47.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/7.831, allocations: 63.56 kB / 2.579 GB, free: 47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007072/7.839, allocations: 2.981 MB / 2.581 GB, free: 45.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000879/7.839, allocations: 75.5 kB / 2.582 GB, free: 45.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/7.841, allocations: 1.785 MB / 2.583 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007439/7.842, allocations: 406.8 kB / 2.584 GB, free: 44.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/7.842, allocations: 36.72 kB / 2.584 GB, free: 44.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001432/7.842, allocations: 383.7 kB / 2.584 GB, free: 43.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/7.844, allocations: 0.7668 MB / 2.585 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/7.846, allocations: 1.561 MB / 2.586 GB, free: 42.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/7.848, allocations: 0.9402 MB / 2.587 GB, free: 41.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/7.848, allocations: 7.25 kB / 2.587 GB, free: 41.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006704/7.855, allocations: 2.908 MB / 2.59 GB, free: 40.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001864/7.857, allocations: 8.168 MB / 2.598 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/7.857, allocations: 21.81 kB / 2.598 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/7.859, allocations: 0.6748 MB / 2.599 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/7.861, allocations: 394.1 kB / 2.599 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/7.865, allocations: 5.159 MB / 2.604 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/7.869, allocations: 219 kB / 2.604 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006154/7.87, allocations: 178.1 kB / 2.605 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/7.87, allocations: 3.062 kB / 2.605 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00645/7.876, allocations: 2.952 MB / 2.607 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/7.876, allocations: 16.25 kB / 2.607 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002941/7.879, allocations: 1.083 MB / 2.609 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/7.88, allocations: 369.4 kB / 2.609 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/7.898, allocations: 14.44 MB / 2.623 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/7.902, allocations: 216.9 kB / 2.623 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/7.902, allocations: 155.6 kB / 2.623 GB, free: 12.56 MB / 0.7292 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 () * Number of clocked 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.002763/7.905, allocations: 0.8689 MB / 2.624 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/7.906, allocations: 373.9 kB / 2.625 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008743/7.915, allocations: 3.075 MB / 2.628 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.093e-05/7.915, allocations: 16 kB / 2.628 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.915, allocations: 0 / 2.628 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/7.915, allocations: 7.453 kB / 2.628 GB, free: 8.871 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.01477/7.93, allocations: 5.182 MB / 2.633 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/7.93, allocations: 0 / 2.633 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/7.931, allocations: 216.1 kB / 2.633 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/7.933, allocations: 0.6612 MB / 2.633 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/7.933, allocations: 46.97 kB / 2.633 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/7.936, allocations: 5.041 MB / 2.638 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/7.936, allocations: 4.031 kB / 2.638 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007425/7.943, allocations: 2.797 MB / 2.641 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/7.946, allocations: 0.6165 MB / 2.642 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007442/7.947, allocations: 31.95 kB / 2.642 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/7.949, allocations: 208.6 kB / 2.642 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/7.949, allocations: 92.66 kB / 2.642 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/7.95, allocations: 79.94 kB / 2.642 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.004623/7.954, allocations: 2.286 MB / 2.644 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.41e-07/7.954, allocations: 4 kB / 2.644 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.009493/7.964, allocations: 2.031 MB / 2.646 GB, free: 7.113 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 () * Number of clocked 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.01124/7.975, allocations: 5.583 MB / 2.652 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009769/7.985, allocations: 3.97 MB / 2.656 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/7.985, allocations: 0 / 2.656 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002614/7.988, allocations: 0.9683 MB / 2.657 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009112/7.997, allocations: 1.696 MB / 2.658 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6168/8.614, allocations: 21.13 MB / 2.679 GB, free: 77.27 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007649/8.621, allocations: 2.333 MB / 2.681 GB, free: 76.51 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006926/8.628, allocations: 0.8267 MB / 2.682 GB, free: 76.48 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003995/8.632, allocations: 1.633 MB / 2.684 GB, free: 76.48 MB / 0.7605 GB Notification: Performance of SimCode: time 1.403e-06/8.632, allocations: 0 / 2.684 GB, free: 76.48 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/8.875, allocations: 129.5 MB / 2.81 GB, free: 70.06 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/8.875, allocations: 250.1 kB / 2.81 GB, free: 69.72 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/16.03, allocations: 4.062 kB / 2.81 GB, free: 69.72 MB / 0.7605 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)