Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.001173/0.001173, allocations: 102.4 kB / 16.4 MB, free: 6.457 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.001148/0.001148, allocations: 193.2 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7669/0.7669, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.38 kB / 0.5726 GB, free: 27.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1442, allocations: 78.71 MB / 0.6494 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4452/0.5894, allocations: 106.4 MB / 0.7534 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04628/0.6357, allocations: 35.46 MB / 0.788 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007167/0.6429, allocations: 165.1 kB / 0.7882 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008586/0.6515, allocations: 2.961 MB / 0.791 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01625/0.6678, allocations: 5.799 MB / 0.7967 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.6791, allocations: 4.146 MB / 0.8008 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.04643/0.7255, allocations: 32.42 MB / 0.8324 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006137/0.7317, allocations: 3.694 MB / 0.836 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.7424, allocations: 4.426 MB / 0.8403 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00683/0.7493, allocations: 3.457 MB / 0.8437 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001667/0.751, allocations: 480 kB / 0.8442 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00871/0.7597, allocations: 3.013 MB / 0.8471 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003211/0.7629, allocations: 1.961 MB / 0.849 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005975/0.7689, allocations: 3.155 MB / 0.8521 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.7842, allocations: 9.716 MB / 0.8616 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7843, allocations: 8 kB / 0.8616 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7843, allocations: 0 / 0.8616 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002038/0.7845, allocations: 0 / 0.8616 GB, free: 15.32 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01351/0.798, allocations: 6.831 MB / 0.8683 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.7981, allocations: 12.02 kB / 0.8683 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004997/0.7986, allocations: 295.9 kB / 0.8686 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.8094, allocations: 1.955 MB / 0.8705 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03496/0.8444, allocations: 18.37 MB / 0.8884 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.8447, allocations: 188.3 kB / 0.8886 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009805/0.8457, allocations: 252 kB / 0.8889 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008103/0.8538, allocations: 3.403 MB / 0.8922 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.8539, allocations: 11.98 kB / 0.8922 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004066/0.8543, allocations: 88 kB / 0.8923 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.8544, allocations: 52 kB / 0.8923 GB, free: 120 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006859/0.8612, allocations: 2.573 MB / 0.8948 GB, free: 13.53 MB / 0.67 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.02613/0.8874, allocations: 15.31 MB / 0.9098 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006173/0.8936, allocations: 2.413 MB / 0.9121 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.8962, allocations: 1.046 MB / 0.9132 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009818/0.906, allocations: 5.422 MB / 0.9185 GB, free: 4.258 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.9061, allocations: 47.56 kB / 0.9185 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=115): time 3.657e-06/0.9061, allocations: 0 / 0.9185 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of matching and sorting (n=115): time 0.01207/0.9182, allocations: 4.263 MB / 0.9227 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.9183, allocations: 64.41 kB / 0.9227 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/0.9284, allocations: 5.812 MB / 0.9284 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004791/0.9289, allocations: 69.69 kB / 0.9285 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00238/0.9313, allocations: 2.335 MB / 0.9308 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006802/0.932, allocations: 448.4 kB / 0.9312 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/0.9339, allocations: 0.9145 MB / 0.9321 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.934, allocations: 305.1 kB / 0.9324 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004546/0.9386, allocations: 2.895 MB / 0.9352 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005201/0.9438, allocations: 3.789 MB / 0.9389 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009156/0.9529, allocations: 6.17 MB / 0.9449 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/0.953, allocations: 4 kB / 0.9449 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01396/0.967, allocations: 7.846 MB / 0.9526 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.967, allocations: 12 kB / 0.9526 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/0.9671, allocations: 16 kB / 0.9526 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.9693, allocations: 0.9692 MB / 0.9536 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/0.9722, allocations: 0.6825 MB / 0.9542 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/0.9747, allocations: 2.959 MB / 0.9571 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004193/0.9789, allocations: 474 kB / 0.9576 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/0.9795, allocations: 227.9 kB / 0.9578 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006081/0.9856, allocations: 3.528 MB / 0.9612 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004645/0.9902, allocations: 3.305 MB / 0.9645 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007733/0.998, allocations: 5.222 MB / 0.9696 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.552e-05/0.998, allocations: 7.938 kB / 0.9696 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01277/1.011, allocations: 6.958 MB / 0.9764 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/1.011, allocations: 12 kB / 0.9764 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/1.011, allocations: 21.16 kB / 0.9764 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/1.014, allocations: 1.088 MB / 0.9774 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/1.017, allocations: 0.6397 MB / 0.9781 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/1.038, allocations: 16.55 MB / 0.9942 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/1.044, allocations: 386.9 kB / 0.9946 GB, free: 4.117 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008675/1.044, allocations: 183.9 kB / 0.9948 GB, free: 3.938 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 327 * 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.001166/1.046, allocations: 337.6 kB / 0.9951 GB, free: 3.602 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/1.047, allocations: 0.5198 MB / 0.9956 GB, free: 3.078 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009403/1.057, allocations: 3.545 MB / 0.9991 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/1.057, allocations: 23.92 kB / 0.9991 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.057, allocations: 0 / 0.9991 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.057, allocations: 3.984 kB / 0.9991 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.072, allocations: 6.581 MB / 1.006 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.072, allocations: 0 / 1.006 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/1.074, allocations: 311.7 kB / 1.006 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/1.075, allocations: 454.9 kB / 1.006 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/1.075, allocations: 55.94 kB / 1.006 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/1.077, allocations: 2.81 MB / 1.009 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.077, allocations: 0 / 1.009 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007809/1.085, allocations: 3.3 MB / 1.012 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.087, allocations: 0.8561 MB / 1.013 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001488/1.089, allocations: 28 kB / 1.013 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003413/1.092, allocations: 163.8 kB / 1.013 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.093, allocations: 101.1 kB / 1.013 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/1.093, allocations: 91.92 kB / 1.013 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.008106/1.101, allocations: 3.843 MB / 1.017 GB, free: 12.69 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.2e-07/1.101, allocations: 8 kB / 1.017 GB, free: 12.68 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.008747/1.11, allocations: 2.416 MB / 1.02 GB, free: 10.26 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01074/1.12, allocations: 4.415 MB / 1.024 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01676/1.137, allocations: 8.4 MB / 1.032 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.137, allocations: 320 / 1.032 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.003288/1.141, allocations: 1.218 MB / 1.033 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/1.152, allocations: 2.542 MB / 1.036 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4215/1.574, allocations: 46.92 MB / 1.082 GB, free: 316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002283/1.576, allocations: 2.958 MB / 1.084 GB, free: 315 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004922/1.581, allocations: 1.404 MB / 1.086 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002552/1.583, allocations: 2.289 MB / 1.088 GB, free: 313 MB / 0.8262 GB Notification: Performance of SimCode: time 1.293e-06/1.583, allocations: 0 / 1.088 GB, free: 313 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1822/1.766, allocations: 149.5 MB / 1.234 GB, free: 179 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.69/26.45, allocations: 14.2 kB / 1.234 GB, free: 179 MB / 0.8262 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_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_Examples_SpeedControlled_y_pumpCurves.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)