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/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008602, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8094/0.8094, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 11.98 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 82.32 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 0.8216/0.9599, allocations: 300.6 MB / 0.8808 GB, free: 9.266 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04552/1.005, allocations: 42.44 MB / 0.9222 GB, free: 8.867 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005554/1.011, allocations: 150.5 kB / 0.9224 GB, free: 8.863 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006827/1.018, allocations: 2.453 MB / 0.9247 GB, free: 8.859 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02127/1.039, allocations: 7.726 MB / 0.9323 GB, free: 8.758 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01097/1.05, allocations: 3.871 MB / 0.9361 GB, free: 8.699 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01368/1.064, allocations: 7.513 MB / 0.9434 GB, free: 8.688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005266/1.069, allocations: 3.439 MB / 0.9468 GB, free: 8.293 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0118/1.081, allocations: 5.33 MB / 0.952 GB, free: 7.613 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004943/1.086, allocations: 2.755 MB / 0.9547 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000699/1.087, allocations: 234.3 kB / 0.9549 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007629/1.094, allocations: 2.933 MB / 0.9577 GB, free: 6.691 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001635/1.096, allocations: 2.037 MB / 0.9597 GB, free: 6.141 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001686/1.098, allocations: 1.357 MB / 0.9611 GB, free: 6.109 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007428/1.105, allocations: 8.214 MB / 0.9691 GB, free: 1.789 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.105, allocations: 4 kB / 0.9691 GB, free: 1.785 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.803e-06/1.105, allocations: 1.75 kB / 0.9691 GB, free: 1.785 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001372/1.105, allocations: 0 / 0.9691 GB, free: 1.785 MB / 0.67 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.01179/1.117, allocations: 6.872 MB / 0.9758 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.117, allocations: 8.469 kB / 0.9758 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/1.125, allocations: 1.465 MB / 0.9772 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/1.139, allocations: 10.92 MB / 0.9879 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/1.139, allocations: 259.2 kB / 0.9882 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005614/1.14, allocations: 344.9 kB / 0.9885 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005522/1.145, allocations: 3.903 MB / 0.9923 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/1.146, allocations: 0 / 0.9923 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/1.146, allocations: 125.6 kB / 0.9924 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.455e-05/1.146, allocations: 112.2 kB / 0.9925 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004477/1.15, allocations: 2.808 MB / 0.9953 GB, free: 5.32 MB / 0.6856 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.02215/1.173, allocations: 17.96 MB / 1.013 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/1.176, allocations: 2.147 MB / 1.015 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/1.176, allocations: 58.95 kB / 1.015 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/1.178, allocations: 1.596 MB / 1.017 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002438/1.181, allocations: 385.9 kB / 1.017 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=176): time 6.442e-06/1.181, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of matching and sorting (n=176): time 0.00726/1.188, allocations: 3.643 MB / 1.02 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.188, allocations: 80.92 kB / 1.021 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.198, allocations: 8.548 MB / 1.029 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005337/1.199, allocations: 84.83 kB / 1.029 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/1.201, allocations: 2.668 MB / 1.032 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007267/1.202, allocations: 0.6068 MB / 1.032 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/1.202, allocations: 54.22 kB / 1.032 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.202, allocations: 428.8 kB / 1.033 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/1.204, allocations: 1.245 MB / 1.034 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/1.206, allocations: 2.434 MB / 1.036 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/1.208, allocations: 1.597 MB / 1.038 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.208, allocations: 12 kB / 1.038 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.006213/1.215, allocations: 4.242 MB / 1.042 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.004745/1.219, allocations: 15.05 MB / 1.057 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.602e-05/1.219, allocations: 35.98 kB / 1.057 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009065/1.22, allocations: 286 kB / 1.057 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.223, allocations: 0.6443 MB / 1.058 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/1.226, allocations: 3.743 MB / 1.061 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/1.231, allocations: 333.3 kB / 1.062 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/1.232, allocations: 239.1 kB / 1.062 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.232, allocations: 4 kB / 1.062 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006374/1.238, allocations: 4.605 MB / 1.066 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.842e-05/1.238, allocations: 32 kB / 1.066 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/1.239, allocations: 0.6716 MB / 1.067 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.242, allocations: 0.6277 MB / 1.068 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.252, allocations: 8.699 MB / 1.076 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/1.258, allocations: 326.3 kB / 1.076 GB, free: 1.164 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004551/1.258, allocations: 204.3 kB / 1.077 GB, free: 0.9844 MB / 0.7481 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 (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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003169/1.261, allocations: 1.526 MB / 1.078 GB, free: 96 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.262, allocations: 0.5246 MB / 1.079 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/1.267, allocations: 2.913 MB / 1.081 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.267, allocations: 18.62 kB / 1.081 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.267, allocations: 0 / 1.081 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/1.271, allocations: 2.454 MB / 1.084 GB, free: 11.64 MB / 0.7637 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.01067/1.281, allocations: 7.151 MB / 1.091 GB, free: 6.633 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.281, allocations: 0 / 1.091 GB, free: 6.633 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/1.284, allocations: 494.6 kB / 1.091 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/1.284, allocations: 282.8 kB / 1.092 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.284, allocations: 49.23 kB / 1.092 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.286, allocations: 3.496 MB / 1.095 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.286, allocations: 2.625 kB / 1.095 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/1.292, allocations: 4.413 MB / 1.099 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003219/1.295, allocations: 0.8485 MB / 1.1 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009898/1.296, allocations: 41.5 kB / 1.1 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.3, allocations: 302.4 kB / 1.1 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/1.3, allocations: 125.4 kB / 1.101 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/1.3, allocations: 88.97 kB / 1.101 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007965/1.308, allocations: 6.17 MB / 1.107 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.51e-07/1.308, allocations: 0 / 1.107 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008828/1.317, allocations: 2.542 MB / 1.109 GB, free: 7.668 MB / 0.7794 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 (174): * Single equations (assignments): 167 * 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 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/1.318, allocations: 0.5917 MB / 1.11 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01054/1.329, allocations: 5.635 MB / 1.115 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.329, allocations: 4 kB / 1.115 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/1.331, allocations: 1.173 MB / 1.116 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01377/1.345, allocations: 3.154 MB / 1.119 GB, free: 15.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/1.363, allocations: 11.61 MB / 1.131 GB, free: 5.273 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003775/1.367, allocations: 3.418 MB / 1.134 GB, free: 1.926 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00633/1.373, allocations: 1.485 MB / 1.136 GB, free: 448 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.374, allocations: 410.2 kB / 1.136 GB, free: 40 kB / 0.795 GB Notification: Performance of SimCode: time 6.62e-07/1.374, allocations: 0 / 1.136 GB, free: 40 kB / 0.795 GB Notification: Performance of Templates: time 0.4384/1.813, allocations: 118.2 MB / 1.251 GB, free: 321.3 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: