Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_8_Buildings_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.001542/0.001542, allocations: 105.4 kB / 15.7 MB, free: 24 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.001834/0.001834, allocations: 193.4 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 222.5 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 69.33 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.189, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.09334/0.2824, allocations: 103.2 MB / 0.8844 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4737/0.7562, allocations: 35.99 MB / 0.9195 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006311/0.7626, allocations: 165.2 kB / 0.9197 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00607/0.7687, allocations: 1.972 MB / 0.9216 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.7821, allocations: 4.893 MB / 0.9264 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/0.7931, allocations: 3.794 MB / 0.9301 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01992/0.8131, allocations: 9.319 MB / 0.9392 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008878/0.822, allocations: 3.485 MB / 0.9426 GB, free: 22.56 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/0.8357, allocations: 3.923 MB / 0.9464 GB, free: 22.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008652/0.8444, allocations: 2.945 MB / 0.9493 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002261/0.8467, allocations: 392.5 kB / 0.9496 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.8578, allocations: 2.557 MB / 0.9521 GB, free: 21.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003111/0.861, allocations: 1.241 MB / 0.9534 GB, free: 21.53 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.006961/0.868, allocations: 2.237 MB / 0.9555 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.8834, allocations: 6.882 MB / 0.9623 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.8835, allocations: 0 / 0.9623 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8835, allocations: 1.688 kB / 0.9623 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002233/0.8837, allocations: 0 / 0.9623 GB, free: 19.09 MB / 0.7325 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.01486/0.8986, allocations: 4.753 MB / 0.9669 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.8987, allocations: 10.78 kB / 0.9669 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004613/0.8991, allocations: 293.6 kB / 0.9672 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008228/0.9074, allocations: 1.153 MB / 0.9683 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0094/0.9168, allocations: 3.868 MB / 0.9721 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.917, allocations: 174 kB / 0.9723 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005781/0.9176, allocations: 231.5 kB / 0.9725 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.9225, allocations: 2.599 MB / 0.975 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.9226, allocations: 6.984 kB / 0.975 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/0.9228, allocations: 86.78 kB / 0.9751 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/0.9228, allocations: 50.97 kB / 0.9752 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004286/0.9271, allocations: 1.916 MB / 0.977 GB, free: 9.859 MB / 0.7325 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.01695/0.9441, allocations: 12.33 MB / 0.9891 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.9474, allocations: 1.432 MB / 0.9905 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.949, allocations: 0.6665 MB / 0.9911 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006546/0.9556, allocations: 3.624 MB / 0.9947 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.9556, allocations: 48.84 kB / 0.9947 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 2.634e-06/0.9557, allocations: 0 / 0.9947 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.008418/0.9641, allocations: 2.814 MB / 0.9975 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.9642, allocations: 67.72 kB / 0.9975 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004675/0.9688, allocations: 3.216 MB / 1.001 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004124/0.9693, allocations: 65.2 kB / 1.001 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.9707, allocations: 1.703 MB / 1.002 GB, free: 6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004848/0.9712, allocations: 358 kB / 1.003 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.9718, allocations: 434.5 kB / 1.003 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.9719, allocations: 308.1 kB / 1.003 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.9739, allocations: 0.9879 MB / 1.004 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.9765, allocations: 1.643 MB / 1.006 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004541/0.9811, allocations: 2.523 MB / 1.008 GB, free: 132 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.9811, allocations: 8 kB / 1.008 GB, free: 124 kB / 0.7481 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007113/0.9882, allocations: 3.251 MB / 1.012 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.9883, allocations: 14.97 kB / 1.012 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.9883, allocations: 16 kB / 1.012 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.9897, allocations: 0.5513 MB / 1.012 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.9914, allocations: 415.3 kB / 1.013 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.9935, allocations: 2.588 MB / 1.015 GB, free: 9.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/0.9961, allocations: 244.6 kB / 1.015 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/0.9964, allocations: 139.9 kB / 1.016 GB, free: 8.785 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002961/0.9994, allocations: 1.449 MB / 1.017 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002098/1.001, allocations: 1.484 MB / 1.018 GB, free: 5.566 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003599/1.005, allocations: 2.215 MB / 1.021 GB, free: 3.129 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.417e-06/1.005, allocations: 4 kB / 1.021 GB, free: 3.125 MB / 0.7637 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.006748/1.012, allocations: 2.944 MB / 1.023 GB, free: 180 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/1.012, allocations: 15.94 kB / 1.023 GB, free: 164 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.012, allocations: 20.81 kB / 1.023 GB, free: 144 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/1.014, allocations: 0.6552 MB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/1.016, allocations: 379.4 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/1.031, allocations: 11.87 MB / 1.036 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.033, allocations: 174.4 kB / 1.036 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/1.034, allocations: 116 kB / 1.036 GB, free: 2.297 MB / 0.7794 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.0005815/1.034, allocations: 297.4 kB / 1.037 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/1.035, allocations: 339.6 kB / 1.037 GB, free: 1.664 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006045/1.041, allocations: 2.446 MB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/1.041, allocations: 23.92 kB / 1.039 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.041, allocations: 4 kB / 1.039 GB, free: 15.17 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.041, allocations: 7.984 kB / 1.039 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009306/1.05, allocations: 4.528 MB / 1.044 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/1.05, allocations: 8.047 kB / 1.044 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.052, allocations: 231.6 kB / 1.044 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/1.053, allocations: 335 kB / 1.044 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.053, allocations: 39.95 kB / 1.044 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/1.054, allocations: 2.514 MB / 1.047 GB, free: 7.355 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.054, allocations: 0 / 1.047 GB, free: 7.355 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/1.06, allocations: 2.229 MB / 1.049 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.061, allocations: 0.5743 MB / 1.05 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000465/1.062, allocations: 20 kB / 1.05 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.063, allocations: 91.81 kB / 1.05 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.064, allocations: 85.08 kB / 1.05 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.064, allocations: 64 kB / 1.05 GB, free: 4.238 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003499/1.067, allocations: 2.146 MB / 1.052 GB, free: 2.082 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/1.067, allocations: 4 kB / 1.052 GB, free: 2.078 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00574/1.073, allocations: 1.703 MB / 1.054 GB, free: 384 kB / 0.795 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.006756/1.08, allocations: 3.226 MB / 1.057 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009244/1.089, allocations: 3.997 MB / 1.061 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.089, allocations: 4 kB / 1.061 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/1.091, allocations: 0.8472 MB / 1.061 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006698/1.098, allocations: 1.646 MB / 1.063 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04965/1.148, allocations: 25.58 MB / 1.088 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001701/1.149, allocations: 2.156 MB / 1.09 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003951/1.153, allocations: 0.7959 MB / 1.091 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/1.156, allocations: 1.526 MB / 1.092 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of SimCode: time 1.823e-06/1.156, allocations: 0 / 1.092 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/1.318, allocations: 98.3 MB / 1.188 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/19.88, allocations: 15.8 kB / 1.188 GB, free: 6.812 MB / 0.9356 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)