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.001729/0.001729, allocations: 172.5 kB / 7.647 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.7805/0.7805, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.535/1.535, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009518/0.0009518, allocations: 98.38 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.514e-05, allocations: 4 kB / 0.5535 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5934/0.5934, allocations: 82.3 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8796/1.473, allocations: 402.5 MB / 1.027 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.473, allocations: 89.83 kB / 1.027 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.842/7.315, allocations: 1.46 GB / 2.487 GB, free: 81.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/7.315, allocations: 0 / 2.487 GB, free: 81.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005114/7.316, allocations: 109.1 kB / 2.487 GB, free: 81.05 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.0113/7.327, allocations: 3.718 MB / 2.49 GB, free: 79.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/7.327, allocations: 12.22 kB / 2.49 GB, free: 79.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007372/7.335, allocations: 1.126 MB / 2.492 GB, free: 79.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06178/7.396, allocations: 28.81 MB / 2.52 GB, free: 77.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/7.397, allocations: 69 kB / 2.52 GB, free: 77.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009425/7.398, allocations: 148.4 kB / 2.52 GB, free: 77.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003894/7.401, allocations: 1.882 MB / 2.522 GB, free: 77.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003616/7.405, allocations: 2.268 MB / 2.524 GB, free: 77.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/7.405, allocations: 6.031 kB / 2.524 GB, free: 77.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/7.405, allocations: 5.781 kB / 2.524 GB, free: 77.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/7.405, allocations: 52.7 kB / 2.524 GB, free: 77 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.017/7.422, allocations: 11.9 MB / 2.536 GB, free: 71.15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/7.425, allocations: 1.995 MB / 2.538 GB, free: 71.11 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009382/7.426, allocations: 0.821 MB / 2.538 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007224/7.433, allocations: 4.051 MB / 2.542 GB, free: 69.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/7.433, allocations: 51.66 kB / 2.542 GB, free: 69.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001744/7.435, allocations: 169.2 kB / 2.543 GB, free: 69.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 4.378e-06/7.435, allocations: 0 / 2.543 GB, free: 69.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.00734/7.442, allocations: 2.705 MB / 2.545 GB, free: 68.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/7.442, allocations: 67.88 kB / 2.545 GB, free: 68.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/7.447, allocations: 2.61 MB / 2.548 GB, free: 68.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006163/7.447, allocations: 30.7 kB / 2.548 GB, free: 68.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/7.449, allocations: 1.78 MB / 2.55 GB, free: 67.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005575/7.449, allocations: 394.5 kB / 2.55 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/7.45, allocations: 2.719 kB / 2.55 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001046/7.45, allocations: 380.8 kB / 2.55 GB, free: 67.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/7.451, allocations: 0.8155 MB / 2.551 GB, free: 67.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/7.452, allocations: 1.606 MB / 2.553 GB, free: 66.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003415/7.456, allocations: 1.227 MB / 2.554 GB, free: 66.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/7.456, allocations: 3.719 kB / 2.554 GB, free: 66.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007478/7.463, allocations: 3.266 MB / 2.557 GB, free: 66.03 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001643/7.465, allocations: 8.075 MB / 2.565 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/7.465, allocations: 22.77 kB / 2.565 GB, free: 57.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/7.467, allocations: 0.8502 MB / 2.566 GB, free: 57.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/7.469, allocations: 387.2 kB / 2.566 GB, free: 57.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/7.473, allocations: 5.842 MB / 2.572 GB, free: 53.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/7.476, allocations: 181.6 kB / 2.572 GB, free: 53.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004759/7.477, allocations: 178.6 kB / 2.572 GB, free: 53.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/7.477, allocations: 2.938 kB / 2.572 GB, free: 53.45 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006677/7.483, allocations: 2.731 MB / 2.575 GB, free: 53.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/7.484, allocations: 20.5 kB / 2.575 GB, free: 53.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/7.486, allocations: 0.9891 MB / 2.576 GB, free: 53.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/7.487, allocations: 370.2 kB / 2.576 GB, free: 53.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/7.504, allocations: 13.66 MB / 2.59 GB, free: 45.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/7.508, allocations: 172.3 kB / 2.59 GB, free: 45.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003954/7.508, allocations: 156.9 kB / 2.59 GB, free: 45.25 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.00071/7.509, allocations: 175.2 kB / 2.59 GB, free: 45.11 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006238/7.515, allocations: 2.184 MB / 2.592 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008891/7.516, allocations: 346 kB / 2.593 GB, free: 44.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00737/7.523, allocations: 2.81 MB / 2.595 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/7.523, allocations: 20.73 kB / 2.595 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/7.523, allocations: 0 / 2.595 GB, free: 44.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/7.523, allocations: 10.8 kB / 2.595 GB, free: 44.27 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.01027/7.534, allocations: 4.687 MB / 2.6 GB, free: 43.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/7.534, allocations: 0 / 2.6 GB, free: 43.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/7.535, allocations: 212.5 kB / 2.6 GB, free: 43.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/7.536, allocations: 0.5184 MB / 2.601 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/7.536, allocations: 34.03 kB / 2.601 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/7.539, allocations: 5.058 MB / 2.606 GB, free: 39.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/7.539, allocations: 0 / 2.606 GB, free: 39.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/7.544, allocations: 2.508 MB / 2.608 GB, free: 38.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/7.546, allocations: 0.5999 MB / 2.609 GB, free: 38.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/7.547, allocations: 4 kB / 2.609 GB, free: 38.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/7.549, allocations: 194.4 kB / 2.609 GB, free: 38.46 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/7.549, allocations: 97.61 kB / 2.609 GB, free: 38.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/7.549, allocations: 81.19 kB / 2.609 GB, free: 38.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00297/7.552, allocations: 1.943 MB / 2.611 GB, free: 38.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.6e-07/7.552, allocations: 0 / 2.611 GB, free: 38.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007675/7.56, allocations: 1.942 MB / 2.613 GB, free: 37.99 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.007649/7.567, allocations: 5.258 MB / 2.618 GB, free: 35.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006311/7.574, allocations: 3.878 MB / 2.622 GB, free: 35.28 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/7.574, allocations: 0 / 2.622 GB, free: 35.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/7.575, allocations: 0.8155 MB / 2.622 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007797/7.583, allocations: 1.585 MB / 2.624 GB, free: 35.13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/7.596, allocations: 5.33 MB / 2.629 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/7.598, allocations: 2.334 MB / 2.632 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005663/7.604, allocations: 1.257 MB / 2.633 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/7.606, allocations: 1.564 MB / 2.634 GB, free: 31 MB / 0.7292 GB Notification: Performance of SimCode: time 9.71e-07/7.606, allocations: 0 / 2.634 GB, free: 31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7955/8.401, allocations: 118.2 MB / 2.75 GB, free: 79.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/8.402, allocations: 172.6 kB / 2.75 GB, free: 78.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/15.12, allocations: 4 kB / 2.75 GB, free: 78.92 MB / 0.7448 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)