Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001058/0.001058, allocations: 174.6 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7655/0.7655, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 395.5 MB, free: 10.84 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.0009348/0.0009347, allocations: 109 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.625e-05, allocations: 4 kB / 0.5535 GB, free: 9.062 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5016, allocations: 82.29 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.247/5.749, allocations: 1.912 GB / 2.546 GB, free: 125 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/5.749, allocations: 91.95 kB / 2.546 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 18.97/24.72, allocations: 4.359 GB / 6.906 GB, free: 45.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.196e-06/24.72, allocations: 1.094 kB / 6.906 GB, free: 45.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.001632/24.72, allocations: 157.5 kB / 6.906 GB, free: 45.36 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: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.02478/24.74, allocations: 5.962 MB / 6.912 GB, free: 42.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/24.74, allocations: 11 kB / 6.912 GB, free: 42.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/24.76, allocations: 1.641 MB / 6.913 GB, free: 41.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03301/24.79, allocations: 11.06 MB / 6.924 GB, free: 40.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/24.79, allocations: 108.8 kB / 6.924 GB, free: 40.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00232/24.79, allocations: 224.9 kB / 6.924 GB, free: 40.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009966/24.8, allocations: 3.453 MB / 6.928 GB, free: 40.33 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/24.81, allocations: 3.681 MB / 6.931 GB, free: 38.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-05/24.81, allocations: 7.625 kB / 6.931 GB, free: 38.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003618/24.81, allocations: 2.375 kB / 6.931 GB, free: 38.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/24.81, allocations: 125.8 kB / 6.931 GB, free: 38.88 MB / 0.8386 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.03614/24.85, allocations: 19.5 MB / 6.95 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006843/24.86, allocations: 3.755 MB / 6.954 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002506/24.86, allocations: 1.712 MB / 6.956 GB, free: 22.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000457/24.86, allocations: 233.3 kB / 6.956 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002464/24.86, allocations: 1.71 MB / 6.958 GB, free: 21.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00461/24.87, allocations: 269.8 kB / 6.958 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=211): time 8.446e-06/24.87, allocations: 0 / 6.958 GB, free: 21.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=211): time 0.008944/24.88, allocations: 3.804 MB / 6.962 GB, free: 17.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/24.88, allocations: 73.41 kB / 6.962 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01514/24.89, allocations: 5.824 MB / 6.967 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001782/24.89, allocations: 33.7 kB / 6.967 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.004539/24.9, allocations: 2.77 MB / 6.97 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002145/24.9, allocations: 0.7127 MB / 6.971 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/24.9, allocations: 3.938 kB / 6.971 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003563/24.9, allocations: 433.2 kB / 6.971 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/24.9, allocations: 1.554 MB / 6.973 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/24.91, allocations: 2.764 MB / 6.975 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/24.91, allocations: 1.98 MB / 6.977 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/24.91, allocations: 8 kB / 6.977 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01168/24.92, allocations: 4.955 MB / 6.982 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.8353/25.76, allocations: 14.63 MB / 6.996 GB, free: 71.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/25.76, allocations: 30.03 kB / 6.997 GB, free: 71.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/25.76, allocations: 434.3 kB / 6.997 GB, free: 71.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/25.76, allocations: 0.7572 MB / 6.998 GB, free: 71.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/25.77, allocations: 4.495 MB / 7.002 GB, free: 68.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/25.78, allocations: 281.9 kB / 7.002 GB, free: 68.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/25.78, allocations: 274.6 kB / 7.003 GB, free: 68.67 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/25.78, allocations: 3.562 kB / 7.003 GB, free: 68.67 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007622/25.79, allocations: 3.806 MB / 7.006 GB, free: 68.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.072e-05/25.79, allocations: 27 kB / 7.006 GB, free: 68.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/25.79, allocations: 0.5233 MB / 7.007 GB, free: 68.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/25.79, allocations: 0.7458 MB / 7.008 GB, free: 68.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009745/25.8, allocations: 6.982 MB / 7.014 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0065/25.81, allocations: 276.3 kB / 7.015 GB, free: 65.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/25.81, allocations: 230.9 kB / 7.015 GB, free: 65.54 MB / 0.8542 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.001255/25.81, allocations: 201.8 kB / 7.015 GB, free: 65.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0021/25.81, allocations: 0.5358 MB / 7.016 GB, free: 65.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/25.82, allocations: 3.142 MB / 7.019 GB, free: 65.26 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/25.82, allocations: 21.69 kB / 7.019 GB, free: 65.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/25.82, allocations: 0 / 7.019 GB, free: 65.26 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004512/25.82, allocations: 2.685 MB / 7.021 GB, free: 64.76 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 postOpt removeSimpleEquations (simulation): time 0.0201/25.84, allocations: 8.571 MB / 7.03 GB, free: 63.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/25.84, allocations: 3.438 kB / 7.03 GB, free: 63.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/25.85, allocations: 0.5459 MB / 7.03 GB, free: 63.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/25.85, allocations: 173.4 kB / 7.03 GB, free: 63.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/25.85, allocations: 43.42 kB / 7.03 GB, free: 63.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/25.85, allocations: 3.347 MB / 7.034 GB, free: 61.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/25.85, allocations: 3.312 kB / 7.034 GB, free: 61.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/25.86, allocations: 4.827 MB / 7.038 GB, free: 60.21 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003732/25.86, allocations: 1.194 MB / 7.04 GB, free: 59.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/25.86, allocations: 22.09 kB / 7.04 GB, free: 59.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005026/25.87, allocations: 291.6 kB / 7.04 GB, free: 59.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/25.87, allocations: 139.5 kB / 7.04 GB, free: 59.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/25.87, allocations: 106.1 kB / 7.04 GB, free: 59.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.009962/25.88, allocations: 4.364 MB / 7.044 GB, free: 59.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.61e-07/25.88, allocations: 7.375 kB / 7.044 GB, free: 59.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01493/25.89, allocations: 3.21 MB / 7.048 GB, free: 59.44 MB / 0.8542 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.01609/25.91, allocations: 11.3 MB / 7.059 GB, free: 53.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01257/25.92, allocations: 6.129 MB / 7.065 GB, free: 53.24 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/25.92, allocations: 0 / 7.065 GB, free: 53.24 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/25.92, allocations: 1.272 MB / 7.066 GB, free: 53.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/25.94, allocations: 3.003 MB / 7.069 GB, free: 53.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/25.96, allocations: 8.742 MB / 7.077 GB, free: 51.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003818/25.96, allocations: 3.575 MB / 7.081 GB, free: 50.28 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01292/25.97, allocations: 2.861 MB / 7.084 GB, free: 50.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/25.97, allocations: 313.5 kB / 7.084 GB, free: 50.22 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/25.97, allocations: 0 / 7.084 GB, free: 50.22 MB / 0.8542 GB Notification: Performance of Templates: time 0.2295/26.2, allocations: 153.8 MB / 7.234 GB, free: 32.01 MB / 0.8542 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)