Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.006/2.006, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.068/1.068, allocations: 132.2 MB / 423.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006092/0.0006092, allocations: 10.28 kB / 0.5033 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8522/0.8529, allocations: 81.58 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.1432/0.9962, allocations: 65.11 MB / 0.6466 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.06315/1.059, allocations: 22.51 MB / 0.6685 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009159/1.069, allocations: 95.38 kB / 0.6686 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0106/1.079, allocations: 1.318 MB / 0.6699 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.02763/1.107, allocations: 3.542 MB / 0.6734 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02095/1.128, allocations: 2.907 MB / 0.6762 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01957/1.148, allocations: 4.373 MB / 0.6805 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007544/1.155, allocations: 1.991 MB / 0.6824 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01165/1.167, allocations: 2.145 MB / 0.6845 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005995/1.173, allocations: 1.478 MB / 0.686 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/1.174, allocations: 128 kB / 0.6861 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009795/1.184, allocations: 1.471 MB / 0.6875 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.003175/1.187, allocations: 0.9852 MB / 0.6885 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003585/1.191, allocations: 0.7575 MB / 0.6892 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01573/1.207, allocations: 4.543 MB / 0.6937 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.207, allocations: 0 / 0.6937 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.417e-06/1.207, allocations: 0 / 0.6937 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002506/1.207, allocations: 4 kB / 0.6937 GB, free: 15.04 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.0196/1.227, allocations: 4.119 MB / 0.6977 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.028e-05/1.227, allocations: 12.03 kB / 0.6977 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/1.229, allocations: 224 kB / 0.6979 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008332/1.237, allocations: 1.01 MB / 0.6989 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02162/1.259, allocations: 6.032 MB / 0.7048 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001989/1.261, allocations: 331.6 kB / 0.7051 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/1.262, allocations: 183.9 kB / 0.7053 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/1.274, allocations: 2.342 MB / 0.7076 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/1.274, allocations: 7.938 kB / 0.7076 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006955/1.275, allocations: 68 kB / 0.7076 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.876e-05/1.275, allocations: 40 kB / 0.7077 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/1.288, allocations: 1.913 MB / 0.7095 GB, free: 14.55 MB / 0.545 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.0411/1.329, allocations: 10.62 MB / 0.7199 GB, free: 3.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009575/1.338, allocations: 1.62 MB / 0.7215 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/1.352, allocations: 3.659 MB / 0.7251 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/1.352, allocations: 39.22 kB / 0.7251 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002607/1.355, allocations: 194.4 kB / 0.7253 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 1.202e-05/1.355, allocations: 3.938 kB / 0.7253 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.01593/1.371, allocations: 2.682 MB / 0.7279 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/1.371, allocations: 60.06 kB / 0.728 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01551/1.386, allocations: 5.157 MB / 0.733 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006439/1.387, allocations: 49.7 kB / 0.7331 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003034/1.39, allocations: 1.6 MB / 0.7346 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009737/1.391, allocations: 287.9 kB / 0.7349 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/1.391, allocations: 28 kB / 0.7349 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003132/1.392, allocations: 365.9 kB / 0.7353 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004709/1.396, allocations: 0.933 MB / 0.7362 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005901/1.402, allocations: 1.654 MB / 0.7378 GB, free: 340 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005368/1.408, allocations: 1.069 MB / 0.7388 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.312e-05/1.408, allocations: 8 kB / 0.7388 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01484/1.423, allocations: 2.88 MB / 0.7417 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.007/1.43, allocations: 9.42 MB / 0.7509 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/1.43, allocations: 20 kB / 0.7509 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/1.431, allocations: 152.8 kB / 0.751 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004607/1.436, allocations: 483.3 kB / 0.7515 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.438, allocations: 0.8175 MB / 0.7523 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006716/1.445, allocations: 248.5 kB / 0.7525 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009883/1.446, allocations: 151.9 kB / 0.7527 GB, free: 444 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/1.446, allocations: 4 kB / 0.7527 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01325/1.459, allocations: 2.867 MB / 0.7555 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.46, allocations: 23.95 kB / 0.7555 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001997/1.462, allocations: 400.7 kB / 0.7559 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/1.465, allocations: 431.4 kB / 0.7563 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.479, allocations: 4.738 MB / 0.7609 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/1.484, allocations: 224.4 kB / 0.7611 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008324/1.485, allocations: 131.9 kB / 0.7613 GB, free: 7.414 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (180): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.004142/1.489, allocations: 0.8985 MB / 0.7621 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/1.491, allocations: 323.8 kB / 0.7624 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.503, allocations: 2.376 MB / 0.7648 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.811e-05/1.503, allocations: 12 kB / 0.7648 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.503, allocations: 3.984 kB / 0.7648 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.61e-05/1.504, allocations: 3.984 kB / 0.7648 GB, free: 3.781 MB / 0.5919 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.02083/1.524, allocations: 4.733 MB / 0.7694 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.524, allocations: 0 / 0.7694 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.527, allocations: 291.8 kB / 0.7697 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007681/1.528, allocations: 140.8 kB / 0.7698 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/1.528, allocations: 31.97 kB / 0.7698 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/1.53, allocations: 0.7357 MB / 0.7706 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.53, allocations: 4 kB / 0.7706 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/1.546, allocations: 3.248 MB / 0.7737 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003319/1.55, allocations: 0.6058 MB / 0.7743 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/1.552, allocations: 16 kB / 0.7743 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005238/1.557, allocations: 231.6 kB / 0.7746 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/1.557, allocations: 72.84 kB / 0.7746 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003774/1.558, allocations: 59.95 kB / 0.7747 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.009744/1.567, allocations: 3.696 MB / 0.7783 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4e-07/1.567, allocations: 0 / 0.7783 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01002/1.578, allocations: 1.548 MB / 0.7798 GB, free: 4.137 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * 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 (93): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01645/1.594, allocations: 4.563 MB / 0.7843 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01662/1.611, allocations: 3.646 MB / 0.7878 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.611, allocations: 4.125 kB / 0.7878 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00503/1.616, allocations: 0.8647 MB / 0.7887 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01461/1.63, allocations: 1.642 MB / 0.7903 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04045/1.671, allocations: 22.68 MB / 0.8124 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5304/2.202, allocations: 2.173 MB / 0.8145 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01021/2.212, allocations: 0.8563 MB / 0.8154 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005096/2.217, allocations: 1.436 MB / 0.8168 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.713e-06/2.217, allocations: 1.906 kB / 0.8168 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2881/2.505, allocations: 101.5 MB / 0.9159 GB, free: 125.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003144/2.505, allocations: 249.7 kB / 0.9162 GB, free: 125 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/10.06, allocations: 6.781 kB / 0.9162 GB, free: 125 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) Environment - environmentSimulation: