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.001187/0.001187, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001155/0.001155, allocations: 187 kB / 17.34 MB, free: 5.75 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.311/1.311, 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.002098/0.002098, allocations: 281.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9919/0.9919, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 91.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4672, allocations: 86.98 MB / 0.767 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.09833/0.5656, allocations: 104.1 MB / 0.8687 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05447/0.6201, allocations: 34.93 MB / 0.9028 GB, free: 8.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008418/0.6286, allocations: 163.1 kB / 0.903 GB, free: 8.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.009597/0.6383, allocations: 2.883 MB / 0.9058 GB, free: 5.355 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01699/0.6553, allocations: 5.462 MB / 0.9111 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01124/0.6665, allocations: 4.056 MB / 0.9151 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0465/0.7131, allocations: 31.54 MB / 0.9459 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008625/0.7217, allocations: 3.664 MB / 0.9495 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01178/0.7335, allocations: 4.363 MB / 0.9537 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006832/0.7404, allocations: 3.37 MB / 0.957 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002123/0.7425, allocations: 460 kB / 0.9575 GB, free: 312 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8856/1.628, allocations: 2.926 MB / 0.9603 GB, free: 39.22 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003359/1.632, allocations: 1.869 MB / 0.9621 GB, free: 39.22 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01087/1.642, allocations: 2.994 MB / 0.9651 GB, free: 39.11 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01712/1.66, allocations: 8.788 MB / 0.9736 GB, free: 38.08 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.66, allocations: 1.344 kB / 0.9736 GB, free: 38.08 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/1.66, allocations: 3.938 kB / 0.9737 GB, free: 38.08 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002458/1.66, allocations: 0 / 0.9737 GB, free: 38.08 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.01491/1.675, allocations: 6.272 MB / 0.9798 GB, free: 35.05 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.675, allocations: 8.75 kB / 0.9798 GB, free: 35.05 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/1.686, allocations: 1.898 MB / 0.9816 GB, free: 34.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01764/1.703, allocations: 7.273 MB / 0.9887 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/1.704, allocations: 180.9 kB / 0.9889 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/1.705, allocations: 245.2 kB / 0.9891 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006018/1.711, allocations: 3.223 MB / 0.9923 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/1.711, allocations: 0 / 0.9923 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/1.711, allocations: 93.31 kB / 0.9924 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/1.711, allocations: 55.03 kB / 0.9924 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/1.717, allocations: 2.602 MB / 0.995 GB, free: 33.24 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.0232/1.74, allocations: 14.85 MB / 1.009 GB, free: 26.63 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005345/1.746, allocations: 2.282 MB / 1.012 GB, free: 26.56 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/1.748, allocations: 0.9935 MB / 1.013 GB, free: 26.54 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008791/1.757, allocations: 4.985 MB / 1.018 GB, free: 24.79 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.757, allocations: 49.34 kB / 1.018 GB, free: 24.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=112): time 3.607e-06/1.757, allocations: 0 / 1.018 GB, free: 24.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=112): time 0.01121/1.768, allocations: 3.96 MB / 1.021 GB, free: 23.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/1.768, allocations: 63.06 kB / 1.022 GB, free: 23.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009208/1.777, allocations: 5.477 MB / 1.027 GB, free: 22.44 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007791/1.778, allocations: 60.61 kB / 1.027 GB, free: 22.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.78, allocations: 2.224 MB / 1.029 GB, free: 21.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007925/1.781, allocations: 415.2 kB / 1.029 GB, free: 21.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001417/1.782, allocations: 0.8724 MB / 1.03 GB, free: 21.21 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.656e-05/1.782, allocations: 301.1 kB / 1.031 GB, free: 20.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/1.786, allocations: 2.621 MB / 1.033 GB, free: 20.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004476/1.791, allocations: 3.466 MB / 1.037 GB, free: 19.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007568/1.798, allocations: 5.584 MB / 1.042 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/1.798, allocations: 4 kB / 1.042 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01099/1.809, allocations: 7.061 MB / 1.049 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.809, allocations: 16.47 kB / 1.049 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/1.809, allocations: 20 kB / 1.049 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.811, allocations: 0.7104 MB / 1.05 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/1.813, allocations: 0.6696 MB / 1.05 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/1.815, allocations: 2.732 MB / 1.053 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/1.82, allocations: 448.7 kB / 1.053 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003766/1.82, allocations: 211.9 kB / 1.054 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005156/1.825, allocations: 3.234 MB / 1.057 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00421/1.829, allocations: 3.029 MB / 1.06 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007183/1.837, allocations: 4.727 MB / 1.064 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.211e-05/1.837, allocations: 4 kB / 1.064 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.012/1.849, allocations: 6.229 MB / 1.07 GB, free: 1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/1.849, allocations: 12.97 kB / 1.07 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/1.849, allocations: 16 kB / 1.07 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/1.852, allocations: 0.8075 MB / 1.071 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003049/1.855, allocations: 0.6324 MB / 1.072 GB, free: 15.56 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/1.873, allocations: 13.64 MB / 1.085 GB, free: 1.348 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005407/1.879, allocations: 363.4 kB / 1.086 GB, free: 0.9922 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009287/1.88, allocations: 180.1 kB / 1.086 GB, free: 0.8164 MB / 0.7482 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.001485/1.881, allocations: 328.5 kB / 1.086 GB, free: 0.5312 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00182/1.883, allocations: 481.6 kB / 1.086 GB, free: 56 kB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009954/1.893, allocations: 3.324 MB / 1.09 GB, free: 12.74 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/1.893, allocations: 15.98 kB / 1.09 GB, free: 12.73 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.893, allocations: 0 / 1.09 GB, free: 12.73 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/1.893, allocations: 7.984 kB / 1.09 GB, free: 12.72 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/1.91, allocations: 6.176 MB / 1.096 GB, free: 6.512 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.911, allocations: 0 / 1.096 GB, free: 6.512 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.912, allocations: 309.7 kB / 1.096 GB, free: 6.219 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/1.913, allocations: 380.4 kB / 1.096 GB, free: 5.84 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/1.914, allocations: 47.95 kB / 1.096 GB, free: 5.793 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/1.916, allocations: 2.62 MB / 1.099 GB, free: 3.078 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.916, allocations: 0 / 1.099 GB, free: 3.078 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008277/1.924, allocations: 3.067 MB / 1.102 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002746/1.927, allocations: 0.7871 MB / 1.103 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/1.929, allocations: 20 kB / 1.103 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/1.932, allocations: 159.7 kB / 1.103 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.932, allocations: 93.19 kB / 1.103 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/1.933, allocations: 88.17 kB / 1.103 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.008818/1.942, allocations: 3.62 MB / 1.107 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.01e-07/1.942, allocations: 4 kB / 1.107 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01139/1.953, allocations: 2.316 MB / 1.109 GB, free: 8.879 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.003262/1.956, allocations: 0.9146 MB / 1.11 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0181/1.974, allocations: 7.91 MB / 1.118 GB, free: 208 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.975, allocations: 8 kB / 1.118 GB, free: 200 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.978, allocations: 1.16 MB / 1.119 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/1.991, allocations: 2.42 MB / 1.121 GB, free: 12.71 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/2.012, allocations: 8.472 MB / 1.129 GB, free: 4.215 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/2.017, allocations: 2.84 MB / 1.132 GB, free: 1.344 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/2.019, allocations: 399.2 kB / 1.132 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of SimCode: time 1.222e-06/2.019, allocations: 0 / 1.132 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of Templates: time 0.2106/2.229, allocations: 173 MB / 1.301 GB, free: 4.797 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)