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.007691/0.007691, allocations: 103 kB / 15.73 MB, free: 6.059 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.001555/0.001555, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.307/1.307, allocations: 222.9 MB / 240.4 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.002165/0.002165, allocations: 297.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9231/0.9231, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 103.8 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4225, allocations: 86.98 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1169/0.5394, allocations: 104.1 MB / 0.868 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04779/0.5872, allocations: 34.94 MB / 0.9022 GB, free: 8.441 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007258/0.5945, allocations: 159.1 kB / 0.9023 GB, free: 8.285 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008496/0.6031, allocations: 2.88 MB / 0.9051 GB, free: 5.395 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.6168, allocations: 5.466 MB / 0.9105 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009218/0.626, allocations: 4.058 MB / 0.9144 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.04311/0.6692, allocations: 31.55 MB / 0.9452 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007251/0.6764, allocations: 3.66 MB / 0.9488 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009252/0.6857, allocations: 4.36 MB / 0.9531 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005803/0.6915, allocations: 3.37 MB / 0.9564 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001513/0.6931, allocations: 460 kB / 0.9568 GB, free: 352 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4001/1.093, allocations: 2.924 MB / 0.9596 GB, free: 38.97 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002341/1.096, allocations: 1.877 MB / 0.9615 GB, free: 38.97 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004477/1.1, allocations: 2.983 MB / 0.9644 GB, free: 38.86 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/1.111, allocations: 8.792 MB / 0.973 GB, free: 37.83 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.111, allocations: 3.047 kB / 0.973 GB, free: 37.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/1.111, allocations: 1.781 kB / 0.973 GB, free: 37.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001327/1.111, allocations: 0 / 0.973 GB, free: 37.83 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.01041/1.121, allocations: 6.268 MB / 0.9791 GB, free: 34.8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/1.121, allocations: 10.44 kB / 0.9791 GB, free: 34.8 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/1.132, allocations: 1.894 MB / 0.981 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/1.148, allocations: 7.276 MB / 0.9881 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/1.148, allocations: 184 kB / 0.9882 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005668/1.148, allocations: 242.3 kB / 0.9885 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005754/1.154, allocations: 3.22 MB / 0.9916 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/1.154, allocations: 9.312 kB / 0.9916 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/1.154, allocations: 88.91 kB / 0.9917 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/1.154, allocations: 60.03 kB / 0.9918 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005863/1.16, allocations: 2.6 MB / 0.9943 GB, free: 32.99 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.01755/1.178, allocations: 14.86 MB / 1.009 GB, free: 26.37 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/1.183, allocations: 2.265 MB / 1.011 GB, free: 26.31 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/1.185, allocations: 0.9955 MB / 1.012 GB, free: 26.29 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00726/1.193, allocations: 4.986 MB / 1.017 GB, free: 24.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.193, allocations: 51.78 kB / 1.017 GB, free: 24.49 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=112): time 2.986e-06/1.193, allocations: 2.625 kB / 1.017 GB, free: 24.49 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.01502/1.208, allocations: 3.956 MB / 1.021 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/1.208, allocations: 63.75 kB / 1.021 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009746/1.218, allocations: 5.474 MB / 1.026 GB, free: 22.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006806/1.218, allocations: 59.27 kB / 1.026 GB, free: 22.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002423/1.221, allocations: 2.228 MB / 1.028 GB, free: 21.44 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008437/1.222, allocations: 411.8 kB / 1.029 GB, free: 21.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001805/1.223, allocations: 0.8772 MB / 1.03 GB, free: 20.97 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.222e-05/1.223, allocations: 301.1 kB / 1.03 GB, free: 20.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006189/1.23, allocations: 2.624 MB / 1.033 GB, free: 20.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00744/1.237, allocations: 3.461 MB / 1.036 GB, free: 19.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.247, allocations: 5.583 MB / 1.041 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/1.247, allocations: 4 kB / 1.041 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01149/1.259, allocations: 7.057 MB / 1.048 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/1.259, allocations: 12.97 kB / 1.048 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/1.259, allocations: 16 kB / 1.048 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/1.26, allocations: 0.7288 MB / 1.049 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/1.263, allocations: 0.6699 MB / 1.05 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/1.265, allocations: 2.722 MB / 1.052 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004198/1.269, allocations: 448.8 kB / 1.053 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/1.27, allocations: 211.9 kB / 1.053 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005173/1.275, allocations: 3.239 MB / 1.056 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004685/1.279, allocations: 3.025 MB / 1.059 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007898/1.287, allocations: 4.727 MB / 1.064 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.46e-05/1.287, allocations: 4 kB / 1.064 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01326/1.301, allocations: 6.233 MB / 1.07 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/1.301, allocations: 12 kB / 1.07 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/1.301, allocations: 24.72 kB / 1.07 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/1.304, allocations: 0.7997 MB / 1.071 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/1.307, allocations: 0.6299 MB / 1.071 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.325, allocations: 13.65 MB / 1.085 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005021/1.33, allocations: 359.4 kB / 1.085 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005617/1.33, allocations: 179.9 kB / 1.085 GB, free: 0.7461 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.0007189/1.331, allocations: 324.8 kB / 1.085 GB, free: 472 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/1.332, allocations: 478.1 kB / 1.086 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008542/1.341, allocations: 3.322 MB / 1.089 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/1.341, allocations: 15.98 kB / 1.089 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/1.341, allocations: 4 kB / 1.089 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.341, allocations: 3.984 kB / 1.089 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/1.354, allocations: 6.178 MB / 1.095 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.354, allocations: 0 / 1.095 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.355, allocations: 305.8 kB / 1.095 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009653/1.356, allocations: 374.9 kB / 1.096 GB, free: 5.777 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/1.356, allocations: 51.95 kB / 1.096 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/1.358, allocations: 2.625 MB / 1.098 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.358, allocations: 4.094 kB / 1.098 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007418/1.366, allocations: 3.064 MB / 1.101 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.368, allocations: 0.7793 MB / 1.102 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005552/1.368, allocations: 23.98 kB / 1.102 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.37, allocations: 155.8 kB / 1.102 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/1.371, allocations: 93.19 kB / 1.102 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/1.371, allocations: 87.92 kB / 1.102 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005454/1.376, allocations: 3.624 MB / 1.106 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/1.376, allocations: 0 / 1.106 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006283/1.383, allocations: 2.318 MB / 1.108 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.002224/1.385, allocations: 0.9224 MB / 1.109 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.4, allocations: 7.918 MB / 1.117 GB, free: 140 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.4, allocations: 8.062 kB / 1.117 GB, free: 132 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/1.403, allocations: 1.16 MB / 1.118 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009724/1.413, allocations: 2.432 MB / 1.12 GB, free: 12.64 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.426, allocations: 8.316 MB / 1.129 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/1.429, allocations: 2.875 MB / 1.131 GB, free: 1.391 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00488/1.434, allocations: 1.332 MB / 1.133 GB, free: 64 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.435, allocations: 371.2 kB / 1.133 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/1.435, allocations: 0 / 1.133 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of Templates: time 0.1647/1.599, allocations: 107.2 MB / 1.238 GB, free: 6.34 MB / 0.9044 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)