Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.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.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 108.5 kB / 16.41 MB, free: 6.453 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.002166/0.002166, allocations: 191.8 kB / 17.34 MB, free: 5.738 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.443/1.443, allocations: 222.9 MB / 241 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.002511/0.002511, allocations: 285.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002785/0.002785, allocations: 99.83 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4369, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7626/1.199, allocations: 325.8 MB / 1.085 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.035/1.234, allocations: 22.34 MB / 1.107 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/1.238, allocations: 94.75 kB / 1.107 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006545/1.245, allocations: 2.406 MB / 1.11 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01238/1.257, allocations: 4.688 MB / 1.114 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006466/1.264, allocations: 2.569 MB / 1.117 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01859/1.282, allocations: 12.2 MB / 1.129 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/1.286, allocations: 1.83 MB / 1.13 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007992/1.294, allocations: 3.316 MB / 1.134 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004458/1.298, allocations: 1.877 MB / 1.135 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007468/1.299, allocations: 236 kB / 1.136 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008616/1.308, allocations: 3.886 MB / 1.139 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001715/1.31, allocations: 1.176 MB / 1.141 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002605/1.312, allocations: 1.714 MB / 1.142 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/1.324, allocations: 5.886 MB / 1.148 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.324, allocations: 0 / 1.148 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/1.324, allocations: 0 / 1.148 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001231/1.324, allocations: 0 / 1.148 GB, free: 2.867 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.008356/1.333, allocations: 3.934 MB / 1.152 GB, free: 14.85 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.333, allocations: 8.031 kB / 1.152 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/1.34, allocations: 1.114 MB / 1.153 GB, free: 13.72 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008227/1.348, allocations: 4.059 MB / 1.157 GB, free: 9.602 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/1.349, allocations: 110.8 kB / 1.157 GB, free: 9.492 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/1.349, allocations: 155.9 kB / 1.157 GB, free: 9.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003736/1.353, allocations: 1.707 MB / 1.159 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/1.353, allocations: 7.984 kB / 1.159 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/1.353, allocations: 59.98 kB / 1.159 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/1.353, allocations: 54.59 kB / 1.159 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/1.357, allocations: 1.439 MB / 1.16 GB, free: 5.992 MB / 0.795 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.01346/1.37, allocations: 8.694 MB / 1.169 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/1.373, allocations: 0.9643 MB / 1.17 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/1.374, allocations: 478 kB / 1.17 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/1.374, allocations: 117.6 kB / 1.17 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.374, allocations: 39.12 kB / 1.17 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/1.374, allocations: 0 / 1.17 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.004502/1.379, allocations: 1.477 MB / 1.172 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.379, allocations: 63.95 kB / 1.172 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004485/1.383, allocations: 2.98 MB / 1.175 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000204/1.383, allocations: 45.7 kB / 1.175 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.384, allocations: 1.286 MB / 1.176 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.385, allocations: 265.7 kB / 1.176 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/1.385, allocations: 435.2 kB / 1.177 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.386, allocations: 313.1 kB / 1.177 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/1.387, allocations: 0.8129 MB / 1.178 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/1.389, allocations: 1.31 MB / 1.179 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/1.393, allocations: 1.903 MB / 1.181 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/1.393, allocations: 4 kB / 1.181 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004983/1.398, allocations: 2.417 MB / 1.183 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/1.398, allocations: 8 kB / 1.183 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/1.398, allocations: 12 kB / 1.183 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.704e-05/1.398, allocations: 23.94 kB / 1.183 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.4, allocations: 385.3 kB / 1.184 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004551/1.4, allocations: 0.6132 MB / 1.184 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.402, allocations: 242.6 kB / 1.185 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/1.402, allocations: 71.97 kB / 1.185 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002719/1.405, allocations: 1.433 MB / 1.186 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001993/1.407, allocations: 1.286 MB / 1.187 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003195/1.41, allocations: 1.869 MB / 1.189 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.684e-06/1.41, allocations: 0 / 1.189 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004688/1.415, allocations: 2.378 MB / 1.191 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.415, allocations: 8 kB / 1.191 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/1.415, allocations: 12 kB / 1.191 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/1.415, allocations: 23.94 kB / 1.191 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.417, allocations: 359.9 kB / 1.192 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.889e-05/1.417, allocations: 31.91 kB / 1.192 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.419, allocations: 187.2 kB / 1.192 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/1.419, allocations: 75.98 kB / 1.192 GB, free: 3.953 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004152/1.419, allocations: 271.7 kB / 1.192 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/1.42, allocations: 282.1 kB / 1.193 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/1.423, allocations: 1.126 MB / 1.194 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.423, allocations: 11.94 kB / 1.194 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.423, allocations: 0 / 1.194 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002315/1.425, allocations: 0.9255 MB / 1.195 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00704/1.432, allocations: 3.329 MB / 1.198 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.432, allocations: 7.984 kB / 1.198 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/1.433, allocations: 207.9 kB / 1.198 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/1.433, allocations: 7.938 kB / 1.198 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/1.434, allocations: 23.92 kB / 1.198 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003835/1.434, allocations: 0.5822 MB / 1.199 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.434, allocations: 0 / 1.199 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/1.438, allocations: 1.732 MB / 1.2 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.439, allocations: 490.9 kB / 1.201 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/1.44, allocations: 12 kB / 1.201 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.441, allocations: 87.86 kB / 1.201 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.441, allocations: 44.5 kB / 1.201 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/1.441, allocations: 31.97 kB / 1.201 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003319/1.445, allocations: 1.988 MB / 1.203 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.445, allocations: 4 kB / 1.203 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003381/1.448, allocations: 1.275 MB / 1.204 GB, free: 7.305 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/1.449, allocations: 0.4999 MB / 1.205 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00561/1.455, allocations: 2.462 MB / 1.207 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.455, allocations: 4 kB / 1.207 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.456, allocations: 455.9 kB / 1.208 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/1.462, allocations: 1.458 MB / 1.209 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008649/1.471, allocations: 4.779 MB / 1.214 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/1.473, allocations: 1.923 MB / 1.216 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002725/1.476, allocations: 0.7322 MB / 1.216 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/1.476, allocations: 211.4 kB / 1.216 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of SimCode: time 1.112e-06/1.476, allocations: 0 / 1.216 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.08949/1.566, allocations: 51.55 MB / 1.267 GB, free: 7.93 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)