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.001169/0.001169, allocations: 105.3 kB / 16.4 MB, free: 6.461 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.001094/0.001094, allocations: 196 kB / 17.34 MB, free: 5.715 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.249/1.249, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 122.9 MB / 414.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.48 kB / 0.568 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1281, allocations: 77.93 MB / 0.6441 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.PumpCurveConstruction): time 0.09306/0.2212, allocations: 104.1 MB / 0.7457 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3565/0.5777, allocations: 34.93 MB / 0.7798 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006557/0.5843, allocations: 164.7 kB / 0.78 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008527/0.5929, allocations: 2.919 MB / 0.7828 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01487/0.6078, allocations: 5.685 MB / 0.7884 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009617/0.6174, allocations: 4.06 MB / 0.7923 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.04025/0.6577, allocations: 31.58 MB / 0.8232 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006306/0.664, allocations: 3.664 MB / 0.8268 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.6744, allocations: 4.385 MB / 0.831 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006399/0.6808, allocations: 3.364 MB / 0.8343 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001925/0.6827, allocations: 460 kB / 0.8348 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008277/0.691, allocations: 2.94 MB / 0.8376 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.6937, allocations: 1.874 MB / 0.8395 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005817/0.6995, allocations: 3.041 MB / 0.8424 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.7149, allocations: 9.007 MB / 0.8512 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.715, allocations: 0 / 0.8512 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.014e-06/0.715, allocations: 4 kB / 0.8512 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002462/0.7153, allocations: 0 / 0.8512 GB, free: 6.582 MB / 0.6231 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.01489/0.7302, allocations: 6.612 MB / 0.8577 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.7302, allocations: 12.62 kB / 0.8577 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007018/0.7309, allocations: 295.7 kB / 0.858 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/0.7421, allocations: 1.939 MB / 0.8599 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03339/0.7755, allocations: 18.02 MB / 0.8775 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.7758, allocations: 184.2 kB / 0.8776 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008824/0.7767, allocations: 244 kB / 0.8779 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006997/0.7837, allocations: 3.224 MB / 0.881 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.7838, allocations: 7.984 kB / 0.881 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.7841, allocations: 88 kB / 0.8811 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/0.7841, allocations: 52 kB / 0.8812 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006952/0.7911, allocations: 2.604 MB / 0.8837 GB, free: 5.57 MB / 0.6544 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.0233/0.8144, allocations: 14.92 MB / 0.8983 GB, free: 5.859 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00589/0.8203, allocations: 2.283 MB / 0.9005 GB, free: 3.574 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.8228, allocations: 0.9925 MB / 0.9015 GB, free: 2.582 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009423/0.8322, allocations: 4.995 MB / 0.9064 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.8323, allocations: 47.5 kB / 0.9064 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=112): time 3.727e-06/0.8323, allocations: 3.938 kB / 0.9064 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=112): time 0.0116/0.8439, allocations: 3.982 MB / 0.9103 GB, free: 9.23 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.844, allocations: 64.41 kB / 0.9104 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0082/0.8522, allocations: 5.571 MB / 0.9158 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005091/0.8527, allocations: 57.7 kB / 0.9159 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/0.8547, allocations: 2.299 MB / 0.9181 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/0.8553, allocations: 429.5 kB / 0.9185 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.8565, allocations: 0.8807 MB / 0.9194 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.8566, allocations: 305.1 kB / 0.9197 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004158/0.8608, allocations: 2.621 MB / 0.9222 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004929/0.8658, allocations: 3.451 MB / 0.9256 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009358/0.8751, allocations: 5.586 MB / 0.931 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.8752, allocations: 8 kB / 0.9311 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01384/0.8891, allocations: 7.084 MB / 0.938 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.8891, allocations: 12 kB / 0.938 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.8892, allocations: 19.94 kB / 0.938 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.8908, allocations: 0.7254 MB / 0.9387 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00311/0.8939, allocations: 0.6631 MB / 0.9394 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.8962, allocations: 2.725 MB / 0.942 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004587/0.9008, allocations: 457.2 kB / 0.9425 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006316/0.9015, allocations: 215.9 kB / 0.9427 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006104/0.9076, allocations: 3.251 MB / 0.9458 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004744/0.9123, allocations: 3.03 MB / 0.9488 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007618/0.92, allocations: 4.718 MB / 0.9534 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.329e-05/0.92, allocations: 4 kB / 0.9534 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01178/0.9318, allocations: 6.263 MB / 0.9595 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.9319, allocations: 14.03 kB / 0.9595 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.9319, allocations: 27.92 kB / 0.9596 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/0.9344, allocations: 0.8038 MB / 0.9603 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/0.9372, allocations: 0.6319 MB / 0.961 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/0.9538, allocations: 13.64 MB / 0.9743 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004186/0.958, allocations: 363 kB / 0.9746 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005329/0.9586, allocations: 179.9 kB / 0.9748 GB, free: 5.148 MB / 0.7481 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.0007031/0.9593, allocations: 327.8 kB / 0.9751 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.9604, allocations: 0.5043 MB / 0.9756 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008235/0.9687, allocations: 3.322 MB / 0.9788 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.9687, allocations: 12 kB / 0.9789 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9687, allocations: 7.938 kB / 0.9789 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.9688, allocations: 7.969 kB / 0.9789 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01394/0.9827, allocations: 6.207 MB / 0.9849 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.9828, allocations: 0 / 0.9849 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.9845, allocations: 303.6 kB / 0.9852 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009746/0.9855, allocations: 369.8 kB / 0.9856 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.9857, allocations: 59.88 kB / 0.9856 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.9876, allocations: 2.619 MB / 0.9882 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9876, allocations: 4.281 kB / 0.9882 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008008/0.9956, allocations: 3.09 MB / 0.9912 GB, free: 4.102 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/0.998, allocations: 0.8134 MB / 0.992 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/0.9991, allocations: 31.94 kB / 0.992 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.002, allocations: 155.7 kB / 0.9922 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/1.002, allocations: 85.19 kB / 0.9923 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/1.002, allocations: 91.92 kB / 0.9924 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.006439/1.009, allocations: 3.674 MB / 0.9959 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.02e-07/1.009, allocations: 0 / 0.9959 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007423/1.016, allocations: 2.34 MB / 0.9982 GB, free: 12.9 MB / 0.7794 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.009106/1.025, allocations: 4.235 MB / 1.002 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01516/1.041, allocations: 7.918 MB / 1.01 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.041, allocations: 0 / 1.01 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/1.044, allocations: 1.168 MB / 1.011 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009942/1.054, allocations: 2.442 MB / 1.014 GB, free: 13.18 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07973/1.134, allocations: 43.26 MB / 1.056 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.314/1.448, allocations: 2.866 MB / 1.059 GB, free: 329.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006043/1.454, allocations: 1.338 MB / 1.06 GB, free: 329.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003715/1.457, allocations: 2.225 MB / 1.062 GB, free: 329.6 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/1.457, allocations: 1.125 kB / 1.062 GB, free: 329.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1871/1.645, allocations: 142.4 MB / 1.201 GB, free: 215.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.25/24.89, allocations: 8 kB / 1.201 GB, free: 215.1 MB / 0.8262 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)