Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.PumpCurveConstruction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",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.001284/0.001284, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 65.44 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1885, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction): time 0.3318/0.5203, allocations: 102.6 MB / 0.6847 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05835/0.5787, allocations: 32.39 MB / 0.7163 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01046/0.5892, allocations: 157.6 kB / 0.7165 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.009771/0.5991, allocations: 1.981 MB / 0.7184 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0181/0.6173, allocations: 4.917 MB / 0.7232 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.6292, allocations: 3.794 MB / 0.7269 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01935/0.6486, allocations: 9.35 MB / 0.736 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007635/0.6562, allocations: 3.523 MB / 0.7395 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01113/0.6674, allocations: 3.912 MB / 0.7433 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006402/0.6738, allocations: 2.968 MB / 0.7462 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00154/0.6754, allocations: 392 kB / 0.7466 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008297/0.6837, allocations: 2.566 MB / 0.7491 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00203/0.6857, allocations: 1.234 MB / 0.7503 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004819/0.6906, allocations: 2.258 MB / 0.7525 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.7023, allocations: 6.82 MB / 0.7591 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7023, allocations: 0 / 0.7591 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7024, allocations: 0 / 0.7591 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001612/0.7025, allocations: 3.938 kB / 0.7591 GB, free: 10.01 MB / 0.5762 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.01033/0.7129, allocations: 4.81 MB / 0.7638 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.7129, allocations: 8.031 kB / 0.7638 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003902/0.7133, allocations: 287.5 kB / 0.7641 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/0.7196, allocations: 1.158 MB / 0.7653 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008635/0.7282, allocations: 3.791 MB / 0.769 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.7285, allocations: 180.8 kB / 0.7691 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005201/0.729, allocations: 228 kB / 0.7693 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005037/0.734, allocations: 2.602 MB / 0.7719 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.312e-05/0.7341, allocations: 7.984 kB / 0.7719 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.7343, allocations: 87.94 kB / 0.772 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.7343, allocations: 55.94 kB / 0.772 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004619/0.739, allocations: 1.912 MB / 0.7739 GB, free: 10.61 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 preOpt removeSimpleEquations (simulation): time 0.01945/0.7584, allocations: 12.43 MB / 0.786 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/0.7622, allocations: 1.434 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.764, allocations: 0.6719 MB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006785/0.7708, allocations: 3.625 MB / 0.7916 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.7708, allocations: 43.56 kB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 2.836e-06/0.7709, allocations: 3.938 kB / 0.7917 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104): time 0.008963/0.7798, allocations: 2.823 MB / 0.7944 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.7799, allocations: 64.34 kB / 0.7945 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006628/0.7865, allocations: 3.26 MB / 0.7977 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002925/0.7868, allocations: 57.7 kB / 0.7977 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.7886, allocations: 1.725 MB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004603/0.7891, allocations: 362.7 kB / 0.7998 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009558/0.7901, allocations: 435.1 kB / 0.8002 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7902, allocations: 309 kB / 0.8005 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.7926, allocations: 1 MB / 0.8015 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.7953, allocations: 1.639 MB / 0.8031 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/0.8001, allocations: 2.526 MB / 0.8055 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.8001, allocations: 8 kB / 0.8055 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007563/0.8077, allocations: 3.241 MB / 0.8087 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.8078, allocations: 16.25 kB / 0.8087 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.8078, allocations: 16 kB / 0.8087 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.8093, allocations: 0.5576 MB / 0.8093 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.811, allocations: 415.3 kB / 0.8097 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.813, allocations: 2.58 MB / 0.8122 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.8154, allocations: 237.8 kB / 0.8124 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/0.8157, allocations: 135.9 kB / 0.8125 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003094/0.8188, allocations: 1.453 MB / 0.814 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002417/0.8213, allocations: 1.475 MB / 0.8154 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003946/0.8252, allocations: 2.211 MB / 0.8176 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.933e-05/0.8252, allocations: 8 kB / 0.8176 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.006961/0.8322, allocations: 2.955 MB / 0.8205 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.8323, allocations: 14.88 kB / 0.8205 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.8323, allocations: 16 kB / 0.8205 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002239/0.8345, allocations: 0.6555 MB / 0.8211 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.836, allocations: 391.3 kB / 0.8215 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.8511, allocations: 11.87 MB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.8539, allocations: 170.7 kB / 0.8332 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/0.8543, allocations: 120 kB / 0.8334 GB, free: 10.45 MB / 0.6544 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0008196/0.8552, allocations: 299.6 kB / 0.8336 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.8562, allocations: 347.5 kB / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006465/0.8627, allocations: 2.455 MB / 0.8364 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/0.8628, allocations: 15.98 kB / 0.8364 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.8628, allocations: 0 / 0.8364 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.8628, allocations: 15.91 kB / 0.8364 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.8731, allocations: 4.547 MB / 0.8408 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.8731, allocations: 0 / 0.8408 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.8743, allocations: 239.7 kB / 0.8411 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008858/0.8752, allocations: 339 kB / 0.8414 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.8753, allocations: 39.95 kB / 0.8414 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.877, allocations: 2.506 MB / 0.8439 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.877, allocations: 0 / 0.8439 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/0.8822, allocations: 2.241 MB / 0.8461 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.8838, allocations: 0.586 MB / 0.8466 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007394/0.8845, allocations: 20 kB / 0.8467 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00173/0.8862, allocations: 87.77 kB / 0.8467 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.8864, allocations: 81.19 kB / 0.8468 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.8866, allocations: 63.94 kB / 0.8469 GB, free: 12.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003834/0.8904, allocations: 2.175 MB / 0.849 GB, free: 10.14 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8904, allocations: 0 / 0.849 GB, free: 10.14 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005761/0.8962, allocations: 1.707 MB / 0.8507 GB, free: 8.43 MB / 0.67 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006654/0.9029, allocations: 3.235 MB / 0.8538 GB, free: 5.16 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009914/0.9128, allocations: 4.048 MB / 0.8578 GB, free: 1.07 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9128, allocations: 0 / 0.8578 GB, free: 1.07 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.9149, allocations: 0.8476 MB / 0.8586 GB, free: 232 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2192/1.134, allocations: 1.633 MB / 0.8602 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03864/1.173, allocations: 30.6 MB / 0.8901 GB, free: 195.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.174, allocations: 2.165 MB / 0.8922 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00342/1.178, allocations: 0.8107 MB / 0.893 GB, free: 194.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.179, allocations: 1.542 MB / 0.8945 GB, free: 193.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.21e-07/1.179, allocations: 1.281 kB / 0.8945 GB, free: 193.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.374/2.553, allocations: 101.2 MB / 0.9934 GB, free: 121.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/17.6, allocations: 3.938 kB / 0.9934 GB, free: 121.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)