Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7929/0.7929, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 184.5 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 447.7 MB, free: 4.801 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00089/0.0008901, allocations: 92.38 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001784, allocations: 283.5 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004231, allocations: 14.59 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 82.79 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.443/4.598, allocations: 1.91 GB / 2.684 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/4.599, allocations: 98.89 kB / 2.684 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 17.11/21.71, allocations: 4.385 GB / 7.069 GB, free: 57.53 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.315e-06/21.71, allocations: 0 / 7.069 GB, free: 57.53 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001202/21.71, allocations: 141.2 kB / 7.069 GB, free: 57.51 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.03877/21.75, allocations: 10.51 MB / 7.08 GB, free: 54.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/21.75, allocations: 11.94 kB / 7.08 GB, free: 54.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/21.76, allocations: 1.436 MB / 7.081 GB, free: 54.05 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03126/21.79, allocations: 10.84 MB / 7.092 GB, free: 52.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/21.79, allocations: 255 kB / 7.092 GB, free: 52.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001899/21.79, allocations: 345.9 kB / 7.092 GB, free: 52.92 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/21.81, allocations: 3.935 MB / 7.096 GB, free: 52.56 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/21.81, allocations: 12.09 kB / 7.096 GB, free: 52.56 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/21.81, allocations: 122.7 kB / 7.096 GB, free: 52.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/21.81, allocations: 106.1 kB / 7.096 GB, free: 52.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008765/21.82, allocations: 2.948 MB / 7.099 GB, free: 52.52 MB / 0.8698 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.04093/21.86, allocations: 19.34 MB / 7.118 GB, free: 44.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006114/21.87, allocations: 2.703 MB / 7.121 GB, free: 44.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/21.87, allocations: 228.4 kB / 7.121 GB, free: 43.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/21.87, allocations: 1.658 MB / 7.122 GB, free: 43.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004104/21.88, allocations: 407.5 kB / 7.123 GB, free: 43.79 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=180): time 1.384e-05/21.88, allocations: 0 / 7.123 GB, free: 43.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180): time 0.01055/21.89, allocations: 3.853 MB / 7.127 GB, free: 43.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/21.89, allocations: 71.94 kB / 7.127 GB, free: 43.13 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/21.9, allocations: 6.231 MB / 7.133 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/21.9, allocations: 82.81 kB / 7.133 GB, free: 42.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003544/21.91, allocations: 2.652 MB / 7.135 GB, free: 42.12 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/21.91, allocations: 0.6252 MB / 7.136 GB, free: 41.72 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/21.91, allocations: 51.66 kB / 7.136 GB, free: 41.72 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002102/21.91, allocations: 428.2 kB / 7.136 GB, free: 41.41 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/21.91, allocations: 1.146 MB / 7.138 GB, free: 41.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/21.91, allocations: 2.395 MB / 7.14 GB, free: 39.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/21.92, allocations: 1.509 MB / 7.141 GB, free: 39.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-05/21.92, allocations: 6.844 kB / 7.141 GB, free: 39.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.008857/21.93, allocations: 4.038 MB / 7.145 GB, free: 39.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003362/21.93, allocations: 15.06 MB / 7.16 GB, free: 24.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-05/21.93, allocations: 30.53 kB / 7.16 GB, free: 24.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008777/21.93, allocations: 243.9 kB / 7.16 GB, free: 24.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/21.93, allocations: 0.6512 MB / 7.161 GB, free: 24.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/21.94, allocations: 3.445 MB / 7.164 GB, free: 21.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007184/21.94, allocations: 332.5 kB / 7.165 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/21.94, allocations: 251.6 kB / 7.165 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/21.94, allocations: 5.375 kB / 7.165 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009807/21.95, allocations: 3.976 MB / 7.169 GB, free: 21.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/21.95, allocations: 34.19 kB / 7.169 GB, free: 21.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/21.96, allocations: 0.5409 MB / 7.169 GB, free: 21.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/21.96, allocations: 0.6525 MB / 7.17 GB, free: 21.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/21.97, allocations: 7.428 MB / 7.177 GB, free: 18.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006868/21.98, allocations: 327.3 kB / 7.178 GB, free: 18.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/21.98, allocations: 224.3 kB / 7.178 GB, free: 18.05 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.005441/21.98, allocations: 1.528 MB / 7.179 GB, free: 17.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/21.99, allocations: 0.5239 MB / 7.18 GB, free: 17.55 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008743/21.99, allocations: 3.004 MB / 7.183 GB, free: 17.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/21.99, allocations: 23.67 kB / 7.183 GB, free: 17.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/21.99, allocations: 2.844 kB / 7.183 GB, free: 17.36 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004282/22, allocations: 2.576 MB / 7.185 GB, free: 16.83 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.02596/22.02, allocations: 8.338 MB / 7.193 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/22.02, allocations: 3.812 kB / 7.193 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/22.03, allocations: 488.5 kB / 7.194 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006617/22.03, allocations: 235.7 kB / 7.194 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/22.03, allocations: 56.53 kB / 7.194 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/22.03, allocations: 3.296 MB / 7.197 GB, free: 29.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/22.03, allocations: 7.438 kB / 7.197 GB, free: 29.14 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008284/22.04, allocations: 4.601 MB / 7.202 GB, free: 28.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004422/22.04, allocations: 1.151 MB / 7.203 GB, free: 27.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/22.05, allocations: 42.22 kB / 7.203 GB, free: 27.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005066/22.05, allocations: 313.5 kB / 7.203 GB, free: 27.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004822/22.05, allocations: 127.2 kB / 7.203 GB, free: 27.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003639/22.05, allocations: 90.61 kB / 7.204 GB, free: 27.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01132/22.06, allocations: 4.754 MB / 7.208 GB, free: 27.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.81e-07/22.06, allocations: 0 / 7.208 GB, free: 27.53 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01631/22.08, allocations: 3.418 MB / 7.211 GB, free: 27.23 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01763/22.1, allocations: 11 MB / 7.222 GB, free: 21.24 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01218/22.11, allocations: 5.307 MB / 7.227 GB, free: 20.81 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/22.11, allocations: 0 / 7.227 GB, free: 20.81 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003542/22.11, allocations: 1.197 MB / 7.229 GB, free: 20.79 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01698/22.13, allocations: 3.145 MB / 7.232 GB, free: 20.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/22.16, allocations: 11.63 MB / 7.243 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006476/22.16, allocations: 3.419 MB / 7.246 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01083/22.17, allocations: 1.564 MB / 7.248 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/22.18, allocations: 427.5 kB / 7.248 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of SimCode: time 2.024e-06/22.18, allocations: 0 / 7.248 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of Templates: time 1.033/23.21, allocations: 199.5 MB / 7.443 GB, free: 75.07 MB / 0.9011 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)