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.001078/0.001077, allocations: 108 kB / 15.6 MB, free: 132 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.001087/0.001087, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.728/1.728, allocations: 292.3 MB / 0.5489 GB, free: 13.53 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.002486/0.002486, allocations: 71.84 kB / 0.6716 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2112, allocations: 114.5 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1012/0.3125, allocations: 103.1 MB / 0.8842 GB, free: 5.988 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.04957/0.3621, allocations: 36 MB / 0.9193 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005615/0.3677, allocations: 166.9 kB / 0.9195 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.4319/0.7997, allocations: 1.973 MB / 0.9214 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.8135, allocations: 4.896 MB / 0.9262 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009734/0.8232, allocations: 3.762 MB / 0.9299 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01359/0.8368, allocations: 9.298 MB / 0.939 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00738/0.8442, allocations: 3.49 MB / 0.9424 GB, free: 23.31 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.8557, allocations: 3.892 MB / 0.9462 GB, free: 23.18 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006916/0.8626, allocations: 2.938 MB / 0.949 GB, free: 22.67 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.8645, allocations: 396.2 kB / 0.9494 GB, free: 22.66 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007978/0.8725, allocations: 2.556 MB / 0.9519 GB, free: 22.63 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.8749, allocations: 1.235 MB / 0.9531 GB, free: 22.47 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005592/0.8805, allocations: 2.246 MB / 0.9553 GB, free: 21.82 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.8925, allocations: 6.789 MB / 0.9619 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.8926, allocations: 0 / 0.9619 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8926, allocations: 1.438 kB / 0.9619 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002273/0.8928, allocations: 0 / 0.9619 GB, free: 20.91 MB / 0.7481 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.01378/0.9066, allocations: 4.763 MB / 0.9666 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.9067, allocations: 9.688 kB / 0.9666 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004496/0.9071, allocations: 287.4 kB / 0.9669 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006458/0.9136, allocations: 1.155 MB / 0.968 GB, free: 18.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00903/0.9226, allocations: 3.764 MB / 0.9717 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.9228, allocations: 180.1 kB / 0.9719 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/0.9233, allocations: 229.4 kB / 0.9721 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004621/0.928, allocations: 2.599 MB / 0.9746 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/0.928, allocations: 6.062 kB / 0.9746 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.9282, allocations: 90.42 kB / 0.9747 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.9283, allocations: 49.91 kB / 0.9748 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/0.9325, allocations: 1.911 MB / 0.9766 GB, free: 17.19 MB / 0.7481 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.01699/0.9495, allocations: 12.43 MB / 0.9888 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.9529, allocations: 1.436 MB / 0.9902 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.9544, allocations: 0.6727 MB / 0.9908 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006576/0.961, allocations: 3.63 MB / 0.9944 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.9611, allocations: 46.38 kB / 0.9944 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.9611, allocations: 0 / 0.9944 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.00893/0.97, allocations: 2.815 MB / 0.9972 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.9701, allocations: 68.12 kB / 0.9972 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/0.9755, allocations: 3.216 MB / 1 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005172/0.9761, allocations: 57.81 kB / 1 GB, free: 3.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.9777, allocations: 1.711 MB / 1.002 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006449/0.9783, allocations: 359.9 kB / 1.002 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007164/0.979, allocations: 437.6 kB / 1.003 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9792, allocations: 301.1 kB / 1.003 GB, free: 0.8945 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.9814, allocations: 0.9863 MB / 1.004 GB, free: 424 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.9841, allocations: 1.641 MB / 1.006 GB, free: 15.09 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004719/0.9889, allocations: 2.526 MB / 1.008 GB, free: 13.46 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.9889, allocations: 13.66 kB / 1.008 GB, free: 13.46 MB / 0.7638 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007256/0.9962, allocations: 3.243 MB / 1.011 GB, free: 11.94 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.9962, allocations: 14.88 kB / 1.011 GB, free: 11.94 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.9963, allocations: 20.84 kB / 1.011 GB, free: 11.94 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.9977, allocations: 0.5552 MB / 1.012 GB, free: 11.68 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.9994, allocations: 409.4 kB / 1.012 GB, free: 11.6 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/1.001, allocations: 2.589 MB / 1.015 GB, free: 9.234 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.004, allocations: 246.1 kB / 1.015 GB, free: 9.07 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/1.005, allocations: 138.4 kB / 1.015 GB, free: 9.035 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002986/1.008, allocations: 1.444 MB / 1.017 GB, free: 8.234 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002246/1.01, allocations: 1.484 MB / 1.018 GB, free: 6.57 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004052/1.014, allocations: 2.213 MB / 1.02 GB, free: 4.199 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.129e-05/1.014, allocations: 4 kB / 1.02 GB, free: 4.195 MB / 0.7638 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.007342/1.021, allocations: 2.953 MB / 1.023 GB, free: 1.352 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.021, allocations: 12 kB / 1.023 GB, free: 1.34 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.021, allocations: 23.94 kB / 1.023 GB, free: 1.316 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/1.024, allocations: 0.6554 MB / 1.024 GB, free: 0.6523 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.025, allocations: 391 kB / 1.024 GB, free: 300 kB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/1.042, allocations: 11.86 MB / 1.036 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/1.045, allocations: 178.8 kB / 1.036 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005047/1.046, allocations: 116 kB / 1.036 GB, free: 3.574 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.0007403/1.047, allocations: 293.4 kB / 1.036 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.048, allocations: 339.6 kB / 1.037 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/1.054, allocations: 2.45 MB / 1.039 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/1.055, allocations: 23.98 kB / 1.039 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/1.055, allocations: 3.938 kB / 1.039 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/1.055, allocations: 3.984 kB / 1.039 GB, free: 500 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.065, allocations: 4.533 MB / 1.043 GB, free: 11.93 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.065, allocations: 7.984 kB / 1.043 GB, free: 11.92 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.066, allocations: 233.7 kB / 1.044 GB, free: 11.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008998/1.067, allocations: 341.6 kB / 1.044 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/1.067, allocations: 47.89 kB / 1.044 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/1.069, allocations: 2.501 MB / 1.047 GB, free: 8.719 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.069, allocations: 4.031 kB / 1.047 GB, free: 8.715 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005742/1.075, allocations: 2.232 MB / 1.049 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.077, allocations: 0.5743 MB / 1.049 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005104/1.077, allocations: 24 kB / 1.049 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.079, allocations: 87.94 kB / 1.049 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.079, allocations: 85.14 kB / 1.049 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/1.079, allocations: 67.94 kB / 1.05 GB, free: 5.605 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003624/1.083, allocations: 2.15 MB / 1.052 GB, free: 3.445 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.984e-06/1.083, allocations: 0 / 1.052 GB, free: 3.445 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005721/1.088, allocations: 1.698 MB / 1.053 GB, free: 1.746 MB / 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.006629/1.095, allocations: 3.219 MB / 1.056 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.105, allocations: 4.042 MB / 1.06 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.105, allocations: 128 / 1.06 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/1.107, allocations: 0.8423 MB / 1.061 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007669/1.115, allocations: 1.654 MB / 1.063 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05865/1.174, allocations: 30.37 MB / 1.092 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/1.176, allocations: 2.144 MB / 1.095 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.003982/1.18, allocations: 0.7966 MB / 1.095 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/1.182, allocations: 1.53 MB / 1.097 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of SimCode: time 7.62e-07/1.182, allocations: 0 / 1.097 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.203/1.385, allocations: 101.1 MB / 1.196 GB, free: 15.49 MB / 0.9513 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/15.44, allocations: 7.016 kB / 1.196 GB, free: 15.48 MB / 0.9513 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)