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.001341/0.001341, allocations: 175 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.7396/0.7396, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.57/1.57, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.001048/0.001048, allocations: 101.3 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.129e-05, allocations: 2.438 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1924, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.473/1.666, allocations: 401.9 MB / 1.033 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.666, allocations: 88.83 kB / 1.033 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.827/7.493, allocations: 1.521 GB / 2.554 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.544e-06/7.493, allocations: 0 / 2.554 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0008195/7.494, allocations: 108.9 kB / 2.554 GB, free: 31.4 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.01559/7.51, allocations: 3.591 MB / 2.558 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/7.51, allocations: 9.406 kB / 2.558 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001691/7.512, allocations: 292 kB / 2.558 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008033/7.52, allocations: 1.11 MB / 2.559 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06099/7.581, allocations: 28.03 MB / 2.587 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/7.581, allocations: 188.1 kB / 2.587 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/7.582, allocations: 236 kB / 2.587 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007168/7.589, allocations: 2.445 MB / 2.589 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/7.59, allocations: 11.88 kB / 2.589 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004579/7.59, allocations: 88 kB / 2.589 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/7.59, allocations: 48 kB / 2.589 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003953/7.594, allocations: 1.71 MB / 2.591 GB, free: 12.62 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 preOpt removeSimpleEquations (simulation): time 0.6563/8.25, allocations: 12.02 MB / 2.603 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/8.253, allocations: 1.339 MB / 2.604 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/8.254, allocations: 0.5993 MB / 2.605 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008009/8.262, allocations: 3.791 MB / 2.608 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/8.263, allocations: 49.12 kB / 2.609 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001842/8.264, allocations: 223 kB / 2.609 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=116): time 4.829e-06/8.264, allocations: 0 / 2.609 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=116): time 0.005361/8.27, allocations: 1.894 MB / 2.611 GB, free: 40.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/8.27, allocations: 65.02 kB / 2.611 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006267/8.276, allocations: 2.766 MB / 2.613 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/8.277, allocations: 63.3 kB / 2.613 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/8.278, allocations: 1.684 MB / 2.615 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/8.279, allocations: 403 kB / 2.615 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/8.279, allocations: 34.83 kB / 2.615 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001672/8.279, allocations: 385 kB / 2.616 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/8.28, allocations: 0.5827 MB / 2.616 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/8.282, allocations: 1.347 MB / 2.618 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/8.284, allocations: 0.7464 MB / 2.618 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/8.284, allocations: 5.812 kB / 2.618 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005582/8.289, allocations: 2.512 MB / 2.621 GB, free: 38.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001745/8.291, allocations: 7.684 MB / 2.628 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/8.291, allocations: 19.7 kB / 2.628 GB, free: 30.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/8.293, allocations: 0.5988 MB / 2.629 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/8.294, allocations: 384.8 kB / 2.629 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/8.298, allocations: 4.98 MB / 2.634 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003828/8.302, allocations: 210.1 kB / 2.634 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003928/8.302, allocations: 156.5 kB / 2.635 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/8.302, allocations: 5.469 kB / 2.635 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006089/8.308, allocations: 2.361 MB / 2.637 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-05/8.308, allocations: 17.5 kB / 2.637 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/8.311, allocations: 0.8619 MB / 2.638 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/8.313, allocations: 355.3 kB / 2.638 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/8.329, allocations: 12.41 MB / 2.65 GB, free: 33.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/8.333, allocations: 209.8 kB / 2.65 GB, free: 33.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/8.334, allocations: 138.7 kB / 2.651 GB, free: 33.95 MB / 0.7605 GB 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.0008669/8.335, allocations: 212.4 kB / 2.651 GB, free: 33.84 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008033/8.335, allocations: 340.7 kB / 2.651 GB, free: 33.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005976/8.341, allocations: 2.56 MB / 2.654 GB, free: 33.44 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/8.342, allocations: 15.72 kB / 2.654 GB, free: 33.44 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/8.342, allocations: 0 / 2.654 GB, free: 33.44 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/8.342, allocations: 13 kB / 2.654 GB, free: 33.44 MB / 0.7605 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.01109/8.353, allocations: 4.707 MB / 2.658 GB, free: 32.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/8.353, allocations: 0 / 2.658 GB, free: 32.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009985/8.354, allocations: 208.1 kB / 2.658 GB, free: 32.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001602/8.355, allocations: 0.5922 MB / 2.659 GB, free: 32.86 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/8.355, allocations: 47.17 kB / 2.659 GB, free: 32.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/8.359, allocations: 4.88 MB / 2.664 GB, free: 28.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/8.359, allocations: 5.062 kB / 2.664 GB, free: 28.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/8.364, allocations: 2.379 MB / 2.666 GB, free: 28.15 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/8.366, allocations: 0.5961 MB / 2.667 GB, free: 27.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/8.367, allocations: 23.84 kB / 2.667 GB, free: 27.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/8.369, allocations: 201.8 kB / 2.667 GB, free: 27.86 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/8.369, allocations: 87.45 kB / 2.667 GB, free: 27.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/8.369, allocations: 73.55 kB / 2.667 GB, free: 27.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003667/8.373, allocations: 2.108 MB / 2.669 GB, free: 27.65 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/8.373, allocations: 1.344 kB / 2.669 GB, free: 27.65 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008691/8.381, allocations: 1.941 MB / 2.671 GB, free: 27.57 MB / 0.7605 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.008784/8.39, allocations: 5.032 MB / 2.676 GB, free: 26.01 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008112/8.398, allocations: 3.485 MB / 2.679 GB, free: 25.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/8.399, allocations: 0 / 2.679 GB, free: 25.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/8.4, allocations: 0.8141 MB / 2.68 GB, free: 25.49 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008748/8.409, allocations: 1.544 MB / 2.682 GB, free: 25.46 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/8.42, allocations: 5.181 MB / 2.687 GB, free: 24.22 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/8.422, allocations: 2.243 MB / 2.689 GB, free: 23.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005299/8.427, allocations: 1.157 MB / 2.69 GB, free: 23.44 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/8.429, allocations: 1.514 MB / 2.692 GB, free: 23.43 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/8.429, allocations: 2.156 kB / 2.692 GB, free: 23.43 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2217/8.651, allocations: 131 MB / 2.819 GB, free: 16.03 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/8.651, allocations: 208.3 kB / 2.82 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/15.78, allocations: 0 / 2.82 GB, free: 15.81 MB / 0.7605 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)