Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.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.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",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.001033/0.001033, 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.7792/0.7792, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.667/1.667, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.001144/0.001144, allocations: 110.5 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.95e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5516, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9765/1.528, allocations: 401.3 MB / 1.026 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.528, allocations: 89.08 kB / 1.026 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.993/7.521, allocations: 1.512 GB / 2.538 GB, free: 69.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/7.521, allocations: 0 / 2.538 GB, free: 69.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006907/7.522, allocations: 100.8 kB / 2.538 GB, free: 69.14 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01223/7.534, allocations: 3.602 MB / 2.542 GB, free: 67.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/7.534, allocations: 9 kB / 2.542 GB, free: 67.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007382/7.541, allocations: 1.113 MB / 2.543 GB, free: 67.13 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06068/7.602, allocations: 27.95 MB / 2.57 GB, free: 65.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/7.602, allocations: 75.88 kB / 2.57 GB, free: 65.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000879/7.603, allocations: 142.3 kB / 2.57 GB, free: 65.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003753/7.607, allocations: 1.772 MB / 2.572 GB, free: 65.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/7.611, allocations: 2.158 MB / 2.574 GB, free: 65.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-05/7.611, allocations: 1.594 kB / 2.574 GB, free: 65.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001989/7.611, allocations: 9.828 kB / 2.574 GB, free: 65.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/7.611, allocations: 51.28 kB / 2.574 GB, free: 65.09 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.01825/7.629, allocations: 11.59 MB / 2.585 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/7.632, allocations: 1.718 MB / 2.587 GB, free: 59.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008653/7.632, allocations: 0.71 MB / 2.588 GB, free: 59.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00704/7.64, allocations: 3.683 MB / 2.591 GB, free: 57.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/7.64, allocations: 51.75 kB / 2.591 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001701/7.641, allocations: 158.5 kB / 2.592 GB, free: 57.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=116): time 3.637e-06/7.641, allocations: 0 / 2.592 GB, free: 57.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=116): time 0.007297/7.649, allocations: 2.419 MB / 2.594 GB, free: 57.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/7.649, allocations: 68.56 kB / 2.594 GB, free: 56.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/7.653, allocations: 2.435 MB / 2.596 GB, free: 56.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004397/7.653, allocations: 28.58 kB / 2.596 GB, free: 56.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/7.655, allocations: 1.724 MB / 2.598 GB, free: 56.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/7.655, allocations: 386.8 kB / 2.598 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/7.655, allocations: 0 / 2.598 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001079/7.655, allocations: 378.7 kB / 2.599 GB, free: 55.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009804/7.656, allocations: 0.6827 MB / 2.599 GB, free: 55.58 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/7.658, allocations: 1.425 MB / 2.601 GB, free: 54.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/7.661, allocations: 1.076 MB / 2.602 GB, free: 54.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/7.661, allocations: 3.719 kB / 2.602 GB, free: 54.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007577/7.668, allocations: 2.939 MB / 2.605 GB, free: 54.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00149/7.67, allocations: 7.615 MB / 2.612 GB, free: 46.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/7.67, allocations: 17.25 kB / 2.612 GB, free: 46.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/7.672, allocations: 0.701 MB / 2.613 GB, free: 46.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/7.673, allocations: 377.8 kB / 2.613 GB, free: 46.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/7.677, allocations: 5.425 MB / 2.619 GB, free: 42.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/7.68, allocations: 173.1 kB / 2.619 GB, free: 42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000442/7.681, allocations: 153.7 kB / 2.619 GB, free: 42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/7.681, allocations: 7.656 kB / 2.619 GB, free: 42 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006346/7.687, allocations: 2.355 MB / 2.621 GB, free: 41.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/7.687, allocations: 18.88 kB / 2.621 GB, free: 41.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/7.69, allocations: 0.8074 MB / 2.622 GB, free: 41.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/7.691, allocations: 353.1 kB / 2.622 GB, free: 41.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/7.705, allocations: 12.1 MB / 2.634 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/7.708, allocations: 169.2 kB / 2.634 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005349/7.709, allocations: 136.1 kB / 2.634 GB, free: 31.75 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.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_m_flow.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_dp.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: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * 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.0007537/7.71, allocations: 161.2 kB / 2.635 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007055/7.717, allocations: 2.11 MB / 2.637 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/7.718, allocations: 332.5 kB / 2.637 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006287/7.724, allocations: 2.538 MB / 2.639 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/7.724, allocations: 16.86 kB / 2.64 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/7.724, allocations: 0 / 2.64 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/7.724, allocations: 10.98 kB / 2.64 GB, free: 29.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 postOpt removeSimpleEquations (simulation): time 0.01054/7.735, allocations: 4.435 MB / 2.644 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/7.735, allocations: 4.062 kB / 2.644 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/7.736, allocations: 204.6 kB / 2.644 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/7.737, allocations: 498.2 kB / 2.645 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.756e-05/7.737, allocations: 28.94 kB / 2.645 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/7.74, allocations: 4.938 MB / 2.649 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/7.74, allocations: 11.12 kB / 2.649 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006181/7.746, allocations: 2.409 MB / 2.652 GB, free: 22.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002173/7.748, allocations: 0.5736 MB / 2.652 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/7.749, allocations: 3.844 kB / 2.652 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/7.751, allocations: 180.9 kB / 2.652 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/7.751, allocations: 82.23 kB / 2.653 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/7.751, allocations: 75.52 kB / 2.653 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003038/7.754, allocations: 1.816 MB / 2.654 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.61e-07/7.754, allocations: 4 kB / 2.654 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00907/7.763, allocations: 1.861 MB / 2.656 GB, free: 20.57 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.009432/7.772, allocations: 4.987 MB / 2.661 GB, free: 16.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006437/7.779, allocations: 3.493 MB / 2.664 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/7.779, allocations: 4.438 kB / 2.665 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/7.78, allocations: 0.776 MB / 2.665 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007628/7.788, allocations: 1.422 MB / 2.667 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/7.8, allocations: 5.034 MB / 2.672 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/7.802, allocations: 2.249 MB / 2.674 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006059/7.808, allocations: 1.133 MB / 2.675 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/7.81, allocations: 1.498 MB / 2.676 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of SimCode: time 1.362e-06/7.81, allocations: 3.938 kB / 2.676 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8696/8.679, allocations: 110.5 MB / 2.784 GB, free: 70.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/8.68, allocations: 162.8 kB / 2.784 GB, free: 70.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.488/15.17, allocations: 3 kB / 2.784 GB, free: 70.28 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)