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.001363/0.001363, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001353/0.001353, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 287.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9665/0.9665, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 99.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.5008, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1161/0.6169, allocations: 104.1 MB / 0.8687 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05736/0.6743, allocations: 34.93 MB / 0.9028 GB, free: 8.426 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008389/0.6827, allocations: 159.1 kB / 0.903 GB, free: 8.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.009528/0.6923, allocations: 2.878 MB / 0.9058 GB, free: 5.379 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.7081, allocations: 5.47 MB / 0.9111 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.719, allocations: 4.05 MB / 0.9151 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.04317/0.7622, allocations: 31.55 MB / 0.9459 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00796/0.7702, allocations: 3.672 MB / 0.9495 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.7825, allocations: 4.36 MB / 0.9537 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007405/0.7899, allocations: 3.37 MB / 0.957 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.7921, allocations: 460 kB / 0.9575 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5021/1.294, allocations: 2.925 MB / 0.9603 GB, free: 39.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003655/1.298, allocations: 1.869 MB / 0.9621 GB, free: 39.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.009052/1.307, allocations: 2.993 MB / 0.9651 GB, free: 38.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01759/1.325, allocations: 8.787 MB / 0.9736 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.325, allocations: 0 / 0.9736 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/1.325, allocations: 2.688 kB / 0.9736 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002956/1.325, allocations: 0 / 0.9736 GB, free: 37.96 MB / 0.7169 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.01736/1.342, allocations: 6.273 MB / 0.9798 GB, free: 34.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.342, allocations: 10.41 kB / 0.9798 GB, free: 34.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.354, allocations: 1.893 MB / 0.9816 GB, free: 34.61 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/1.371, allocations: 7.277 MB / 0.9887 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/1.371, allocations: 185.3 kB / 0.9889 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/1.373, allocations: 249 kB / 0.9892 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006229/1.379, allocations: 3.222 MB / 0.9923 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/1.379, allocations: 3.281 kB / 0.9923 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/1.379, allocations: 87.72 kB / 0.9924 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/1.379, allocations: 58.38 kB / 0.9924 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006153/1.385, allocations: 2.595 MB / 0.995 GB, free: 33.12 MB / 0.7169 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.02333/1.409, allocations: 14.85 MB / 1.009 GB, free: 26.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005749/1.414, allocations: 2.267 MB / 1.012 GB, free: 26.44 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/1.417, allocations: 0.9928 MB / 1.013 GB, free: 26.42 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00875/1.426, allocations: 4.987 MB / 1.018 GB, free: 24.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.426, allocations: 48.36 kB / 1.018 GB, free: 24.62 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=112): time 3.456e-06/1.426, allocations: 2.531 kB / 1.018 GB, free: 24.62 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.01132/1.437, allocations: 3.967 MB / 1.021 GB, free: 23.72 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/1.437, allocations: 62.25 kB / 1.022 GB, free: 23.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009313/1.447, allocations: 5.473 MB / 1.027 GB, free: 22.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007733/1.447, allocations: 59.05 kB / 1.027 GB, free: 22.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001919/1.449, allocations: 2.224 MB / 1.029 GB, free: 21.55 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007604/1.45, allocations: 412.6 kB / 1.029 GB, free: 21.26 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/1.451, allocations: 0.8819 MB / 1.03 GB, free: 21.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/1.452, allocations: 304.9 kB / 1.031 GB, free: 20.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003978/1.456, allocations: 2.618 MB / 1.033 GB, free: 20.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/1.46, allocations: 3.458 MB / 1.037 GB, free: 19.13 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007686/1.468, allocations: 5.58 MB / 1.042 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-05/1.468, allocations: 8 kB / 1.042 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01193/1.48, allocations: 7.058 MB / 1.049 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/1.48, allocations: 12 kB / 1.049 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.187e-05/1.48, allocations: 23.94 kB / 1.049 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/1.481, allocations: 0.7208 MB / 1.05 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/1.484, allocations: 0.6735 MB / 1.05 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/1.486, allocations: 2.722 MB / 1.053 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/1.491, allocations: 436.8 kB / 1.053 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007019/1.492, allocations: 215.9 kB / 1.054 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006434/1.498, allocations: 3.239 MB / 1.057 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005203/1.503, allocations: 3.025 MB / 1.06 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008387/1.512, allocations: 4.727 MB / 1.064 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.952e-05/1.512, allocations: 4 kB / 1.064 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01369/1.526, allocations: 6.236 MB / 1.07 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.526, allocations: 13.88 kB / 1.07 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/1.526, allocations: 19.94 kB / 1.07 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/1.528, allocations: 0.8059 MB / 1.071 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/1.531, allocations: 0.6353 MB / 1.072 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/1.549, allocations: 13.65 MB / 1.085 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.555, allocations: 363.4 kB / 1.086 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000867/1.556, allocations: 171.9 kB / 1.086 GB, free: 0.7578 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.001392/1.557, allocations: 326.6 kB / 1.086 GB, free: 480 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001752/1.559, allocations: 481.6 kB / 1.086 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009849/1.569, allocations: 3.321 MB / 1.09 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/1.569, allocations: 16 kB / 1.09 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.569, allocations: 0 / 1.09 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.569, allocations: 7.969 kB / 1.09 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/1.586, allocations: 6.178 MB / 1.096 GB, free: 6.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.586, allocations: 4 kB / 1.096 GB, free: 6.449 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.588, allocations: 305.6 kB / 1.096 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/1.589, allocations: 375 kB / 1.096 GB, free: 5.781 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/1.589, allocations: 55.94 kB / 1.096 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.591, allocations: 2.623 MB / 1.099 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.591, allocations: 0 / 1.099 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008249/1.6, allocations: 3.06 MB / 1.102 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002885/1.602, allocations: 0.7793 MB / 1.103 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001472/1.604, allocations: 27.98 kB / 1.103 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003143/1.607, allocations: 151.7 kB / 1.103 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.607, allocations: 93.17 kB / 1.103 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.608, allocations: 83.94 kB / 1.103 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00805/1.616, allocations: 3.632 MB / 1.107 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.8e-07/1.616, allocations: 3.938 kB / 1.107 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01017/1.626, allocations: 2.319 MB / 1.109 GB, free: 8.812 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.00301/1.629, allocations: 0.9053 MB / 1.11 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01715/1.646, allocations: 7.915 MB / 1.118 GB, free: 156 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.646, allocations: 0 / 1.118 GB, free: 156 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003372/1.649, allocations: 1.17 MB / 1.119 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01346/1.663, allocations: 2.43 MB / 1.121 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/1.683, allocations: 8.468 MB / 1.129 GB, free: 4.156 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0042/1.687, allocations: 2.829 MB / 1.132 GB, free: 1.297 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/1.689, allocations: 403.2 kB / 1.132 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of SimCode: time 1.463e-06/1.689, allocations: 0 / 1.132 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of Templates: time 0.2233/1.912, allocations: 173 MB / 1.301 GB, free: 4.746 MB / 0.9669 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)