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.004645/0.004645, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.0009863/0.0009863, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 279.2 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9297/0.9297, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 99.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1603, allocations: 86.98 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.4115/0.5718, allocations: 104.1 MB / 0.868 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.05011/0.622, allocations: 34.94 MB / 0.9022 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006675/0.6287, allocations: 163.1 kB / 0.9023 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008288/0.637, allocations: 2.875 MB / 0.9051 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01462/0.6517, allocations: 5.473 MB / 0.9105 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.6619, allocations: 4.057 MB / 0.9144 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04432/0.7063, allocations: 31.54 MB / 0.9452 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00641/0.7127, allocations: 3.664 MB / 0.9488 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009359/0.7221, allocations: 4.362 MB / 0.9531 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005972/0.7281, allocations: 3.373 MB / 0.9564 GB, free: 352 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.7298, allocations: 460 kB / 0.9568 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007396/0.7372, allocations: 2.937 MB / 0.9597 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.7397, allocations: 1.877 MB / 0.9615 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004774/0.7445, allocations: 2.989 MB / 0.9644 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.756, allocations: 8.781 MB / 0.973 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.756, allocations: 4 kB / 0.973 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.756, allocations: 0 / 0.973 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001321/0.7562, allocations: 0 / 0.973 GB, free: 15.25 MB / 0.7325 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.0105/0.7667, allocations: 6.273 MB / 0.9791 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7667, allocations: 8.031 kB / 0.9791 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.7767, allocations: 1.889 MB / 0.981 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/0.7925, allocations: 7.291 MB / 0.9881 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.7928, allocations: 184.2 kB / 0.9883 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007354/0.7935, allocations: 244 kB / 0.9885 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006489/0.8, allocations: 3.219 MB / 0.9917 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.8001, allocations: 4 kB / 0.9917 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.8003, allocations: 92 kB / 0.9917 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.8004, allocations: 52 kB / 0.9918 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006424/0.8068, allocations: 2.6 MB / 0.9943 GB, free: 9.051 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.02057/0.8274, allocations: 14.85 MB / 1.009 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005552/0.833, allocations: 2.273 MB / 1.011 GB, free: 7.008 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.8354, allocations: 0.9923 MB / 1.012 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008003/0.8434, allocations: 4.984 MB / 1.017 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.8435, allocations: 51.56 kB / 1.017 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=112): time 2.695e-06/0.8435, allocations: 0 / 1.017 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.01126/0.8548, allocations: 3.949 MB / 1.021 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.8548, allocations: 64.41 kB / 1.021 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007695/0.8626, allocations: 5.482 MB / 1.026 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004477/0.863, allocations: 61.7 kB / 1.026 GB, free: 7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00184/0.8649, allocations: 2.219 MB / 1.028 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.8654, allocations: 418.2 kB / 1.029 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/0.8666, allocations: 0.8721 MB / 1.03 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.8668, allocations: 301.1 kB / 1.03 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/0.871, allocations: 2.621 MB / 1.033 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005138/0.8762, allocations: 3.463 MB / 1.036 GB, free: 12.76 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008774/0.885, allocations: 5.586 MB / 1.041 GB, free: 6.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.885, allocations: 4 kB / 1.041 GB, free: 6.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01201/0.897, allocations: 7.058 MB / 1.048 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.8971, allocations: 12 kB / 1.048 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.8971, allocations: 19.94 kB / 1.048 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.8987, allocations: 0.7177 MB / 1.049 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.9014, allocations: 0.663 MB / 1.05 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.9036, allocations: 2.725 MB / 1.052 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/0.9072, allocations: 454.1 kB / 1.053 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003583/0.9075, allocations: 219.9 kB / 1.053 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005345/0.9129, allocations: 3.243 MB / 1.056 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004198/0.9171, allocations: 3.034 MB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007255/0.9244, allocations: 4.718 MB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.547e-05/0.9244, allocations: 4 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01136/0.9358, allocations: 6.232 MB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9358, allocations: 13 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.9359, allocations: 20 kB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/0.9383, allocations: 0.8036 MB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/0.9409, allocations: 0.6357 MB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/0.9578, allocations: 13.65 MB / 1.085 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/0.9618, allocations: 354.3 kB / 1.085 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/0.9622, allocations: 179.9 kB / 1.085 GB, free: 8.723 MB / 0.8419 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.0007443/0.9629, allocations: 331.6 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.964, allocations: 477.5 kB / 1.086 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/0.9721, allocations: 3.324 MB / 1.089 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.9722, allocations: 19.98 kB / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.9722, allocations: 0 / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.9722, allocations: 3.984 kB / 1.089 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3418/1.314, allocations: 6.163 MB / 1.095 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.314, allocations: 0.6562 kB / 1.095 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.316, allocations: 311.4 kB / 1.095 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009614/1.317, allocations: 379.3 kB / 1.096 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/1.317, allocations: 54.39 kB / 1.096 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/1.318, allocations: 2.621 MB / 1.098 GB, free: 275.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.318, allocations: 1.438 kB / 1.098 GB, free: 275.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00723/1.326, allocations: 3.058 MB / 1.101 GB, free: 275.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.327, allocations: 0.7862 MB / 1.102 GB, free: 275.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/1.328, allocations: 30.05 kB / 1.102 GB, free: 275.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.33, allocations: 145.9 kB / 1.102 GB, free: 275.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.33, allocations: 95.47 kB / 1.102 GB, free: 275.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.33, allocations: 89.89 kB / 1.102 GB, free: 275.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.004902/1.335, allocations: 3.623 MB / 1.106 GB, free: 274 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4e-07/1.335, allocations: 2.656 kB / 1.106 GB, free: 274 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.005545/1.341, allocations: 2.322 MB / 1.108 GB, free: 273.8 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 (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.002058/1.343, allocations: 0.9141 MB / 1.109 GB, free: 273.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.358, allocations: 7.912 MB / 1.117 GB, free: 270.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.358, allocations: 0 / 1.117 GB, free: 270.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00309/1.362, allocations: 1.169 MB / 1.118 GB, free: 270.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009804/1.371, allocations: 2.434 MB / 1.12 GB, free: 269.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.385, allocations: 8.335 MB / 1.129 GB, free: 266 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/1.389, allocations: 2.864 MB / 1.131 GB, free: 264.9 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005631/1.394, allocations: 1.338 MB / 1.133 GB, free: 264.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.396, allocations: 379.2 kB / 1.133 GB, free: 264.7 MB / 0.8419 GB Notification: Performance of SimCode: time 8.61e-07/1.396, allocations: 0 / 1.133 GB, free: 264.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.1456/1.541, allocations: 107.2 MB / 1.238 GB, free: 172.8 MB / 0.8419 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)