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 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7454/0.7454, allocations: 140.1 MB / 156 MB, free: 5.141 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 177.3 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 426.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007977/0.0007975, allocations: 90.34 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001652/0.001651, allocations: 275.2 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005095, allocations: 20 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3557, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.171/4.527, allocations: 2.088 GB / 2.827 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/4.527, allocations: 99.95 kB / 2.827 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 17.15/21.68, allocations: 4.326 GB / 7.153 GB, free: 45.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.005e-06/21.68, allocations: 0 / 7.153 GB, free: 45.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001447/21.68, allocations: 149.1 kB / 7.153 GB, free: 45.19 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.03905/21.72, allocations: 10.49 MB / 7.163 GB, free: 42.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/21.72, allocations: 11.69 kB / 7.163 GB, free: 42.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/21.73, allocations: 1.443 MB / 7.165 GB, free: 41.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03077/21.76, allocations: 11.03 MB / 7.176 GB, free: 40.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005012/21.76, allocations: 261.5 kB / 7.176 GB, free: 40.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/21.76, allocations: 351 kB / 7.176 GB, free: 40.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/21.78, allocations: 3.984 MB / 7.18 GB, free: 39.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/21.78, allocations: 8.812 kB / 7.18 GB, free: 39.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007121/21.78, allocations: 122.2 kB / 7.18 GB, free: 39.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/21.78, allocations: 105.3 kB / 7.18 GB, free: 39.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006176/21.78, allocations: 2.95 MB / 7.183 GB, free: 39.88 MB / 0.8386 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.03593/21.82, allocations: 19.33 MB / 7.202 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/21.83, allocations: 2.704 MB / 7.205 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/21.83, allocations: 1.242 MB / 7.206 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/21.83, allocations: 228.8 kB / 7.206 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003273/21.83, allocations: 1.67 MB / 7.208 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004507/21.84, allocations: 403.1 kB / 7.208 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=179): time 1.972e-05/21.84, allocations: 0 / 7.208 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=179): time 0.01094/21.85, allocations: 3.958 MB / 7.212 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.66e-05/21.85, allocations: 150.9 kB / 7.212 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01887/21.87, allocations: 6.92 MB / 7.219 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/21.87, allocations: 85.08 kB / 7.219 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00443/21.87, allocations: 2.653 MB / 7.222 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/21.87, allocations: 0.6227 MB / 7.222 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007406/21.87, allocations: 51.39 kB / 7.222 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003591/21.87, allocations: 428.4 kB / 7.223 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/21.88, allocations: 1.156 MB / 7.224 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003898/21.88, allocations: 2.44 MB / 7.226 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006794/21.89, allocations: 3.481 MB / 7.23 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.945e-05/21.89, allocations: 9.406 kB / 7.23 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01109/21.9, allocations: 4.079 MB / 7.234 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001069/21.9, allocations: 1.029 MB / 7.235 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/21.9, allocations: 32.84 kB / 7.235 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/21.9, allocations: 276.4 kB / 7.235 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/21.91, allocations: 0.6434 MB / 7.236 GB, free: 24.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/21.91, allocations: 3.467 MB / 7.239 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007688/21.92, allocations: 336.9 kB / 7.239 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009517/21.92, allocations: 259.5 kB / 7.24 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/21.92, allocations: 6.844 kB / 7.24 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009352/21.93, allocations: 4.02 MB / 7.243 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000149/21.93, allocations: 28.5 kB / 7.243 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/21.93, allocations: 0.5535 MB / 7.244 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/21.93, allocations: 0.6402 MB / 7.245 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/21.94, allocations: 7.235 MB / 7.252 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006952/21.95, allocations: 335 kB / 7.252 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/21.95, allocations: 224 kB / 7.252 GB, free: 18.09 MB / 0.8386 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 (323): * Single equations (assignments): 311 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.005805/21.96, allocations: 1.538 MB / 7.254 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002355/21.96, allocations: 0.5218 MB / 7.254 GB, free: 17.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008866/21.97, allocations: 3.014 MB / 7.257 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/21.97, allocations: 17.22 kB / 7.257 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/21.97, allocations: 0 / 7.257 GB, free: 17.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004381/21.97, allocations: 2.58 MB / 7.26 GB, free: 16.87 MB / 0.8386 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.02504/22, allocations: 8.388 MB / 7.268 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/22, allocations: 0 / 7.268 GB, free: 16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/22, allocations: 484.3 kB / 7.268 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000672/22, allocations: 242.2 kB / 7.269 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003312/22, allocations: 60.8 kB / 7.269 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/22, allocations: 3.295 MB / 7.272 GB, free: 29.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/22, allocations: 6.938 kB / 7.272 GB, free: 29.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009454/22.01, allocations: 4.296 MB / 7.276 GB, free: 28.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/22.02, allocations: 1.147 MB / 7.277 GB, free: 28.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002201/22.02, allocations: 44.58 kB / 7.277 GB, free: 28.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00503/22.02, allocations: 305.1 kB / 7.278 GB, free: 28.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/22.02, allocations: 128.9 kB / 7.278 GB, free: 28.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000312/22.02, allocations: 93.58 kB / 7.278 GB, free: 28.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01252/22.04, allocations: 4.764 MB / 7.282 GB, free: 27.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.21e-07/22.04, allocations: 0 / 7.282 GB, free: 27.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01781/22.05, allocations: 3.477 MB / 7.286 GB, free: 27.58 MB / 0.8542 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.x[1],fan1.filter.x[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 (175): * Single equations (assignments): 168 * 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.01809/22.07, allocations: 11.05 MB / 7.297 GB, free: 21.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01299/22.09, allocations: 5.426 MB / 7.302 GB, free: 19.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/22.09, allocations: 4.312 kB / 7.302 GB, free: 19.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002823/22.09, allocations: 1.208 MB / 7.303 GB, free: 19.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02251/22.11, allocations: 3.141 MB / 7.306 GB, free: 18.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/22.14, allocations: 11.66 MB / 7.318 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007726/22.15, allocations: 3.32 MB / 7.321 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01018/22.16, allocations: 1.562 MB / 7.322 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/22.16, allocations: 444.3 kB / 7.323 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/22.16, allocations: 0 / 7.323 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of Templates: time 1.085/23.24, allocations: 203.2 MB / 7.521 GB, free: 72.65 MB / 0.8698 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)