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.0007033/0.0007034, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.003904/0.003904, allocations: 172.2 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7365/0.7365, allocations: 132.3 MB / 423.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.000301, allocations: 9.875 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3496, allocations: 81.58 MB / 0.5837 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07186/0.4215, allocations: 76.02 MB / 0.658 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03367/0.4552, allocations: 25.63 MB / 0.683 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003871/0.4591, allocations: 103.4 kB / 0.6831 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004244/0.4634, allocations: 1.411 MB / 0.6845 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008706/0.4721, allocations: 3.242 MB / 0.6876 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006457/0.4786, allocations: 2.654 MB / 0.6902 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01126/0.4898, allocations: 9.489 MB / 0.6995 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/0.4935, allocations: 2.206 MB / 0.7017 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005026/0.4986, allocations: 2.47 MB / 0.7041 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/0.502, allocations: 2.209 MB / 0.7062 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006433/0.5027, allocations: 132 kB / 0.7064 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.5073, allocations: 2.012 MB / 0.7083 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001286/0.5086, allocations: 1.094 MB / 0.7094 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.5107, allocations: 1.828 MB / 0.7112 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006985/0.5177, allocations: 5.914 MB / 0.7169 GB, free: 7.484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5177, allocations: 0 / 0.7169 GB, free: 7.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5178, allocations: 4 kB / 0.717 GB, free: 7.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.91e-05/0.5179, allocations: 0 / 0.717 GB, free: 7.48 MB / 0.545 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.008071/0.5259, allocations: 4.119 MB / 0.721 GB, free: 3.293 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.526, allocations: 12.03 kB / 0.721 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003244/0.5263, allocations: 220.2 kB / 0.7212 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.5312, allocations: 1.015 MB / 0.7222 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00774/0.539, allocations: 4.979 MB / 0.727 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.54, allocations: 343.5 kB / 0.7274 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.5403, allocations: 184 kB / 0.7276 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004726/0.5451, allocations: 2.431 MB / 0.7299 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.5451, allocations: 4 kB / 0.7299 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.5453, allocations: 64 kB / 0.73 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.5453, allocations: 44 kB / 0.73 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005162/0.5505, allocations: 2.002 MB / 0.732 GB, free: 7.852 MB / 0.5606 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.01512/0.5656, allocations: 10.91 MB / 0.7426 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00491/0.5706, allocations: 1.729 MB / 0.7443 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/0.5728, allocations: 0.8285 MB / 0.7451 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006899/0.5797, allocations: 3.842 MB / 0.7489 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5798, allocations: 39.22 kB / 0.7489 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009907/0.5808, allocations: 178.7 kB / 0.7491 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.565e-06/0.5808, allocations: 4 kB / 0.7491 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79): time 0.008938/0.5897, allocations: 2.807 MB / 0.7518 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5898, allocations: 60.06 kB / 0.7519 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008126/0.598, allocations: 5.216 MB / 0.757 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004039/0.5984, allocations: 49.7 kB / 0.757 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.5999, allocations: 1.588 MB / 0.7586 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.6002, allocations: 295.8 kB / 0.7589 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.6005, allocations: 157.6 kB / 0.759 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6006, allocations: 305.1 kB / 0.7593 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/0.6034, allocations: 1.323 MB / 0.7606 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/0.6067, allocations: 2.048 MB / 0.7626 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/0.6127, allocations: 3.308 MB / 0.7658 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.6127, allocations: 4 kB / 0.7658 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007891/0.6206, allocations: 3.783 MB / 0.7695 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005355/0.6212, allocations: 0.7224 MB / 0.7702 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/0.6212, allocations: 20 kB / 0.7703 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/0.622, allocations: 312.7 kB / 0.7706 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.6239, allocations: 463.2 kB / 0.771 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008035/0.6247, allocations: 0.8176 MB / 0.7718 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.6278, allocations: 244.5 kB / 0.772 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.6281, allocations: 132 kB / 0.7722 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.6281, allocations: 7.938 kB / 0.7722 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005934/0.6341, allocations: 2.992 MB / 0.7751 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.4e-05/0.6341, allocations: 20 kB / 0.7751 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.6352, allocations: 400.7 kB / 0.7755 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.6368, allocations: 435.3 kB / 0.7759 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/0.6436, allocations: 4.539 MB / 0.7803 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.6464, allocations: 224.1 kB / 0.7806 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003279/0.6468, allocations: 120 kB / 0.7807 GB, free: 3.863 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001924/0.6487, allocations: 0.8909 MB / 0.7815 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007947/0.6495, allocations: 323.7 kB / 0.7818 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006508/0.656, allocations: 2.422 MB / 0.7842 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.656, allocations: 15.98 kB / 0.7842 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6561, allocations: 4 kB / 0.7842 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.6561, allocations: 7.922 kB / 0.7842 GB, free: 184 kB / 0.6075 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.01114/0.6672, allocations: 4.715 MB / 0.7888 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.6673, allocations: 4 kB / 0.7888 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.6687, allocations: 279.8 kB / 0.7891 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003546/0.6691, allocations: 140.6 kB / 0.7892 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-05/0.6692, allocations: 39.95 kB / 0.7893 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005689/0.6697, allocations: 0.728 MB / 0.79 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6698, allocations: 4.062 kB / 0.79 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007972/0.6777, allocations: 3.296 MB / 0.7932 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/0.6794, allocations: 0.5942 MB / 0.7938 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007709/0.6802, allocations: 20 kB / 0.7938 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00241/0.6826, allocations: 227.6 kB / 0.794 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.6827, allocations: 64.97 kB / 0.7941 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.6829, allocations: 51.95 kB / 0.7941 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005879/0.6888, allocations: 3.746 MB / 0.7978 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6888, allocations: 0 / 0.7978 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005432/0.6943, allocations: 1.52 MB / 0.7993 GB, free: 0.582 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/0.7045, allocations: 4.38 MB / 0.8036 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009362/0.7139, allocations: 4.14 MB / 0.8076 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7139, allocations: 0 / 0.8076 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.7166, allocations: 0.913 MB / 0.8085 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00873/0.7253, allocations: 1.634 MB / 0.8101 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3492/1.075, allocations: 37.98 MB / 0.8472 GB, free: 188.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.076, allocations: 2.111 MB / 0.8493 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003463/1.08, allocations: 0.8238 MB / 0.8501 GB, free: 187.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.081, allocations: 1.421 MB / 0.8514 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of SimCode: time 1.122e-06/1.081, allocations: 0 / 0.8514 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.313/4.395, allocations: 97.55 MB / 0.9467 GB, free: 93.55 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/4.395, allocations: 273 kB / 0.947 GB, free: 93.19 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.318/8.712, allocations: 3.5 kB / 0.947 GB, free: 93.19 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/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)