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.8412/0.8412, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001088/0.001088, allocations: 176 kB / 187.3 MB, free: 11.88 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.357/1.357, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0008972/0.0008974, allocations: 96.58 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002733/0.002733, allocations: 277.9 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.523e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4152, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.432/4.847, allocations: 1.91 GB / 2.675 GB, free: 96.19 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/4.847, allocations: 94.81 kB / 2.675 GB, free: 96.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 17.01/21.86, allocations: 4.382 GB / 7.056 GB, free: 51.08 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.386e-06/21.86, allocations: 1.875 kB / 7.056 GB, free: 51.08 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001207/21.86, allocations: 143.2 kB / 7.056 GB, free: 51.06 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.02167/21.88, allocations: 5.682 MB / 7.062 GB, free: 48.42 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/21.88, allocations: 12.56 kB / 7.062 GB, free: 48.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/21.89, allocations: 1.437 MB / 7.063 GB, free: 48.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02977/21.92, allocations: 10.75 MB / 7.074 GB, free: 46.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/21.92, allocations: 254 kB / 7.074 GB, free: 46.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/21.93, allocations: 352.3 kB / 7.074 GB, free: 46.92 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/21.94, allocations: 3.841 MB / 7.078 GB, free: 46.56 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001994/21.94, allocations: 3.094 kB / 7.078 GB, free: 46.56 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/21.94, allocations: 132.5 kB / 7.078 GB, free: 46.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/21.94, allocations: 104.1 kB / 7.078 GB, free: 46.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006787/21.95, allocations: 2.817 MB / 7.081 GB, free: 46.52 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.03365/21.98, allocations: 19.36 MB / 7.1 GB, free: 38.59 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/21.98, allocations: 2.607 MB / 7.103 GB, free: 38.15 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/21.99, allocations: 1.193 MB / 7.104 GB, free: 38.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/21.99, allocations: 230.7 kB / 7.104 GB, free: 37.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/21.99, allocations: 1.616 MB / 7.106 GB, free: 37.87 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00373/21.99, allocations: 400.7 kB / 7.106 GB, free: 37.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=180): time 1.153e-05/21.99, allocations: 0 / 7.106 GB, free: 37.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=180): time 0.005784/22, allocations: 2.605 MB / 7.109 GB, free: 37.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/22, allocations: 76.48 kB / 7.109 GB, free: 37.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/22.01, allocations: 6.157 MB / 7.115 GB, free: 36.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009919/22.01, allocations: 82.89 kB / 7.115 GB, free: 36.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003053/22.02, allocations: 2.647 MB / 7.117 GB, free: 36.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/22.02, allocations: 0.6255 MB / 7.118 GB, free: 35.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/22.02, allocations: 50.59 kB / 7.118 GB, free: 35.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001976/22.02, allocations: 424.4 kB / 7.118 GB, free: 35.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/22.02, allocations: 1.094 MB / 7.119 GB, free: 35.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/22.02, allocations: 2.342 MB / 7.122 GB, free: 34.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/22.02, allocations: 1.459 MB / 7.123 GB, free: 33.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/22.02, allocations: 10.75 kB / 7.123 GB, free: 33.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.00754/22.03, allocations: 3.935 MB / 7.127 GB, free: 33.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003235/22.03, allocations: 15.06 MB / 7.142 GB, free: 18.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.69e-05/22.03, allocations: 29.94 kB / 7.142 GB, free: 18.33 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008887/22.04, allocations: 247.9 kB / 7.142 GB, free: 18.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/22.04, allocations: 0.6499 MB / 7.143 GB, free: 18.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/22.04, allocations: 3.466 MB / 7.146 GB, free: 31.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006912/22.05, allocations: 322.1 kB / 7.146 GB, free: 31.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/22.05, allocations: 259.2 kB / 7.147 GB, free: 31.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/22.05, allocations: 3.875 kB / 7.147 GB, free: 31.48 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007514/22.06, allocations: 3.863 MB / 7.15 GB, free: 31.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.574e-05/22.06, allocations: 30.56 kB / 7.15 GB, free: 31.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/22.06, allocations: 0.549 MB / 7.151 GB, free: 31.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/22.06, allocations: 0.6562 MB / 7.151 GB, free: 31.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/22.07, allocations: 7.291 MB / 7.159 GB, free: 28.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00702/22.08, allocations: 324.4 kB / 7.159 GB, free: 28.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009699/22.08, allocations: 223.4 kB / 7.159 GB, free: 28.12 MB / 0.8855 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 312 * 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.0011/22.08, allocations: 294.1 kB / 7.159 GB, free: 27.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/22.08, allocations: 0.5187 MB / 7.16 GB, free: 27.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/22.09, allocations: 2.928 MB / 7.163 GB, free: 27.49 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/22.09, allocations: 25.45 kB / 7.163 GB, free: 27.49 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/22.09, allocations: 2.656 kB / 7.163 GB, free: 27.49 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003249/22.09, allocations: 2.463 MB / 7.165 GB, free: 26.96 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.02243/22.12, allocations: 8.314 MB / 7.173 GB, free: 26.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/22.12, allocations: 7.031 kB / 7.173 GB, free: 26.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/22.12, allocations: 483 kB / 7.174 GB, free: 26.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006628/22.12, allocations: 252.2 kB / 7.174 GB, free: 25.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/22.12, allocations: 53.19 kB / 7.174 GB, free: 25.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/22.12, allocations: 3.284 MB / 7.177 GB, free: 23.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/22.12, allocations: 7.547 kB / 7.177 GB, free: 23.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008368/22.13, allocations: 4.456 MB / 7.182 GB, free: 21.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004821/22.14, allocations: 1.148 MB / 7.183 GB, free: 20.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002732/22.14, allocations: 38.41 kB / 7.183 GB, free: 20.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005899/22.14, allocations: 315.5 kB / 7.183 GB, free: 20.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006211/22.14, allocations: 127.5 kB / 7.183 GB, free: 20.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006512/22.15, allocations: 94.11 kB / 7.183 GB, free: 20.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01466/22.16, allocations: 4.688 MB / 7.188 GB, free: 18.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.91e-07/22.16, allocations: 0 / 7.188 GB, free: 18.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01878/22.18, allocations: 3.418 MB / 7.191 GB, free: 17.64 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) * 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.02095/22.2, allocations: 10.97 MB / 7.202 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01139/22.21, allocations: 5.362 MB / 7.207 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/22.21, allocations: 1.938 kB / 7.207 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/22.21, allocations: 1.162 MB / 7.208 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01698/22.23, allocations: 3.143 MB / 7.211 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/22.25, allocations: 8.262 MB / 7.219 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003896/22.25, allocations: 3.421 MB / 7.223 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01217/22.26, allocations: 2.834 MB / 7.226 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/22.27, allocations: 285.7 kB / 7.226 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of SimCode: time 2.665e-06/22.27, allocations: 4 kB / 7.226 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of Templates: time 1.169/23.43, allocations: 222.5 MB / 7.443 GB, free: 71.34 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)