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.7637/0.7637, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 184 kB / 187.3 MB, free: 11.89 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.462/1.462, allocations: 221.3 MB / 441.4 MB, free: 4.625 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.0009711/0.000971, allocations: 100.7 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 283.6 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.301e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4517, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.255/4.706, allocations: 1.91 GB / 2.675 GB, free: 95.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/4.707, allocations: 95.75 kB / 2.675 GB, free: 95.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 17.14/21.84, allocations: 4.406 GB / 7.08 GB, free: 49.69 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.546e-06/21.84, allocations: 0 / 7.08 GB, free: 49.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001193/21.85, allocations: 152.2 kB / 7.08 GB, free: 49.67 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.02318/21.87, allocations: 5.948 MB / 7.086 GB, free: 46.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/21.87, allocations: 7.656 kB / 7.086 GB, free: 46.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/21.88, allocations: 1.646 MB / 7.088 GB, free: 46.47 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02895/21.91, allocations: 10.99 MB / 7.099 GB, free: 45.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/21.91, allocations: 279.4 kB / 7.099 GB, free: 45.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/21.91, allocations: 380 kB / 7.099 GB, free: 45.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009498/21.92, allocations: 4.139 MB / 7.103 GB, free: 44.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/21.92, allocations: 7.469 kB / 7.103 GB, free: 44.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/21.92, allocations: 136.7 kB / 7.103 GB, free: 44.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/21.92, allocations: 118.8 kB / 7.103 GB, free: 44.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/21.93, allocations: 3.083 MB / 7.107 GB, free: 44.92 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 preOpt removeSimpleEquations (simulation): time 0.0397/21.97, allocations: 20.13 MB / 7.126 GB, free: 37.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005802/21.97, allocations: 3.014 MB / 7.129 GB, free: 36.84 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002261/21.98, allocations: 1.358 MB / 7.13 GB, free: 36.83 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/21.98, allocations: 230.5 kB / 7.131 GB, free: 36.64 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002789/21.98, allocations: 1.786 MB / 7.132 GB, free: 36.55 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004392/21.98, allocations: 349.7 kB / 7.133 GB, free: 36.44 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=211): time 2.114e-05/21.98, allocations: 0 / 7.133 GB, free: 36.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=211): time 0.00866/21.99, allocations: 2.898 MB / 7.136 GB, free: 36.04 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/21.99, allocations: 80.09 kB / 7.136 GB, free: 35.97 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/22.01, allocations: 6.29 MB / 7.142 GB, free: 35.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/22.01, allocations: 91.98 kB / 7.142 GB, free: 35.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003536/22.01, allocations: 2.761 MB / 7.145 GB, free: 34.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/22.02, allocations: 0.734 MB / 7.145 GB, free: 34.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/22.02, allocations: 58.38 kB / 7.145 GB, free: 34.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002239/22.02, allocations: 436.1 kB / 7.146 GB, free: 34.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/22.02, allocations: 1.216 MB / 7.147 GB, free: 34.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/22.02, allocations: 2.455 MB / 7.149 GB, free: 32.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/22.02, allocations: 1.598 MB / 7.151 GB, free: 32.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/22.02, allocations: 7.5 kB / 7.151 GB, free: 32.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.008287/22.03, allocations: 4.265 MB / 7.155 GB, free: 32.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003492/22.03, allocations: 14.75 MB / 7.169 GB, free: 16.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.994e-05/22.03, allocations: 28.31 kB / 7.169 GB, free: 16.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008349/22.04, allocations: 257.9 kB / 7.17 GB, free: 16.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004377/22.04, allocations: 0.7598 MB / 7.17 GB, free: 16.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004086/22.04, allocations: 3.458 MB / 7.174 GB, free: 29.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007853/22.05, allocations: 343.4 kB / 7.174 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/22.05, allocations: 270.8 kB / 7.174 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/22.05, allocations: 7.594 kB / 7.174 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01037/22.06, allocations: 4.106 MB / 7.178 GB, free: 29.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/22.06, allocations: 30.03 kB / 7.178 GB, free: 29.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/22.07, allocations: 0.5538 MB / 7.179 GB, free: 29.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/22.07, allocations: 0.7416 MB / 7.18 GB, free: 29.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/22.08, allocations: 7.242 MB / 7.187 GB, free: 26.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/22.09, allocations: 344.4 kB / 7.187 GB, free: 26.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/22.09, allocations: 227.7 kB / 7.187 GB, free: 26.41 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 () * 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.00205/22.09, allocations: 299 kB / 7.188 GB, free: 26.24 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002329/22.09, allocations: 0.5498 MB / 7.188 GB, free: 25.94 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/22.1, allocations: 3.277 MB / 7.191 GB, free: 25.71 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/22.1, allocations: 18.88 kB / 7.191 GB, free: 25.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/22.1, allocations: 0 / 7.191 GB, free: 25.71 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004595/22.11, allocations: 2.734 MB / 7.194 GB, free: 24.51 MB / 0.8855 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.02821/22.14, allocations: 9.017 MB / 7.203 GB, free: 20.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/22.14, allocations: 0 / 7.203 GB, free: 20.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002953/22.14, allocations: 0.5459 MB / 7.203 GB, free: 20.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/22.14, allocations: 237.8 kB / 7.204 GB, free: 20.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004254/22.14, allocations: 75.42 kB / 7.204 GB, free: 20.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/22.14, allocations: 3.295 MB / 7.207 GB, free: 17.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/22.14, allocations: 2.516 kB / 7.207 GB, free: 17.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009006/22.15, allocations: 4.939 MB / 7.212 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004813/22.16, allocations: 1.205 MB / 7.213 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002596/22.16, allocations: 50.09 kB / 7.213 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007084/22.17, allocations: 340.8 kB / 7.213 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008879/22.17, allocations: 140.5 kB / 7.213 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007257/22.17, allocations: 105 kB / 7.214 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01292/22.18, allocations: 4.791 MB / 7.218 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/22.18, allocations: 0 / 7.218 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01657/22.2, allocations: 3.557 MB / 7.222 GB, free: 11.34 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) * 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.01665/22.21, allocations: 10.99 MB / 7.232 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01334/22.23, allocations: 5.759 MB / 7.238 GB, free: 1.914 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/22.23, allocations: 0 / 7.238 GB, free: 1.914 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/22.23, allocations: 1.326 MB / 7.239 GB, free: 0.6875 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01744/22.25, allocations: 3.219 MB / 7.242 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/22.27, allocations: 8.871 MB / 7.251 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006948/22.28, allocations: 3.563 MB / 7.255 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01792/22.3, allocations: 2.955 MB / 7.258 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001824/22.3, allocations: 320.2 kB / 7.258 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of SimCode: time 1.673e-06/22.3, allocations: 0 / 7.258 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of Templates: time 1.107/23.41, allocations: 225.6 MB / 7.478 GB, free: 50.25 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)