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.799/0.799, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001108/0.001108, allocations: 184.6 kB / 182.2 MB, free: 9.441 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.456/1.456, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009413/0.0009414, allocations: 92.05 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 284.4 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.974e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4607, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.552/5.013, allocations: 1.91 GB / 2.667 GB, free: 147.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/5.013, allocations: 95.83 kB / 2.667 GB, free: 147.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 18.06/23.07, allocations: 4.356 GB / 7.024 GB, free: 46.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.404e-06/23.07, allocations: 0 / 7.024 GB, free: 46.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.001577/23.08, allocations: 150.1 kB / 7.024 GB, free: 46.28 MB / 0.8542 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.02763/23.1, allocations: 5.948 MB / 7.03 GB, free: 43.68 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/23.1, allocations: 7.828 kB / 7.03 GB, free: 43.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/23.12, allocations: 1.641 MB / 7.031 GB, free: 43.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03621/23.15, allocations: 11 MB / 7.042 GB, free: 42.13 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/23.15, allocations: 101.1 kB / 7.042 GB, free: 42.13 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/23.16, allocations: 227.3 kB / 7.042 GB, free: 42.13 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00829/23.16, allocations: 3.45 MB / 7.046 GB, free: 42.11 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007753/23.17, allocations: 3.692 MB / 7.049 GB, free: 41.79 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.591e-05/23.17, allocations: 7.156 kB / 7.049 GB, free: 41.79 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/23.17, allocations: 2.844 kB / 7.049 GB, free: 41.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/23.17, allocations: 127.2 kB / 7.049 GB, free: 41.78 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.0359/23.21, allocations: 19.48 MB / 7.068 GB, free: 34.26 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006687/23.22, allocations: 3.755 MB / 7.072 GB, free: 33.83 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00253/23.22, allocations: 1.704 MB / 7.074 GB, free: 33.81 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/23.22, allocations: 233.2 kB / 7.074 GB, free: 33.62 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002375/23.22, allocations: 1.713 MB / 7.076 GB, free: 33.55 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003652/23.23, allocations: 263.4 kB / 7.076 GB, free: 33.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=211): time 8.676e-06/23.23, allocations: 0 / 7.076 GB, free: 33.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211): time 0.00823/23.23, allocations: 3.805 MB / 7.08 GB, free: 33.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/23.23, allocations: 77.47 kB / 7.08 GB, free: 32.98 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/23.25, allocations: 5.813 MB / 7.085 GB, free: 32.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001155/23.25, allocations: 31.92 kB / 7.085 GB, free: 32.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00345/23.25, allocations: 2.747 MB / 7.088 GB, free: 31.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/23.25, allocations: 0.7098 MB / 7.089 GB, free: 31.44 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/23.25, allocations: 2.969 kB / 7.089 GB, free: 31.44 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002304/23.25, allocations: 431 kB / 7.089 GB, free: 31.13 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/23.25, allocations: 1.555 MB / 7.091 GB, free: 31.12 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/23.26, allocations: 2.761 MB / 7.093 GB, free: 29.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/23.26, allocations: 1.994 MB / 7.095 GB, free: 29.61 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-05/23.26, allocations: 6.625 kB / 7.095 GB, free: 29.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.009391/23.27, allocations: 4.932 MB / 7.1 GB, free: 29.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.004114/23.27, allocations: 14.63 MB / 7.114 GB, free: 30.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.538e-05/23.27, allocations: 28.59 kB / 7.114 GB, free: 30.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/23.28, allocations: 435.8 kB / 7.115 GB, free: 30.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/23.28, allocations: 0.7576 MB / 7.116 GB, free: 30.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/23.28, allocations: 4.498 MB / 7.12 GB, free: 27.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007286/23.29, allocations: 279.5 kB / 7.12 GB, free: 27.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001135/23.29, allocations: 264 kB / 7.12 GB, free: 27.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/23.29, allocations: 9.359 kB / 7.12 GB, free: 27.53 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008011/23.3, allocations: 3.8 MB / 7.124 GB, free: 27.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00011/23.3, allocations: 34.28 kB / 7.124 GB, free: 27.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/23.3, allocations: 0.5263 MB / 7.125 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/23.31, allocations: 0.7401 MB / 7.125 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/23.32, allocations: 6.998 MB / 7.132 GB, free: 24.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007397/23.32, allocations: 272.7 kB / 7.133 GB, free: 24.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/23.32, allocations: 227.9 kB / 7.133 GB, free: 24.26 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 345 * 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 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001359/23.33, allocations: 208.6 kB / 7.133 GB, free: 24.13 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002255/23.33, allocations: 0.534 MB / 7.134 GB, free: 23.84 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007172/23.34, allocations: 3.145 MB / 7.137 GB, free: 23.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/23.34, allocations: 26.64 kB / 7.137 GB, free: 23.63 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/23.34, allocations: 1.719 kB / 7.137 GB, free: 23.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003824/23.34, allocations: 2.685 MB / 7.139 GB, free: 23.12 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.02069/23.36, allocations: 8.55 MB / 7.148 GB, free: 22.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/23.36, allocations: 2.875 kB / 7.148 GB, free: 22.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/23.36, allocations: 0.5537 MB / 7.148 GB, free: 22.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/23.36, allocations: 170.2 kB / 7.148 GB, free: 22.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000231/23.36, allocations: 43.61 kB / 7.148 GB, free: 22.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/23.37, allocations: 3.351 MB / 7.152 GB, free: 19.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/23.37, allocations: 6.406 kB / 7.152 GB, free: 19.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00866/23.38, allocations: 4.82 MB / 7.156 GB, free: 18.46 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004906/23.38, allocations: 1.189 MB / 7.157 GB, free: 18.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00254/23.38, allocations: 16.95 kB / 7.157 GB, free: 18.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005648/23.39, allocations: 295.7 kB / 7.158 GB, free: 18.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/23.39, allocations: 147 kB / 7.158 GB, free: 18.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002717/23.39, allocations: 102.8 kB / 7.158 GB, free: 18.05 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00932/23.4, allocations: 4.351 MB / 7.162 GB, free: 17.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.31e-07/23.4, allocations: 0 / 7.162 GB, free: 17.83 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01684/23.42, allocations: 3.218 MB / 7.165 GB, free: 17.47 MB / 0.8698 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) * 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.01779/23.43, allocations: 11.32 MB / 7.176 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01249/23.45, allocations: 6.132 MB / 7.182 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/23.45, allocations: 0 / 7.182 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/23.45, allocations: 1.269 MB / 7.184 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01742/23.47, allocations: 2.996 MB / 7.187 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/23.49, allocations: 8.713 MB / 7.195 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005859/23.49, allocations: 3.565 MB / 7.199 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01679/23.51, allocations: 2.862 MB / 7.201 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/23.51, allocations: 313 kB / 7.202 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/23.51, allocations: 0 / 7.202 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of Templates: time 1.082/24.6, allocations: 154.1 MB / 7.352 GB, free: 74.22 MB / 0.8855 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)