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.00136/0.00136, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8124/0.8124, allocations: 133.6 MB / 141.6 MB, free: 2.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.5 MB / 395.4 MB, free: 10.86 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.001033/0.001034, allocations: 107.7 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.124e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5478, allocations: 82.3 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9142/1.462, allocations: 402.5 MB / 1.027 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.462, allocations: 87.45 kB / 1.027 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.039/7.501, allocations: 1.46 GB / 2.487 GB, free: 80.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/7.501, allocations: 0 / 2.487 GB, free: 80.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004839/7.502, allocations: 107.4 kB / 2.487 GB, free: 80.72 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.009741/7.512, allocations: 3.718 MB / 2.49 GB, free: 79.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/7.512, allocations: 11.84 kB / 2.49 GB, free: 79.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006871/7.518, allocations: 1.123 MB / 2.492 GB, free: 78.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06127/7.58, allocations: 28.81 MB / 2.52 GB, free: 77.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/7.58, allocations: 70.03 kB / 2.52 GB, free: 77.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009987/7.581, allocations: 143.3 kB / 2.52 GB, free: 77.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004211/7.585, allocations: 1.889 MB / 2.522 GB, free: 77.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/7.589, allocations: 2.275 MB / 2.524 GB, free: 76.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/7.589, allocations: 2.094 kB / 2.524 GB, free: 76.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/7.589, allocations: 3.156 kB / 2.524 GB, free: 76.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/7.589, allocations: 52.73 kB / 2.524 GB, free: 76.7 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.02105/7.61, allocations: 11.9 MB / 2.536 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/7.613, allocations: 2.005 MB / 2.538 GB, free: 70.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/7.614, allocations: 0.8146 MB / 2.538 GB, free: 70.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007177/7.621, allocations: 4.056 MB / 2.542 GB, free: 68.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/7.621, allocations: 46.5 kB / 2.542 GB, free: 68.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001611/7.623, allocations: 173.2 kB / 2.543 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 4.188e-06/7.623, allocations: 0 / 2.543 GB, free: 68.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.006828/7.63, allocations: 2.701 MB / 2.545 GB, free: 68.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/7.63, allocations: 66.75 kB / 2.545 GB, free: 68.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/7.634, allocations: 2.61 MB / 2.548 GB, free: 68.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004169/7.634, allocations: 26.86 kB / 2.548 GB, free: 68.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/7.636, allocations: 1.778 MB / 2.55 GB, free: 67.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/7.636, allocations: 399.8 kB / 2.55 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/7.636, allocations: 2.188 kB / 2.55 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001396/7.637, allocations: 382.1 kB / 2.55 GB, free: 67.03 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/7.638, allocations: 0.8181 MB / 2.551 GB, free: 67.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/7.639, allocations: 1.604 MB / 2.553 GB, free: 66.06 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/7.643, allocations: 1.229 MB / 2.554 GB, free: 66.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/7.643, allocations: 5.031 kB / 2.554 GB, free: 66.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007221/7.65, allocations: 3.261 MB / 2.557 GB, free: 65.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001745/7.652, allocations: 8.074 MB / 2.565 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/7.652, allocations: 25.05 kB / 2.565 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/7.654, allocations: 0.8487 MB / 2.566 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/7.656, allocations: 393.2 kB / 2.566 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/7.66, allocations: 5.841 MB / 2.572 GB, free: 53.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/7.663, allocations: 181.2 kB / 2.572 GB, free: 53.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004299/7.664, allocations: 177.8 kB / 2.572 GB, free: 53.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/7.664, allocations: 3.5 kB / 2.572 GB, free: 53.14 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006826/7.671, allocations: 2.733 MB / 2.575 GB, free: 53.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/7.671, allocations: 20.12 kB / 2.575 GB, free: 53.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002481/7.673, allocations: 0.9924 MB / 2.576 GB, free: 52.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/7.675, allocations: 369 kB / 2.576 GB, free: 52.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/7.691, allocations: 13.66 MB / 2.59 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/7.694, allocations: 173.6 kB / 2.59 GB, free: 44.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/7.695, allocations: 156 kB / 2.59 GB, free: 44.93 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0007013/7.695, allocations: 175.5 kB / 2.59 GB, free: 44.79 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006246/7.701, allocations: 2.185 MB / 2.592 GB, free: 44.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000959/7.702, allocations: 345.8 kB / 2.593 GB, free: 44.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007369/7.71, allocations: 2.797 MB / 2.595 GB, free: 43.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/7.71, allocations: 22.56 kB / 2.595 GB, free: 43.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/7.71, allocations: 0 / 2.595 GB, free: 43.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/7.71, allocations: 12.48 kB / 2.595 GB, free: 43.94 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 postOpt removeSimpleEquations (simulation): time 0.009979/7.72, allocations: 4.686 MB / 2.6 GB, free: 43.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/7.72, allocations: 2.156 kB / 2.6 GB, free: 43.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/7.721, allocations: 209.3 kB / 2.6 GB, free: 43.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/7.722, allocations: 0.5177 MB / 2.601 GB, free: 43.31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/7.722, allocations: 30.5 kB / 2.601 GB, free: 43.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003137/7.725, allocations: 5.063 MB / 2.606 GB, free: 39.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/7.725, allocations: 3.688 kB / 2.606 GB, free: 39.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/7.731, allocations: 2.521 MB / 2.608 GB, free: 38.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/7.734, allocations: 0.5963 MB / 2.609 GB, free: 38.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/7.734, allocations: 6.375 kB / 2.609 GB, free: 38.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002107/7.737, allocations: 192.4 kB / 2.609 GB, free: 38.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/7.737, allocations: 86.73 kB / 2.609 GB, free: 38.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/7.737, allocations: 79.92 kB / 2.609 GB, free: 38.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00384/7.741, allocations: 1.947 MB / 2.611 GB, free: 37.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.01e-07/7.741, allocations: 0 / 2.611 GB, free: 37.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009509/7.75, allocations: 1.952 MB / 2.613 GB, free: 37.65 MB / 0.7292 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.008304/7.759, allocations: 5.241 MB / 2.618 GB, free: 35.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006557/7.765, allocations: 3.873 MB / 2.622 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/7.765, allocations: 2.25 kB / 2.622 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/7.767, allocations: 0.8197 MB / 2.622 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007991/7.775, allocations: 1.586 MB / 2.624 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/7.79, allocations: 5.335 MB / 2.629 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/7.792, allocations: 2.335 MB / 2.632 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006237/7.798, allocations: 1.253 MB / 2.633 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002008/7.8, allocations: 1.558 MB / 2.634 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/7.8, allocations: 3.969 kB / 2.634 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7395/8.54, allocations: 118.2 MB / 2.75 GB, free: 79.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/8.54, allocations: 171.6 kB / 2.75 GB, free: 78.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/14.97, allocations: 0 / 2.75 GB, free: 78.97 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)