Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8048/0.8048, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001017/0.001017, allocations: 173 kB / 191.5 MB, free: 5.758 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.42/1.42, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.0009075/0.0009075, allocations: 96.3 kB / 0.5188 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 272.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 11.89 kB / 0.6929 GB, free: 59.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1701, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.519/4.689, allocations: 1.91 GB / 2.684 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/4.69, allocations: 102.1 kB / 2.684 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 16.94/21.63, allocations: 4.409 GB / 7.093 GB, free: 51.03 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.308e-06/21.63, allocations: 2.594 kB / 7.093 GB, free: 51.03 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001603/21.63, allocations: 151.9 kB / 7.093 GB, free: 51.01 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: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.03949/21.67, allocations: 10.83 MB / 7.104 GB, free: 47.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/21.67, allocations: 8.781 kB / 7.104 GB, free: 47.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/21.68, allocations: 1.646 MB / 7.105 GB, free: 47.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03418/21.72, allocations: 11.08 MB / 7.116 GB, free: 46.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003939/21.72, allocations: 280.1 kB / 7.117 GB, free: 46.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/21.72, allocations: 382 kB / 7.117 GB, free: 46.13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009727/21.73, allocations: 4.242 MB / 7.121 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.399e-05/21.73, allocations: 7.906 kB / 7.121 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004205/21.73, allocations: 129.2 kB / 7.121 GB, free: 45.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/21.73, allocations: 129.5 kB / 7.121 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007069/21.74, allocations: 3.249 MB / 7.124 GB, free: 45.76 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.0429/21.78, allocations: 20.13 MB / 7.144 GB, free: 38.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008092/21.79, allocations: 3.144 MB / 7.147 GB, free: 37.67 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/21.79, allocations: 229.8 kB / 7.147 GB, free: 37.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00446/21.79, allocations: 1.85 MB / 7.149 GB, free: 37.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004717/21.8, allocations: 355 kB / 7.15 GB, free: 37.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=211): time 1.563e-05/21.8, allocations: 0 / 7.15 GB, free: 37.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=211): time 0.01362/21.81, allocations: 4.336 MB / 7.154 GB, free: 36.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/21.81, allocations: 75.69 kB / 7.154 GB, free: 36.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/21.83, allocations: 6.364 MB / 7.16 GB, free: 36.24 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001679/21.83, allocations: 92.39 kB / 7.16 GB, free: 36.21 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004844/21.84, allocations: 2.76 MB / 7.163 GB, free: 35.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001805/21.84, allocations: 0.7305 MB / 7.164 GB, free: 35.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000872/21.84, allocations: 57.31 kB / 7.164 GB, free: 35.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003727/21.84, allocations: 434.2 kB / 7.164 GB, free: 34.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/21.84, allocations: 1.293 MB / 7.165 GB, free: 34.79 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/21.85, allocations: 2.528 MB / 7.168 GB, free: 33.33 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/21.85, allocations: 1.652 MB / 7.169 GB, free: 33.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.186e-05/21.85, allocations: 9.375 kB / 7.169 GB, free: 33.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01028/21.86, allocations: 4.407 MB / 7.174 GB, free: 32.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003134/21.87, allocations: 14.75 MB / 7.188 GB, free: 17.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.781e-05/21.87, allocations: 32.58 kB / 7.188 GB, free: 17.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008215/21.87, allocations: 241.7 kB / 7.188 GB, free: 17.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/21.87, allocations: 0.757 MB / 7.189 GB, free: 17.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/21.88, allocations: 3.452 MB / 7.193 GB, free: 30.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007688/21.88, allocations: 344.2 kB / 7.193 GB, free: 30.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/21.88, allocations: 267 kB / 7.193 GB, free: 30.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/21.88, allocations: 7.625 kB / 7.193 GB, free: 30.61 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01287/21.9, allocations: 4.223 MB / 7.197 GB, free: 30.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/21.9, allocations: 29.25 kB / 7.197 GB, free: 30.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/21.9, allocations: 0.5461 MB / 7.198 GB, free: 30.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/21.9, allocations: 0.7389 MB / 7.199 GB, free: 30.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/21.92, allocations: 7.414 MB / 7.206 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008147/21.92, allocations: 338.2 kB / 7.206 GB, free: 27.28 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/21.92, allocations: 226.6 kB / 7.206 GB, free: 27.28 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (357): * Single equations (assignments): 347 * 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.006194/21.93, allocations: 1.574 MB / 7.208 GB, free: 27.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002849/21.93, allocations: 0.553 MB / 7.208 GB, free: 26.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/21.94, allocations: 3.405 MB / 7.212 GB, free: 26.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/21.94, allocations: 20.19 kB / 7.212 GB, free: 26.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/21.94, allocations: 0 / 7.212 GB, free: 26.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005193/21.95, allocations: 2.878 MB / 7.215 GB, free: 26.05 MB / 0.8855 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.0261/21.98, allocations: 9.058 MB / 7.223 GB, free: 25.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/21.98, allocations: 6.109 kB / 7.223 GB, free: 25.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/21.98, allocations: 0.5516 MB / 7.224 GB, free: 25.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006593/21.98, allocations: 244.9 kB / 7.224 GB, free: 25.15 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003235/21.98, allocations: 73.34 kB / 7.224 GB, free: 25.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/21.98, allocations: 3.303 MB / 7.227 GB, free: 22.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/21.98, allocations: 3.781 kB / 7.227 GB, free: 22.13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009063/21.99, allocations: 5.145 MB / 7.232 GB, free: 19.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004683/22, allocations: 1.208 MB / 7.234 GB, free: 18.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002295/22, allocations: 59.09 kB / 7.234 GB, free: 18.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005483/22, allocations: 337.3 kB / 7.234 GB, free: 18.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004987/22, allocations: 135.7 kB / 7.234 GB, free: 18.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003893/22.01, allocations: 105.9 kB / 7.234 GB, free: 18.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01144/22.02, allocations: 4.863 MB / 7.239 GB, free: 16.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.72e-07/22.02, allocations: 0 / 7.239 GB, free: 16.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01749/22.03, allocations: 3.54 MB / 7.242 GB, free: 16.03 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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],fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.s[1],fan4.filter.s[2]) * 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 (207): * Single equations (assignments): 200 * 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.01895/22.05, allocations: 11 MB / 7.253 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.015/22.07, allocations: 5.765 MB / 7.259 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/22.07, allocations: 0 / 7.259 GB, free: 7.812 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003659/22.07, allocations: 1.403 MB / 7.26 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01759/22.09, allocations: 3.201 MB / 7.263 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/22.12, allocations: 12.48 MB / 7.276 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007471/22.13, allocations: 3.553 MB / 7.279 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01218/22.14, allocations: 1.67 MB / 7.281 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/22.14, allocations: 472.9 kB / 7.281 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.242e-06/22.14, allocations: 0 / 7.281 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of Templates: time 1.121/23.26, allocations: 202.9 MB / 7.479 GB, free: 74.93 MB / 0.9011 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)