Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.00102/0.00102, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 289.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.882/0.882, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 99.23 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.3519/0.5034, allocations: 104.1 MB / 0.7833 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.05054/0.554, allocations: 34.94 MB / 0.8174 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006739/0.5607, allocations: 159.1 kB / 0.8175 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.02939/0.5902, allocations: 18.54 MB / 0.8356 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01503/0.6053, allocations: 5.286 MB / 0.8408 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009784/0.6151, allocations: 4.025 MB / 0.8447 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.04441/0.6595, allocations: 31.08 MB / 0.8751 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006322/0.6658, allocations: 3.547 MB / 0.8785 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009392/0.6753, allocations: 4.119 MB / 0.8826 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00553/0.6808, allocations: 3.26 MB / 0.8857 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.682, allocations: 432 kB / 0.8862 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006274/0.6883, allocations: 2.901 MB / 0.889 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.6902, allocations: 1.83 MB / 0.8908 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004885/0.6951, allocations: 2.95 MB / 0.8937 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.708, allocations: 8.61 MB / 0.9021 GB, free: 12.73 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.708, allocations: 0 / 0.9021 GB, free: 12.73 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.774e-06/0.708, allocations: 0 / 0.9021 GB, free: 12.73 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001657/0.7082, allocations: 0 / 0.9021 GB, free: 12.73 MB / 0.67 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.0123/0.7205, allocations: 6.185 MB / 0.9081 GB, free: 6.43 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.7205, allocations: 8.031 kB / 0.9081 GB, free: 6.422 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.7313, allocations: 1.893 MB / 0.91 GB, free: 4.52 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.7478, allocations: 7.069 MB / 0.9169 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.748, allocations: 188.2 kB / 0.917 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007344/0.7488, allocations: 240 kB / 0.9173 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006238/0.755, allocations: 3.22 MB / 0.9204 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.7551, allocations: 3.938 kB / 0.9204 GB, free: 9.59 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.7553, allocations: 88 kB / 0.9205 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/0.7554, allocations: 56 kB / 0.9206 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005968/0.7613, allocations: 2.592 MB / 0.9231 GB, free: 6.84 MB / 0.6856 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.02381/0.7852, allocations: 14.84 MB / 0.9376 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005038/0.7903, allocations: 2.269 MB / 0.9398 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002213/0.7925, allocations: 0.992 MB / 0.9408 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007794/0.8003, allocations: 4.969 MB / 0.9456 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.8004, allocations: 43.56 kB / 0.9457 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=112): time 2.745e-06/0.8004, allocations: 0 / 0.9457 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.01051/0.8109, allocations: 3.949 MB / 0.9495 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.8109, allocations: 64.41 kB / 0.9496 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007027/0.818, allocations: 5.416 MB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.8182, allocations: 61.7 kB / 0.9549 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001724/0.82, allocations: 2.235 MB / 0.9571 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.8204, allocations: 406.4 kB / 0.9575 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/0.8215, allocations: 0.8721 MB / 0.9583 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.8216, allocations: 301.1 kB / 0.9586 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2864/1.108, allocations: 2.62 MB / 0.9612 GB, free: 238.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0055/1.114, allocations: 3.467 MB / 0.9646 GB, free: 237.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008727/1.122, allocations: 5.579 MB / 0.97 GB, free: 234.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-05/1.122, allocations: 5.125 kB / 0.97 GB, free: 234.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01269/1.135, allocations: 7.057 MB / 0.9769 GB, free: 232.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.135, allocations: 12.58 kB / 0.9769 GB, free: 232.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/1.135, allocations: 20.84 kB / 0.977 GB, free: 232.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/1.137, allocations: 0.7119 MB / 0.9776 GB, free: 232.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/1.14, allocations: 0.6691 MB / 0.9783 GB, free: 232.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/1.141, allocations: 2.735 MB / 0.981 GB, free: 229.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/1.145, allocations: 432.5 kB / 0.9814 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/1.146, allocations: 215.3 kB / 0.9816 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005117/1.151, allocations: 3.237 MB / 0.9847 GB, free: 228.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003887/1.155, allocations: 3.03 MB / 0.9877 GB, free: 226.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006645/1.161, allocations: 4.721 MB / 0.9923 GB, free: 224.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.602e-05/1.162, allocations: 5.031 kB / 0.9923 GB, free: 224.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01114/1.173, allocations: 6.236 MB / 0.9984 GB, free: 222.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.173, allocations: 12.84 kB / 0.9984 GB, free: 222.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.173, allocations: 15.72 kB / 0.9984 GB, free: 222.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/1.175, allocations: 0.8093 MB / 0.9992 GB, free: 222.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.177, allocations: 0.635 MB / 0.9999 GB, free: 222 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.191, allocations: 13.64 MB / 1.013 GB, free: 212.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/1.195, allocations: 358.4 kB / 1.014 GB, free: 212.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/1.195, allocations: 172.2 kB / 1.014 GB, free: 212.7 MB / 0.7169 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.0007522/1.196, allocations: 334.4 kB / 1.014 GB, free: 212.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006584/1.197, allocations: 477 kB / 1.014 GB, free: 212.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006723/1.204, allocations: 3.321 MB / 1.018 GB, free: 210.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/1.204, allocations: 16 kB / 1.018 GB, free: 210.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.204, allocations: 4 kB / 1.018 GB, free: 210.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.204, allocations: 7.688 kB / 1.018 GB, free: 210.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.214, allocations: 6.149 MB / 1.024 GB, free: 204.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.214, allocations: 3.562 kB / 1.024 GB, free: 204.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.216, allocations: 299.5 kB / 1.024 GB, free: 204.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008204/1.216, allocations: 382.5 kB / 1.024 GB, free: 203.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.217, allocations: 51.94 kB / 1.024 GB, free: 203.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/1.218, allocations: 2.619 MB / 1.027 GB, free: 201.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.218, allocations: 3.938 kB / 1.027 GB, free: 201.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006074/1.224, allocations: 3.054 MB / 1.03 GB, free: 198 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.226, allocations: 0.7812 MB / 1.031 GB, free: 197.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006617/1.226, allocations: 24 kB / 1.031 GB, free: 197.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/1.229, allocations: 146.4 kB / 1.031 GB, free: 197.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/1.229, allocations: 93.12 kB / 1.031 GB, free: 197 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.229, allocations: 91.92 kB / 1.031 GB, free: 196.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004411/1.233, allocations: 3.569 MB / 1.035 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/1.233, allocations: 3.875 kB / 1.035 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005633/1.239, allocations: 2.311 MB / 1.037 GB, free: 191.1 MB / 0.7169 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.001661/1.241, allocations: 0.9159 MB / 1.038 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.253, allocations: 7.915 MB / 1.045 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.253, allocations: 0 / 1.045 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/1.255, allocations: 1.172 MB / 1.047 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007461/1.263, allocations: 2.436 MB / 1.049 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/1.273, allocations: 8.318 MB / 1.057 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00181/1.275, allocations: 2.878 MB / 1.06 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004225/1.28, allocations: 1.329 MB / 1.061 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008497/1.28, allocations: 375.2 kB / 1.062 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/1.28, allocations: 0 / 1.062 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.1251/1.405, allocations: 104.4 MB / 1.164 GB, free: 62.93 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)