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.00469/0.00469, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001094/0.001094, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 290.8 kB / 290.8 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.925/0.925, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 99.83 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1759, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.PumpCurveConstruction): time 0.4468/0.6228, allocations: 104.1 MB / 0.868 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.06029/0.6831, allocations: 34.94 MB / 0.9022 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009241/0.6924, allocations: 163.1 kB / 0.9023 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009494/0.702, allocations: 2.871 MB / 0.9051 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01701/0.719, allocations: 5.477 MB / 0.9105 GB, free: 15.4 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.7295, allocations: 4.041 MB / 0.9144 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04236/0.7719, allocations: 31.55 MB / 0.9452 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005873/0.7778, allocations: 3.66 MB / 0.9488 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009087/0.7869, allocations: 4.259 MB / 0.953 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006002/0.7929, allocations: 3.366 MB / 0.9562 GB, free: 440 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.7944, allocations: 460 kB / 0.9567 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006999/0.8014, allocations: 2.94 MB / 0.9596 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.8034, allocations: 1.869 MB / 0.9614 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004058/0.8074, allocations: 2.997 MB / 0.9643 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.8208, allocations: 8.819 MB / 0.9729 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8209, allocations: 0 / 0.9729 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8209, allocations: 4 kB / 0.9729 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001709/0.8211, allocations: 0 / 0.9729 GB, free: 15.29 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.01331/0.8344, allocations: 6.474 MB / 0.9793 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.8344, allocations: 8.031 kB / 0.9793 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.845, allocations: 1.924 MB / 0.9811 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/0.8609, allocations: 7.339 MB / 0.9883 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/0.8611, allocations: 188.1 kB / 0.9885 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005543/0.8616, allocations: 244 kB / 0.9887 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006069/0.8677, allocations: 3.223 MB / 0.9919 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.8678, allocations: 4 kB / 0.9919 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.868, allocations: 88 kB / 0.992 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.8681, allocations: 52 kB / 0.992 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/0.8743, allocations: 2.6 MB / 0.9945 GB, free: 8.805 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.02108/0.8953, allocations: 14.88 MB / 1.009 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005497/0.9009, allocations: 2.277 MB / 1.011 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.9033, allocations: 0.9981 MB / 1.012 GB, free: 5.734 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008379/0.9117, allocations: 4.985 MB / 1.017 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.9118, allocations: 43.56 kB / 1.017 GB, free: 420 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=112): time 3.016e-06/0.9118, allocations: 0 / 1.017 GB, free: 420 kB / 0.7637 GB Notification: Performance of matching and sorting (n=112): time 0.01155/0.9234, allocations: 3.979 MB / 1.021 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.9234, allocations: 64.41 kB / 1.021 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/0.9349, allocations: 5.487 MB / 1.026 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0006244/0.9355, allocations: 57.7 kB / 1.027 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002692/0.9382, allocations: 2.249 MB / 1.029 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007682/0.939, allocations: 432.5 kB / 1.029 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/0.9412, allocations: 0.8803 MB / 1.03 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.9413, allocations: 301.1 kB / 1.03 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/0.9458, allocations: 2.625 MB / 1.033 GB, free: 200 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005135/0.9509, allocations: 3.459 MB / 1.036 GB, free: 12.42 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009051/0.96, allocations: 5.583 MB / 1.042 GB, free: 6.578 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/0.96, allocations: 4 kB / 1.042 GB, free: 6.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01343/0.9735, allocations: 7.084 MB / 1.049 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.9735, allocations: 12 kB / 1.049 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/0.9736, allocations: 19.94 kB / 1.049 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.9753, allocations: 0.7221 MB / 1.049 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/0.9782, allocations: 0.6631 MB / 1.05 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.9807, allocations: 2.725 MB / 1.053 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004451/0.9851, allocations: 458.9 kB / 1.053 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005281/0.9857, allocations: 208.2 kB / 1.053 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006097/0.9918, allocations: 3.243 MB / 1.056 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004469/0.9963, allocations: 3.034 MB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008436/1.005, allocations: 4.729 MB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.601e-05/1.005, allocations: 8 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.0127/1.018, allocations: 6.259 MB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.018, allocations: 21.97 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/1.018, allocations: 16 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/1.02, allocations: 0.8002 MB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.023, allocations: 0.6318 MB / 1.072 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/1.04, allocations: 13.66 MB / 1.085 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004611/1.044, allocations: 363.1 kB / 1.085 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007354/1.045, allocations: 175.9 kB / 1.085 GB, free: 8.309 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.001163/1.046, allocations: 331.7 kB / 1.086 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/1.048, allocations: 0.4966 MB / 1.086 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009185/1.057, allocations: 3.313 MB / 1.089 GB, free: 4.145 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/1.057, allocations: 19.98 kB / 1.09 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.057, allocations: 7.938 kB / 1.09 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.057, allocations: 3.984 kB / 1.09 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.372/1.429, allocations: 6.177 MB / 1.096 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.429, allocations: 2.016 kB / 1.096 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.431, allocations: 300.4 kB / 1.096 GB, free: 277.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009979/1.432, allocations: 384.6 kB / 1.096 GB, free: 277.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/1.432, allocations: 52.48 kB / 1.096 GB, free: 277.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/1.433, allocations: 2.618 MB / 1.099 GB, free: 275.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.434, allocations: 5.328 kB / 1.099 GB, free: 275.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007315/1.441, allocations: 3.086 MB / 1.102 GB, free: 275.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/1.443, allocations: 0.8152 MB / 1.103 GB, free: 275.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006229/1.443, allocations: 22.47 kB / 1.103 GB, free: 275.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/1.445, allocations: 154.6 kB / 1.103 GB, free: 275.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/1.446, allocations: 90.45 kB / 1.103 GB, free: 275.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.446, allocations: 94.62 kB / 1.103 GB, free: 275.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.005758/1.452, allocations: 3.62 MB / 1.107 GB, free: 273.8 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.61e-07/1.452, allocations: 0 / 1.107 GB, free: 273.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006961/1.459, allocations: 2.334 MB / 1.109 GB, free: 273.6 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.002258/1.461, allocations: 0.9194 MB / 1.11 GB, free: 273.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01602/1.477, allocations: 7.922 MB / 1.117 GB, free: 270.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.477, allocations: 1.375 kB / 1.117 GB, free: 270.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/1.48, allocations: 1.165 MB / 1.119 GB, free: 270.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/1.491, allocations: 2.426 MB / 1.121 GB, free: 269.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.505, allocations: 8.494 MB / 1.129 GB, free: 265.6 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/1.508, allocations: 2.878 MB / 1.132 GB, free: 264.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.005639/1.513, allocations: 1.325 MB / 1.133 GB, free: 264.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/1.515, allocations: 382.7 kB / 1.134 GB, free: 264.3 MB / 0.8419 GB Notification: Performance of SimCode: time 1.382e-06/1.515, allocations: 3.906 kB / 1.134 GB, free: 264.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.1308/1.645, allocations: 105.2 MB / 1.236 GB, free: 173.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)