Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 172.7 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4481/0.4481, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 348.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008551/0.0008552, allocations: 96.36 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003523, allocations: 16 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3028, allocations: 71.01 MB / 0.5594 GB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.504/3.807, allocations: 1.902 GB / 2.461 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/3.808, allocations: 99.95 kB / 2.461 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 15.15/18.95, allocations: 4.396 GB / 6.857 GB, free: 51.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.836e-06/18.95, allocations: 0 / 6.857 GB, free: 51.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001167/18.96, allocations: 156.8 kB / 6.857 GB, free: 51.95 MB / 0.7761 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.03572/18.99, allocations: 10.76 MB / 6.868 GB, free: 48.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/18.99, allocations: 9.969 kB / 6.868 GB, free: 48.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/19.01, allocations: 1.633 MB / 6.869 GB, free: 48.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03008/19.04, allocations: 11.25 MB / 6.88 GB, free: 46.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/19.04, allocations: 284.8 kB / 6.88 GB, free: 46.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001769/19.04, allocations: 376.9 kB / 6.881 GB, free: 46.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/19.05, allocations: 4.272 MB / 6.885 GB, free: 46.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001481/19.05, allocations: 4.5 kB / 6.885 GB, free: 46.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009603/19.05, allocations: 133.1 kB / 6.885 GB, free: 46.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/19.05, allocations: 121.6 kB / 6.885 GB, free: 46.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007531/19.06, allocations: 3.254 MB / 6.888 GB, free: 46.43 MB / 0.7761 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.03116/19.09, allocations: 20.12 MB / 6.908 GB, free: 38.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005465/19.09, allocations: 3.151 MB / 6.911 GB, free: 38.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/19.1, allocations: 1.426 MB / 6.912 GB, free: 38.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/19.1, allocations: 233.1 kB / 6.913 GB, free: 38.11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002886/19.1, allocations: 1.854 MB / 6.914 GB, free: 38.03 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003533/19.1, allocations: 353.8 kB / 6.915 GB, free: 37.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=211): time 1.226e-05/19.1, allocations: 0 / 6.915 GB, free: 37.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=211): time 0.01094/19.11, allocations: 4.338 MB / 6.919 GB, free: 37.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/19.11, allocations: 77.72 kB / 6.919 GB, free: 37.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/19.13, allocations: 7.052 MB / 6.926 GB, free: 36.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/19.13, allocations: 90.73 kB / 6.926 GB, free: 36.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003664/19.14, allocations: 2.764 MB / 6.929 GB, free: 36.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/19.14, allocations: 0.7329 MB / 6.93 GB, free: 35.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007071/19.14, allocations: 59.12 kB / 6.93 GB, free: 35.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003056/19.14, allocations: 432.2 kB / 6.93 GB, free: 35.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/19.14, allocations: 1.287 MB / 6.931 GB, free: 35.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003379/19.14, allocations: 2.548 MB / 6.934 GB, free: 33.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005856/19.15, allocations: 3.747 MB / 6.937 GB, free: 32.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.572e-05/19.15, allocations: 7.219 kB / 6.937 GB, free: 32.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.009558/19.16, allocations: 4.435 MB / 6.942 GB, free: 32.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005627/19.16, allocations: 1.009 MB / 6.943 GB, free: 31.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.454e-05/19.16, allocations: 30.03 kB / 6.943 GB, free: 31.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009452/19.16, allocations: 282.8 kB / 6.943 GB, free: 31.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003575/19.17, allocations: 0.7638 MB / 6.944 GB, free: 31.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/19.17, allocations: 3.469 MB / 6.947 GB, free: 28.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005753/19.17, allocations: 361.1 kB / 6.948 GB, free: 28.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006615/19.17, allocations: 271.8 kB / 6.948 GB, free: 28.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/19.17, allocations: 2.938 kB / 6.948 GB, free: 28.26 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008041/19.18, allocations: 4.236 MB / 6.952 GB, free: 28.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/19.18, allocations: 26.56 kB / 6.952 GB, free: 28.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/19.18, allocations: 0.5455 MB / 6.952 GB, free: 28.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/19.19, allocations: 0.7397 MB / 6.953 GB, free: 28.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008901/19.2, allocations: 7.21 MB / 6.96 GB, free: 24.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006701/19.2, allocations: 343.7 kB / 6.961 GB, free: 24.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008404/19.2, allocations: 234.3 kB / 6.961 GB, free: 24.88 MB / 0.7761 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 (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.00469/19.21, allocations: 1.578 MB / 6.962 GB, free: 24.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/19.21, allocations: 0.5474 MB / 6.963 GB, free: 24.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008315/19.22, allocations: 3.398 MB / 6.966 GB, free: 23.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/19.22, allocations: 17.84 kB / 6.966 GB, free: 23.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/19.22, allocations: 6.344 kB / 6.966 GB, free: 23.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004474/19.22, allocations: 2.89 MB / 6.969 GB, free: 22.15 MB / 0.7761 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.01998/19.24, allocations: 9.133 MB / 6.978 GB, free: 18.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/19.24, allocations: 3.469 kB / 6.978 GB, free: 18.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002764/19.25, allocations: 0.5476 MB / 6.978 GB, free: 18.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/19.25, allocations: 237.4 kB / 6.979 GB, free: 18.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/19.25, allocations: 72.69 kB / 6.979 GB, free: 18.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/19.25, allocations: 3.294 MB / 6.982 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/19.25, allocations: 0 / 6.982 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008303/19.26, allocations: 4.847 MB / 6.987 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003365/19.26, allocations: 1.217 MB / 6.988 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/19.26, allocations: 49.94 kB / 6.988 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004472/19.27, allocations: 330.6 kB / 6.988 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003308/19.27, allocations: 151.2 kB / 6.988 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002672/19.27, allocations: 107.5 kB / 6.989 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.01/19.28, allocations: 4.862 MB / 6.993 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.21e-07/19.28, allocations: 0 / 6.993 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01388/19.29, allocations: 3.542 MB / 6.997 GB, free: 9.332 MB / 0.7761 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.01453/19.3, allocations: 11 MB / 7.007 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01351/19.32, allocations: 5.788 MB / 7.013 GB, free: 368 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/19.32, allocations: 8.062 kB / 7.013 GB, free: 360 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.006524/19.32, allocations: 1.614 MB / 7.015 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02021/19.35, allocations: 3.187 MB / 7.018 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/19.37, allocations: 12.51 MB / 7.03 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009209/19.38, allocations: 3.739 MB / 7.034 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.009641/19.39, allocations: 1.665 MB / 7.035 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/19.39, allocations: 479.3 kB / 7.036 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/19.39, allocations: 0 / 7.036 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.8756/20.27, allocations: 205.1 MB / 7.236 GB, free: 64.1 MB / 0.8073 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)