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.005194/0.005194, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.00127/0.00127, allocations: 194.9 kB / 16.67 MB, free: 5.965 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 304.4 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9291/0.9291, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 91.86 kB / 0.6815 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4357, allocations: 86.98 MB / 0.7664 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.6755/1.111, allocations: 325 MB / 1.084 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02983/1.141, allocations: 22.31 MB / 1.106 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004249/1.145, allocations: 96.81 kB / 1.106 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.007101/1.152, allocations: 2.347 MB / 1.108 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0129/1.165, allocations: 4.524 MB / 1.112 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007164/1.173, allocations: 2.569 MB / 1.115 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01791/1.19, allocations: 12.16 MB / 1.127 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003785/1.194, allocations: 2.245 MB / 1.129 GB, free: 5.473 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006934/1.201, allocations: 3.262 MB / 1.132 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00376/1.205, allocations: 1.874 MB / 1.134 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008533/1.206, allocations: 240 kB / 1.134 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007837/1.214, allocations: 3.867 MB / 1.138 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/1.215, allocations: 1.168 MB / 1.139 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003131/1.219, allocations: 1.706 MB / 1.141 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/1.23, allocations: 5.858 MB / 1.147 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.23, allocations: 0 / 1.147 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/1.23, allocations: 0 / 1.147 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001685/1.23, allocations: 0 / 1.147 GB, free: 3.453 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.008503/1.239, allocations: 3.798 MB / 1.15 GB, free: 15.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.239, allocations: 8.031 kB / 1.15 GB, free: 15.56 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007033/1.246, allocations: 1.104 MB / 1.151 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00655/1.253, allocations: 4.033 MB / 1.155 GB, free: 10.36 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/1.253, allocations: 114.8 kB / 1.155 GB, free: 10.25 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/1.253, allocations: 163.9 kB / 1.156 GB, free: 10.09 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003146/1.256, allocations: 1.707 MB / 1.157 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/1.256, allocations: 0 / 1.157 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.256, allocations: 56 kB / 1.157 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/1.256, allocations: 58.59 kB / 1.157 GB, free: 8.191 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/1.26, allocations: 1.447 MB / 1.159 GB, free: 6.738 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.0107/1.27, allocations: 8.669 MB / 1.167 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/1.272, allocations: 1.011 MB / 1.168 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/1.274, allocations: 0.5063 MB / 1.169 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/1.274, allocations: 113.6 kB / 1.169 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/1.274, allocations: 39.12 kB / 1.169 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.574e-06/1.274, allocations: 0 / 1.169 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.003816/1.278, allocations: 1.464 MB / 1.17 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/1.278, allocations: 55.97 kB / 1.17 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003624/1.281, allocations: 2.983 MB / 1.173 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/1.281, allocations: 41.7 kB / 1.173 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009944/1.282, allocations: 1.264 MB / 1.174 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/1.283, allocations: 260.4 kB / 1.175 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005299/1.283, allocations: 435 kB / 1.175 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/1.283, allocations: 309.1 kB / 1.175 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/1.285, allocations: 0.8167 MB / 1.176 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/1.287, allocations: 1.31 MB / 1.178 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/1.29, allocations: 1.903 MB / 1.179 GB, free: 500 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.29, allocations: 0 / 1.179 GB, free: 500 kB / 0.8106 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004354/1.294, allocations: 2.404 MB / 1.182 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.294, allocations: 12 kB / 1.182 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.294, allocations: 12 kB / 1.182 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/1.294, allocations: 19.94 kB / 1.182 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.296, allocations: 387.8 kB / 1.182 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003547/1.296, allocations: 0.6133 MB / 1.183 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.298, allocations: 234.1 kB / 1.183 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.298, allocations: 67.98 kB / 1.183 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002552/1.301, allocations: 1.437 MB / 1.184 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00176/1.303, allocations: 1.297 MB / 1.186 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002772/1.305, allocations: 1.865 MB / 1.188 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.044e-05/1.305, allocations: 4 kB / 1.188 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004034/1.31, allocations: 2.357 MB / 1.19 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.31, allocations: 8 kB / 1.19 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/1.31, allocations: 12 kB / 1.19 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.31, allocations: 16 kB / 1.19 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.311, allocations: 367.8 kB / 1.19 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.552e-05/1.311, allocations: 27.92 kB / 1.19 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/1.313, allocations: 190.9 kB / 1.19 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.313, allocations: 71.98 kB / 1.19 GB, free: 4.719 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.0003552/1.314, allocations: 271.7 kB / 1.191 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/1.314, allocations: 268.4 kB / 1.191 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/1.317, allocations: 1.118 MB / 1.192 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/1.317, allocations: 8 kB / 1.192 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.317, allocations: 3.984 kB / 1.192 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00207/1.319, allocations: 0.9216 MB / 1.193 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/1.326, allocations: 3.333 MB / 1.196 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.326, allocations: 0 / 1.196 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.327, allocations: 211.8 kB / 1.196 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.327, allocations: 4 kB / 1.196 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/1.327, allocations: 23.92 kB / 1.196 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003032/1.328, allocations: 0.5977 MB / 1.197 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.328, allocations: 0 / 1.197 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/1.331, allocations: 1.711 MB / 1.199 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008707/1.332, allocations: 473.4 kB / 1.199 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/1.332, allocations: 16 kB / 1.199 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.334, allocations: 88.83 kB / 1.199 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.334, allocations: 48.5 kB / 1.199 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/1.334, allocations: 27.98 kB / 1.199 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00325/1.337, allocations: 1.988 MB / 1.201 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.337, allocations: 0 / 1.201 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003334/1.341, allocations: 1.263 MB / 1.203 GB, free: 8.129 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.00122/1.342, allocations: 0.5073 MB / 1.203 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005267/1.347, allocations: 2.692 MB / 1.206 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.347, allocations: 0 / 1.206 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/1.348, allocations: 479.8 kB / 1.206 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005647/1.354, allocations: 1.448 MB / 1.208 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008593/1.363, allocations: 4.684 MB / 1.212 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/1.365, allocations: 1.935 MB / 1.214 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003008/1.368, allocations: 0.7284 MB / 1.215 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007577/1.368, allocations: 207.4 kB / 1.215 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of SimCode: time 1.102e-06/1.368, allocations: 0 / 1.215 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.08422/1.453, allocations: 52.15 MB / 1.266 GB, free: 8.008 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)