Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.005846/0.005846, allocations: 97.88 kB / 15.73 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.001148/0.001148, allocations: 192.6 kB / 16.67 MB, free: 5.934 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.502/1.502, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 251.7 MB / 0.5094 GB, free: 2.973 MB / 414.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.001575/0.001575, allocations: 67.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2879, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.7867/1.075, allocations: 103.1 MB / 0.9288 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06008/1.135, allocations: 35.97 MB / 0.9639 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01028/1.145, allocations: 159.3 kB / 0.964 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008767/1.154, allocations: 1.983 MB / 0.966 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01974/1.174, allocations: 4.892 MB / 0.9707 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0131/1.187, allocations: 3.801 MB / 0.9745 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01705/1.204, allocations: 9.313 MB / 0.9836 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008074/1.212, allocations: 3.488 MB / 0.987 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/1.224, allocations: 3.826 MB / 0.9907 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006909/1.231, allocations: 2.958 MB / 0.9936 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001619/1.232, allocations: 391 kB / 0.994 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007614/1.24, allocations: 2.471 MB / 0.9964 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002378/1.242, allocations: 1.225 MB / 0.9976 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005607/1.248, allocations: 2.243 MB / 0.9998 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01396/1.262, allocations: 6.839 MB / 1.006 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.262, allocations: 0 / 1.006 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.503e-06/1.262, allocations: 0 / 1.006 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002484/1.262, allocations: 0 / 1.006 GB, free: 6.352 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.01024/1.272, allocations: 4.894 MB / 1.011 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.273, allocations: 12.03 kB / 1.011 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006397/1.279, allocations: 1.173 MB / 1.012 GB, free: 200 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009337/1.288, allocations: 3.903 MB / 1.016 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/1.289, allocations: 180.1 kB / 1.016 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005707/1.289, allocations: 224 kB / 1.017 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005411/1.295, allocations: 2.601 MB / 1.019 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/1.295, allocations: 3.938 kB / 1.019 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/1.295, allocations: 88 kB / 1.019 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/1.295, allocations: 60 kB / 1.019 GB, free: 8.953 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/1.3, allocations: 1.908 MB / 1.021 GB, free: 7.043 MB / 0.7637 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.0178/1.317, allocations: 12.33 MB / 1.033 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/1.321, allocations: 1.422 MB / 1.035 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/1.323, allocations: 0.6758 MB / 1.035 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005957/1.329, allocations: 3.612 MB / 1.039 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/1.329, allocations: 43.56 kB / 1.039 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=104): time 2.595e-06/1.329, allocations: 4 kB / 1.039 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of matching and sorting (n=104): time 0.008278/1.337, allocations: 2.836 MB / 1.042 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/1.337, allocations: 64.39 kB / 1.042 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/1.341, allocations: 3.219 MB / 1.045 GB, free: 13.56 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002215/1.342, allocations: 53.7 kB / 1.045 GB, free: 13.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/1.343, allocations: 1.731 MB / 1.046 GB, free: 11.77 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/1.344, allocations: 388.6 kB / 1.047 GB, free: 11.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006352/1.344, allocations: 427.3 kB / 1.047 GB, free: 10.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/1.344, allocations: 305.1 kB / 1.048 GB, free: 10.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/1.346, allocations: 0.9768 MB / 1.049 GB, free: 9.676 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/1.349, allocations: 1.627 MB / 1.05 GB, free: 7.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004514/1.354, allocations: 2.506 MB / 1.053 GB, free: 5.016 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/1.354, allocations: 4 kB / 1.053 GB, free: 5.012 MB / 0.795 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006857/1.361, allocations: 3.223 MB / 1.056 GB, free: 1.766 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.361, allocations: 12 kB / 1.056 GB, free: 1.754 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/1.361, allocations: 16 kB / 1.056 GB, free: 1.738 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/1.362, allocations: 0.5584 MB / 1.056 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.364, allocations: 411.3 kB / 1.057 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/1.366, allocations: 2.584 MB / 1.059 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002316/1.368, allocations: 250.4 kB / 1.059 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/1.368, allocations: 135.9 kB / 1.06 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002904/1.371, allocations: 1.433 MB / 1.061 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002232/1.374, allocations: 1.464 MB / 1.062 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00381/1.377, allocations: 2.197 MB / 1.065 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.685e-06/1.377, allocations: 8 kB / 1.065 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.006869/1.384, allocations: 2.939 MB / 1.067 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.384, allocations: 12 kB / 1.067 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/1.384, allocations: 16 kB / 1.067 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/1.387, allocations: 0.6517 MB / 1.068 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.388, allocations: 383.3 kB / 1.068 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.404, allocations: 11.85 MB / 1.08 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/1.407, allocations: 179.2 kB / 1.08 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/1.407, allocations: 116 kB / 1.08 GB, free: 7.227 MB / 0.8262 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 (192): * Single equations (assignments): 184 * 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.0006514/1.408, allocations: 294 kB / 1.081 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007908/1.409, allocations: 357.6 kB / 1.081 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006224/1.415, allocations: 2.471 MB / 1.083 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.415, allocations: 19.92 kB / 1.083 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.415, allocations: 0 / 1.083 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/1.415, allocations: 3.984 kB / 1.083 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009384/1.424, allocations: 4.509 MB / 1.088 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.424, allocations: 0 / 1.088 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.426, allocations: 239.7 kB / 1.088 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/1.427, allocations: 335 kB / 1.088 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.99e-05/1.427, allocations: 39.97 kB / 1.088 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/1.429, allocations: 2.51 MB / 1.091 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.429, allocations: 0 / 1.091 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.434, allocations: 2.251 MB / 1.093 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.436, allocations: 0.5918 MB / 1.094 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/1.436, allocations: 20 kB / 1.094 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.438, allocations: 79.92 kB / 1.094 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.438, allocations: 89.12 kB / 1.094 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.438, allocations: 63.94 kB / 1.094 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0036/1.441, allocations: 2.15 MB / 1.096 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/1.441, allocations: 4 kB / 1.096 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005469/1.447, allocations: 1.672 MB / 1.098 GB, free: 5.254 MB / 0.8419 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.00182/1.449, allocations: 0.7043 MB / 1.098 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.009707/1.458, allocations: 3.95 MB / 1.102 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.459, allocations: 0.5625 kB / 1.102 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/1.461, allocations: 0.839 MB / 1.103 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007122/1.468, allocations: 1.648 MB / 1.105 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/1.478, allocations: 5.709 MB / 1.11 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.48, allocations: 2.152 MB / 1.112 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003469/1.484, allocations: 0.7931 MB / 1.113 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/1.485, allocations: 263.3 kB / 1.113 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of SimCode: time 7.11e-07/1.485, allocations: 0 / 1.113 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of Templates: time 0.1275/1.612, allocations: 73.06 MB / 1.185 GB, free: 13.02 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)