Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00488/0.00488, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7144/0.7144, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 403.2 MB, free: 6.742 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.0009759/0.0009757, allocations: 92.11 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 12 kB / 0.5641 GB, free: 2.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3641, allocations: 81.58 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.321/4.685, allocations: 1.913 GB / 2.557 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/4.686, allocations: 95.95 kB / 2.557 GB, free: 87.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 16.6/21.29, allocations: 4.388 GB / 6.944 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.572e-06/21.29, allocations: 0 / 6.944 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001268/21.29, allocations: 143.8 kB / 6.945 GB, free: 26.51 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.03461/21.32, allocations: 10.54 MB / 6.955 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/21.32, allocations: 8.031 kB / 6.955 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/21.34, allocations: 1.444 MB / 6.956 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02555/21.36, allocations: 10.9 MB / 6.967 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/21.36, allocations: 257.8 kB / 6.967 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/21.36, allocations: 344 kB / 6.967 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007222/21.37, allocations: 3.933 MB / 6.971 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-05/21.37, allocations: 8 kB / 6.971 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003689/21.37, allocations: 120 kB / 6.971 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/21.37, allocations: 113.6 kB / 6.972 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005932/21.38, allocations: 2.946 MB / 6.974 GB, free: 11.59 MB / 0.8542 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.7087/22.08, allocations: 19.36 MB / 6.993 GB, free: 60.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/22.09, allocations: 2.695 MB / 6.996 GB, free: 60.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/22.09, allocations: 231.2 kB / 6.996 GB, free: 60.19 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00294/22.09, allocations: 1.658 MB / 6.998 GB, free: 60.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003778/22.1, allocations: 402.8 kB / 6.998 GB, free: 60.11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=180): time 1.377e-05/22.1, allocations: 0 / 6.998 GB, free: 60.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=180): time 0.009325/22.11, allocations: 3.857 MB / 7.002 GB, free: 59.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/22.11, allocations: 77.55 kB / 7.002 GB, free: 59.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/22.12, allocations: 6.249 MB / 7.008 GB, free: 59.41 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/22.12, allocations: 87.89 kB / 7.008 GB, free: 59.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003836/22.13, allocations: 2.658 MB / 7.011 GB, free: 58.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/22.13, allocations: 0.624 MB / 7.011 GB, free: 58.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/22.13, allocations: 54.97 kB / 7.011 GB, free: 58.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000365/22.13, allocations: 423 kB / 7.012 GB, free: 58.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/22.13, allocations: 1.149 MB / 7.013 GB, free: 58.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/22.13, allocations: 2.396 MB / 7.015 GB, free: 56.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/22.14, allocations: 1.501 MB / 7.017 GB, free: 56.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.201e-05/22.14, allocations: 11.06 kB / 7.017 GB, free: 56.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.00922/22.15, allocations: 4.045 MB / 7.021 GB, free: 56.33 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002965/22.15, allocations: 15.09 MB / 7.036 GB, free: 40.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.69e-05/22.15, allocations: 30.66 kB / 7.036 GB, free: 40.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009258/22.15, allocations: 243.4 kB / 7.036 GB, free: 40.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/22.15, allocations: 0.6505 MB / 7.036 GB, free: 40.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/22.16, allocations: 3.435 MB / 7.04 GB, free: 37.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006675/22.16, allocations: 331.6 kB / 7.04 GB, free: 37.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/22.16, allocations: 259.9 kB / 7.04 GB, free: 37.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/22.17, allocations: 6.031 kB / 7.04 GB, free: 37.73 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0107/22.18, allocations: 3.978 MB / 7.044 GB, free: 37.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/22.18, allocations: 29.56 kB / 7.044 GB, free: 37.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/22.18, allocations: 0.5398 MB / 7.045 GB, free: 37.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/22.18, allocations: 0.6517 MB / 7.045 GB, free: 37.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/22.19, allocations: 7.428 MB / 7.053 GB, free: 34.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006924/22.2, allocations: 323.4 kB / 7.053 GB, free: 34.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/22.2, allocations: 230.7 kB / 7.053 GB, free: 34.46 MB / 0.8542 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 (324): * Single equations (assignments): 314 * 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 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.005288/22.21, allocations: 1.535 MB / 7.055 GB, free: 34.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002113/22.21, allocations: 0.5262 MB / 7.055 GB, free: 33.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008673/22.22, allocations: 3.012 MB / 7.058 GB, free: 33.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/22.22, allocations: 19.41 kB / 7.058 GB, free: 33.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/22.22, allocations: 3.781 kB / 7.058 GB, free: 33.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004468/22.22, allocations: 2.561 MB / 7.061 GB, free: 33.29 MB / 0.8542 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.02435/22.24, allocations: 8.342 MB / 7.069 GB, free: 48.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/22.24, allocations: 2.516 kB / 7.069 GB, free: 48.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/22.25, allocations: 495.1 kB / 7.069 GB, free: 48.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006692/22.25, allocations: 233.5 kB / 7.07 GB, free: 48.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003529/22.25, allocations: 56.7 kB / 7.07 GB, free: 48.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/22.25, allocations: 3.298 MB / 7.073 GB, free: 45.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/22.25, allocations: 2.875 kB / 7.073 GB, free: 45.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008057/22.26, allocations: 4.612 MB / 7.077 GB, free: 44.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004421/22.26, allocations: 1.148 MB / 7.078 GB, free: 44.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002435/22.27, allocations: 43.38 kB / 7.078 GB, free: 44.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005216/22.27, allocations: 314.3 kB / 7.079 GB, free: 44.22 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/22.27, allocations: 124.9 kB / 7.079 GB, free: 44.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004544/22.27, allocations: 90.11 kB / 7.079 GB, free: 44.22 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01188/22.28, allocations: 4.776 MB / 7.084 GB, free: 44 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.01e-07/22.28, allocations: 0 / 7.084 GB, free: 44 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01727/22.3, allocations: 3.415 MB / 7.087 GB, free: 43.88 MB / 0.8698 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) * Number of clocked states: 0 () * 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.0169/22.32, allocations: 10.95 MB / 7.098 GB, free: 38.07 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01228/22.33, allocations: 5.3 MB / 7.103 GB, free: 37.65 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/22.33, allocations: 4.156 kB / 7.103 GB, free: 37.65 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/22.33, allocations: 1.209 MB / 7.104 GB, free: 37.62 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01797/22.35, allocations: 3.146 MB / 7.107 GB, free: 37.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/22.38, allocations: 11.67 MB / 7.118 GB, free: 32.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007466/22.39, allocations: 3.422 MB / 7.122 GB, free: 32.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0115/22.4, allocations: 1.562 MB / 7.123 GB, free: 32.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/22.4, allocations: 433.5 kB / 7.124 GB, free: 32.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.973e-06/22.4, allocations: 3.094 kB / 7.124 GB, free: 32.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.9983/23.4, allocations: 199.4 MB / 7.319 GB, free: 110.5 MB / 0.9011 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)