Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 192.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.3 MB / 0.5488 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 72.14 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2853, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.9423/1.228, allocations: 323.9 MB / 1.1 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04009/1.268, allocations: 22.95 MB / 1.122 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005301/1.273, allocations: 91.5 kB / 1.122 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005415/1.279, allocations: 1.511 MB / 1.124 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01376/1.292, allocations: 4.22 MB / 1.128 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006969/1.299, allocations: 2.332 MB / 1.13 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01014/1.31, allocations: 5.928 MB / 1.136 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004564/1.314, allocations: 2.169 MB / 1.138 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009028/1.323, allocations: 3.196 MB / 1.141 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004281/1.328, allocations: 1.73 MB / 1.143 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001003/1.329, allocations: 220 kB / 1.143 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009552/1.338, allocations: 3.68 MB / 1.147 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001836/1.34, allocations: 0.8802 MB / 1.147 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003626/1.344, allocations: 1.334 MB / 1.149 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/1.356, allocations: 4.717 MB / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/1.356, allocations: 4 kB / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.743e-06/1.356, allocations: 0 / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001556/1.356, allocations: 0 / 1.153 GB, free: 12.21 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007281/1.364, allocations: 2.981 MB / 1.156 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.364, allocations: 12.03 kB / 1.156 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005601/1.369, allocations: 0.8397 MB / 1.157 GB, free: 8.312 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/1.374, allocations: 1.846 MB / 1.159 GB, free: 6.391 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/1.374, allocations: 166.7 kB / 1.159 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002615/1.374, allocations: 155.9 kB / 1.159 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003296/1.378, allocations: 1.666 MB / 1.161 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/1.378, allocations: 7.938 kB / 1.161 GB, free: 4.332 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.378, allocations: 52 kB / 1.161 GB, free: 4.281 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-05/1.378, allocations: 54.59 kB / 1.161 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/1.381, allocations: 1.369 MB / 1.162 GB, free: 2.852 MB / 0.8731 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.01207/1.393, allocations: 7.966 MB / 1.17 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/1.395, allocations: 1.022 MB / 1.171 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/1.396, allocations: 486.6 kB / 1.171 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002329/1.397, allocations: 109.7 kB / 1.172 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/1.397, allocations: 43.2 kB / 1.172 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=73): time 2.554e-06/1.397, allocations: 4 kB / 1.172 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of matching and sorting (n=73): time 0.004504/1.401, allocations: 1.528 MB / 1.173 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/1.401, allocations: 60.06 kB / 1.173 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/1.404, allocations: 1.794 MB / 1.175 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/1.404, allocations: 45.7 kB / 1.175 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/1.405, allocations: 0.9879 MB / 1.176 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/1.405, allocations: 260.2 kB / 1.176 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003526/1.406, allocations: 218.4 kB / 1.176 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.406, allocations: 341.9 kB / 1.177 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.407, allocations: 456.6 kB / 1.177 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.408, allocations: 0.842 MB / 1.178 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/1.411, allocations: 1.219 MB / 1.179 GB, free: 416 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/1.411, allocations: 0 / 1.179 GB, free: 416 kB / 0.8887 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003456/1.414, allocations: 1.464 MB / 1.181 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/1.414, allocations: 11.98 kB / 1.181 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.414, allocations: 8 kB / 1.181 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/1.414, allocations: 65.17 kB / 1.181 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.416, allocations: 283.6 kB / 1.181 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/1.417, allocations: 1.756 MB / 1.183 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/1.418, allocations: 154.6 kB / 1.183 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/1.419, allocations: 47.98 kB / 1.183 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001894/1.42, allocations: 0.8231 MB / 1.184 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001358/1.422, allocations: 0.7914 MB / 1.184 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002123/1.424, allocations: 1.114 MB / 1.186 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-05/1.424, allocations: 4 kB / 1.186 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003369/1.427, allocations: 1.423 MB / 1.187 GB, free: 8.051 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.427, allocations: 12.09 kB / 1.187 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.427, allocations: 12 kB / 1.187 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/1.428, allocations: 44.84 kB / 1.187 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/1.429, allocations: 243.6 kB / 1.187 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/1.43, allocations: 1.646 MB / 1.189 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/1.432, allocations: 116.7 kB / 1.189 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.432, allocations: 44 kB / 1.189 GB, free: 5.801 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (117): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003941/1.432, allocations: 244 kB / 1.189 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/1.433, allocations: 197.5 kB / 1.189 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/1.436, allocations: 1.186 MB / 1.191 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.436, allocations: 8 kB / 1.191 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.436, allocations: 3.938 kB / 1.191 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/1.438, allocations: 1.009 MB / 1.192 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/1.445, allocations: 2.822 MB / 1.194 GB, free: 136 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.445, allocations: 4.125 kB / 1.194 GB, free: 132 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.446, allocations: 211.7 kB / 1.195 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/1.446, allocations: 32.84 kB / 1.195 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/1.446, allocations: 24.11 kB / 1.195 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/1.448, allocations: 3.302 MB / 1.198 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.448, allocations: 7.969 kB / 1.198 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003866/1.452, allocations: 1.744 MB / 1.2 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/1.453, allocations: 362.5 kB / 1.2 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004603/1.454, allocations: 19.94 kB / 1.2 GB, free: 10.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/1.455, allocations: 59.94 kB / 1.2 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.455, allocations: 44.59 kB / 1.2 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.547e-05/1.455, allocations: 35.97 kB / 1.2 GB, free: 10.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00243/1.458, allocations: 1.216 MB / 1.201 GB, free: 8.785 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.458, allocations: 0 / 1.201 GB, free: 8.785 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003481/1.461, allocations: 0.974 MB / 1.202 GB, free: 7.809 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/1.462, allocations: 356 kB / 1.202 GB, free: 7.461 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005096/1.467, allocations: 1.853 MB / 1.204 GB, free: 5.598 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.467, allocations: 0 / 1.204 GB, free: 5.598 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.469, allocations: 0.5937 MB / 1.205 GB, free: 4.988 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/1.474, allocations: 1.067 MB / 1.206 GB, free: 3.945 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007527/1.481, allocations: 3.557 MB / 1.209 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.483, allocations: 1.57 MB / 1.211 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002478/1.486, allocations: 484.6 kB / 1.211 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/1.486, allocations: 143.4 kB / 1.212 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of SimCode: time 1.382e-06/1.486, allocations: 3.938 kB / 1.212 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.0773/1.563, allocations: 38.92 MB / 1.25 GB, free: 7.734 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)