Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IBPSA_latest_IBPSA_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.001139/0.001139, allocations: 104 kB / 16.27 MB, free: 5.977 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.001139/0.001139, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.265/1.265, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 122.8 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.89 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.PumpCurveConstruction): time 0.0877/0.3856, allocations: 104.1 MB / 0.6689 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04588/0.4316, allocations: 34.94 MB / 0.703 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006188/0.4378, allocations: 159.1 kB / 0.7032 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0273/0.4651, allocations: 18.54 MB / 0.7213 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.4791, allocations: 5.274 MB / 0.7265 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009764/0.4888, allocations: 3.99 MB / 0.7303 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3078/0.7966, allocations: 31.04 MB / 0.7607 GB, free: 36.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006013/0.8027, allocations: 3.548 MB / 0.7641 GB, free: 36.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008074/0.8108, allocations: 4.107 MB / 0.7681 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004741/0.8155, allocations: 3.226 MB / 0.7713 GB, free: 35.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.8166, allocations: 432.2 kB / 0.7717 GB, free: 35.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00551/0.8221, allocations: 2.902 MB / 0.7745 GB, free: 35.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001472/0.8236, allocations: 1.827 MB / 0.7763 GB, free: 35.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.8268, allocations: 3.011 MB / 0.7793 GB, free: 34.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.8358, allocations: 8.721 MB / 0.7878 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8358, allocations: 2.125 kB / 0.7878 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8358, allocations: 0 / 0.7878 GB, free: 33.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001718/0.836, allocations: 2.719 kB / 0.7878 GB, free: 33.36 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: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01022/0.8462, allocations: 6.321 MB / 0.7939 GB, free: 30.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8463, allocations: 9.25 kB / 0.794 GB, free: 30.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003337/0.8466, allocations: 295.7 kB / 0.7942 GB, free: 30.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.8571, allocations: 1.904 MB / 0.7961 GB, free: 29.81 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02634/0.8834, allocations: 17.65 MB / 0.8133 GB, free: 23.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.8837, allocations: 199.7 kB / 0.8135 GB, free: 23.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.8841, allocations: 242 kB / 0.8138 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005009/0.8891, allocations: 3.23 MB / 0.8169 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.8891, allocations: 3.094 kB / 0.8169 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.8894, allocations: 99.19 kB / 0.817 GB, free: 20.74 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.8894, allocations: 52 kB / 0.8171 GB, free: 20.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005628/0.895, allocations: 2.615 MB / 0.8196 GB, free: 18.85 MB / 0.5762 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.01606/0.9111, allocations: 14.95 MB / 0.8342 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004998/0.9161, allocations: 2.307 MB / 0.8365 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.9183, allocations: 1.008 MB / 0.8374 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00674/0.9251, allocations: 4.967 MB / 0.8423 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.9251, allocations: 51.5 kB / 0.8423 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=112): time 2.856e-06/0.9251, allocations: 0 / 0.8423 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=112): time 0.01106/0.9362, allocations: 3.977 MB / 0.8462 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.9363, allocations: 63.97 kB / 0.8463 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007956/0.9442, allocations: 5.492 MB / 0.8517 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004938/0.9447, allocations: 61.7 kB / 0.8517 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.9468, allocations: 2.269 MB / 0.8539 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.9475, allocations: 414.9 kB / 0.8543 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/0.9493, allocations: 0.8829 MB / 0.8552 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.9494, allocations: 305.1 kB / 0.8555 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/0.954, allocations: 2.629 MB / 0.858 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005118/0.9591, allocations: 3.475 MB / 0.8614 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008793/0.9679, allocations: 5.592 MB / 0.8669 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.968, allocations: 4 kB / 0.8669 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.0122/0.9802, allocations: 7.084 MB / 0.8738 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.9802, allocations: 16 kB / 0.8738 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.9803, allocations: 16 kB / 0.8739 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001665/0.9819, allocations: 0.7147 MB / 0.8745 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.9848, allocations: 0.671 MB / 0.8752 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.987, allocations: 2.737 MB / 0.8779 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/0.991, allocations: 446.5 kB / 0.8783 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004783/0.9915, allocations: 211.9 kB / 0.8785 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005871/0.9974, allocations: 3.258 MB / 0.8817 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004522/1.002, allocations: 3.033 MB / 0.8846 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007348/1.009, allocations: 4.743 MB / 0.8893 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/1.009, allocations: 4 kB / 0.8893 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01164/1.021, allocations: 6.252 MB / 0.8954 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.021, allocations: 12 kB / 0.8954 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/1.021, allocations: 16 kB / 0.8954 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/1.024, allocations: 0.8159 MB / 0.8962 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.026, allocations: 0.6392 MB / 0.8968 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.043, allocations: 13.64 MB / 0.9102 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/1.047, allocations: 368.1 kB / 0.9105 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005124/1.047, allocations: 171.9 kB / 0.9107 GB, free: 5.664 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0007478/1.048, allocations: 338.1 kB / 0.911 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.049, allocations: 489.4 kB / 0.9115 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008747/1.058, allocations: 3.335 MB / 0.9147 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/1.058, allocations: 16 kB / 0.9147 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.058, allocations: 0 / 0.9147 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/1.058, allocations: 15.84 kB / 0.9148 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.071, allocations: 6.196 MB / 0.9208 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/1.071, allocations: 0 / 0.9208 GB, free: 11.33 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/1.073, allocations: 309.8 kB / 0.9211 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009152/1.074, allocations: 373 kB / 0.9215 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.074, allocations: 51.95 kB / 0.9215 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/1.075, allocations: 2.626 MB / 0.9241 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.076, allocations: 3.094 kB / 0.9241 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007501/1.083, allocations: 3.086 MB / 0.9271 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.085, allocations: 0.7753 MB / 0.9278 GB, free: 3.973 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/1.086, allocations: 31.98 kB / 0.9279 GB, free: 3.941 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002689/1.089, allocations: 139.8 kB / 0.928 GB, free: 3.805 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/1.089, allocations: 89.19 kB / 0.9281 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001805/1.089, allocations: 91.92 kB / 0.9282 GB, free: 3.629 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005894/1.095, allocations: 3.627 MB / 0.9317 GB, free: 8 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.095, allocations: 0 / 0.9317 GB, free: 8 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.006242/1.101, allocations: 2.32 MB / 0.934 GB, free: 13.68 MB / 0.6856 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 (117): * Single equations (assignments): 104 * 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.008446/1.11, allocations: 4.228 MB / 0.9381 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01637/1.126, allocations: 7.996 MB / 0.9459 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.126, allocations: 0 / 0.9459 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003147/1.129, allocations: 1.174 MB / 0.9471 GB, free: 452 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/1.14, allocations: 2.427 MB / 0.9494 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08413/1.224, allocations: 52.05 MB / 1 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/1.227, allocations: 2.879 MB / 1.003 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.006188/1.233, allocations: 1.338 MB / 1.004 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002996/1.236, allocations: 2.225 MB / 1.007 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of SimCode: time 7.52e-07/1.236, allocations: 4 kB / 1.007 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4577/1.694, allocations: 145.2 MB / 1.148 GB, free: 127.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/16.58, allocations: 3.859 kB / 1.148 GB, free: 127.8 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Movers_Validation_PumpCurveConstruction.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)