Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008427/0.0008427, allocations: 99.86 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.0009221/0.0009222, allocations: 177.3 kB / 15.94 MB, free: 228 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.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8185/0.8185, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002889, allocations: 8.625 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 82.31 MB / 0.5872 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 0.813/0.9596, allocations: 300.6 MB / 0.8807 GB, free: 9.488 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04472/1.004, allocations: 42.45 MB / 0.9222 GB, free: 9.082 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00611/1.01, allocations: 146.8 kB / 0.9223 GB, free: 9.082 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008057/1.019, allocations: 2.456 MB / 0.9247 GB, free: 9.074 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0217/1.04, allocations: 7.722 MB / 0.9323 GB, free: 8.973 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/1.051, allocations: 3.88 MB / 0.9361 GB, free: 8.914 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01484/1.066, allocations: 7.521 MB / 0.9434 GB, free: 8.898 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/1.072, allocations: 3.436 MB / 0.9468 GB, free: 8.512 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01421/1.086, allocations: 5.33 MB / 0.952 GB, free: 7.848 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005724/1.092, allocations: 2.753 MB / 0.9547 GB, free: 7.355 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/1.094, allocations: 235.8 kB / 0.9549 GB, free: 7.355 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009164/1.103, allocations: 2.929 MB / 0.9578 GB, free: 6.926 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002854/1.106, allocations: 2.037 MB / 0.9597 GB, free: 6.375 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002612/1.108, allocations: 1.355 MB / 0.9611 GB, free: 6.344 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/1.118, allocations: 8.219 MB / 0.9691 GB, free: 2.02 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.118, allocations: 0 / 0.9691 GB, free: 2.02 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.174e-06/1.118, allocations: 4 kB / 0.9691 GB, free: 2.016 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002324/1.119, allocations: 0 / 0.9691 GB, free: 2.016 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.014/1.133, allocations: 6.874 MB / 0.9758 GB, free: 14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.133, allocations: 12.38 kB / 0.9758 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/1.141, allocations: 1.452 MB / 0.9772 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/1.157, allocations: 10.93 MB / 0.9879 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/1.157, allocations: 249.5 kB / 0.9881 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005944/1.158, allocations: 350.7 kB / 0.9885 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/1.164, allocations: 3.896 MB / 0.9923 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.285e-05/1.164, allocations: 6.625 kB / 0.9923 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/1.164, allocations: 130 kB / 0.9924 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.319e-05/1.164, allocations: 108.2 kB / 0.9925 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004509/1.169, allocations: 2.807 MB / 0.9953 GB, free: 5.562 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.02403/1.193, allocations: 17.96 MB / 1.013 GB, free: 6.617 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/1.196, allocations: 2.147 MB / 1.015 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/1.196, allocations: 48.77 kB / 1.015 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/1.199, allocations: 1.598 MB / 1.017 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00221/1.201, allocations: 386.1 kB / 1.017 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=176): time 4.869e-06/1.201, allocations: 0 / 1.017 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=176): time 0.006802/1.208, allocations: 3.651 MB / 1.02 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.208, allocations: 75.36 kB / 1.021 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009801/1.217, allocations: 8.556 MB / 1.029 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005427/1.218, allocations: 79.39 kB / 1.029 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/1.22, allocations: 2.664 MB / 1.032 GB, free: 9.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007894/1.221, allocations: 0.6098 MB / 1.032 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.221, allocations: 51.08 kB / 1.032 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.221, allocations: 424.4 kB / 1.033 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/1.223, allocations: 1.249 MB / 1.034 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/1.225, allocations: 2.437 MB / 1.036 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/1.227, allocations: 1.593 MB / 1.038 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.228, allocations: 8 kB / 1.038 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.006073/1.234, allocations: 4.241 MB / 1.042 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.004705/1.238, allocations: 15.06 MB / 1.057 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.744e-05/1.238, allocations: 32 kB / 1.057 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009162/1.239, allocations: 282.9 kB / 1.057 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/1.243, allocations: 0.6458 MB / 1.058 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/1.246, allocations: 3.753 MB / 1.061 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004723/1.25, allocations: 320.9 kB / 1.062 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/1.251, allocations: 240.5 kB / 1.062 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.251, allocations: 0 / 1.062 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006678/1.258, allocations: 4.606 MB / 1.066 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.058e-05/1.258, allocations: 32.03 kB / 1.066 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/1.259, allocations: 0.6652 MB / 1.067 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/1.262, allocations: 0.637 MB / 1.068 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.272, allocations: 8.692 MB / 1.076 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/1.277, allocations: 322.9 kB / 1.076 GB, free: 1.406 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/1.277, allocations: 203.3 kB / 1.077 GB, free: 1.227 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.002733/1.28, allocations: 1.532 MB / 1.078 GB, free: 336 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.281, allocations: 0.5237 MB / 1.079 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/1.286, allocations: 2.914 MB / 1.081 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.286, allocations: 16 kB / 1.081 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.286, allocations: 4 kB / 1.081 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00334/1.289, allocations: 2.465 MB / 1.084 GB, free: 11.86 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.01134/1.301, allocations: 7.134 MB / 1.091 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.301, allocations: 0 / 1.091 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.303, allocations: 0.4949 MB / 1.091 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005573/1.303, allocations: 263.3 kB / 1.092 GB, free: 6.203 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/1.303, allocations: 63.41 kB / 1.092 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/1.305, allocations: 3.491 MB / 1.095 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.305, allocations: 7 kB / 1.095 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005853/1.311, allocations: 4.409 MB / 1.099 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/1.313, allocations: 0.8488 MB / 1.1 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006337/1.314, allocations: 47.25 kB / 1.1 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/1.316, allocations: 300 kB / 1.1 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.317, allocations: 123.5 kB / 1.101 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.317, allocations: 89.59 kB / 1.101 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007641/1.324, allocations: 6.164 MB / 1.107 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.21e-07/1.325, allocations: 4 kB / 1.107 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008765/1.333, allocations: 2.541 MB / 1.109 GB, free: 7.91 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.001391/1.335, allocations: 0.601 MB / 1.11 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009919/1.345, allocations: 5.63 MB / 1.115 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.345, allocations: 8.125 kB / 1.115 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/1.347, allocations: 1.168 MB / 1.116 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01195/1.359, allocations: 3.158 MB / 1.119 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.374, allocations: 11.61 MB / 1.131 GB, free: 5.398 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003044/1.377, allocations: 3.42 MB / 1.134 GB, free: 1.945 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006103/1.383, allocations: 1.481 MB / 1.136 GB, free: 472 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/1.384, allocations: 407.4 kB / 1.136 GB, free: 64 kB / 0.795 GB Notification: Performance of SimCode: time 9.51e-07/1.384, allocations: 0 / 1.136 GB, free: 64 kB / 0.795 GB Notification: Performance of Templates: time 0.4334/1.818, allocations: 118.2 MB / 1.251 GB, free: 322.4 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1) Environment - environmentSimulation: