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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001032/0.001032, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006679/0.006679, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7757/0.7757, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.000389, allocations: 12 kB / 0.504 GB, free: 3.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.498, allocations: 81.58 MB / 0.5837 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine): time 0.8143/1.312, allocations: 365.9 MB / 0.941 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06869/1.381, allocations: 47.41 MB / 0.9873 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01045/1.392, allocations: 164.9 kB / 0.9874 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00976/1.401, allocations: 2.607 MB / 0.99 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.03/1.431, allocations: 8.362 MB / 0.9982 GB, free: 9.355 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01371/1.445, allocations: 3.881 MB / 1.002 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02679/1.472, allocations: 17.72 MB / 1.019 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009209/1.481, allocations: 3.802 MB / 1.023 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01875/1.5, allocations: 6.462 MB / 1.029 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/1.511, allocations: 4.187 MB / 1.033 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002124/1.513, allocations: 236 kB / 1.034 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01726/1.531, allocations: 7.494 MB / 1.041 GB, free: 8 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004454/1.535, allocations: 2.264 MB / 1.043 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.008733/1.544, allocations: 3.199 MB / 1.046 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02641/1.57, allocations: 11.73 MB / 1.058 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.57, allocations: 4 kB / 1.058 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.294e-06/1.57, allocations: 0 / 1.058 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004297/1.571, allocations: 0 / 1.058 GB, free: 15.35 MB / 0.7325 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.0187/1.589, allocations: 6.807 MB / 1.064 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.589, allocations: 8.031 kB / 1.064 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00968/1.599, allocations: 1.442 MB / 1.066 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/1.613, allocations: 6.103 MB / 1.072 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/1.614, allocations: 253.8 kB / 1.072 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/1.615, allocations: 339.5 kB / 1.072 GB, free: 408 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008998/1.624, allocations: 4.119 MB / 1.076 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/1.624, allocations: 7.938 kB / 1.076 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005608/1.625, allocations: 124 kB / 1.076 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/1.625, allocations: 113.6 kB / 1.077 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005894/1.631, allocations: 3.032 MB / 1.08 GB, free: 8.895 MB / 0.7481 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.02912/1.66, allocations: 17.95 MB / 1.097 GB, free: 5.891 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004333/1.664, allocations: 2.351 MB / 1.099 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.666, allocations: 1.272 MB / 1.101 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003712/1.667, allocations: 234 kB / 1.101 GB, free: 2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002635/1.669, allocations: 1.811 MB / 1.103 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.3817/2.051, allocations: 356.8 kB / 1.103 GB, free: 328.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=176): time 1.428e-05/2.051, allocations: 0 / 1.103 GB, free: 328.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=176): time 0.01093/2.062, allocations: 3.982 MB / 1.107 GB, free: 328 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/2.062, allocations: 76.78 kB / 1.107 GB, free: 328 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/2.075, allocations: 5.731 MB / 1.112 GB, free: 326 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0008917/2.076, allocations: 82.25 kB / 1.113 GB, free: 325.9 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.003429/2.079, allocations: 2.626 MB / 1.115 GB, free: 324 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001336/2.081, allocations: 0.6112 MB / 1.116 GB, free: 323.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005498/2.081, allocations: 287.2 kB / 1.116 GB, free: 323.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/2.081, allocations: 304.9 kB / 1.116 GB, free: 323.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/2.085, allocations: 2.02 MB / 1.118 GB, free: 322.4 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003703/2.088, allocations: 3.179 MB / 1.121 GB, free: 320.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007384/2.096, allocations: 5.195 MB / 1.126 GB, free: 317.4 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-05/2.096, allocations: 8.688 kB / 1.126 GB, free: 317.4 MB / 0.7637 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.01121/2.107, allocations: 5.985 MB / 1.132 GB, free: 315 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007964/2.108, allocations: 1.026 MB / 1.133 GB, free: 313.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.181e-05/2.108, allocations: 35.92 kB / 1.133 GB, free: 313.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/2.109, allocations: 0.5861 MB / 1.134 GB, free: 313.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/2.112, allocations: 0.6392 MB / 1.135 GB, free: 313.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/2.115, allocations: 3.775 MB / 1.138 GB, free: 310.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/2.121, allocations: 315.5 kB / 1.138 GB, free: 310.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006423/2.122, allocations: 211.1 kB / 1.139 GB, free: 310.2 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/2.122, allocations: 3.844 kB / 1.139 GB, free: 310.2 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008901/2.131, allocations: 4.852 MB / 1.143 GB, free: 308.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/2.131, allocations: 29.19 kB / 1.143 GB, free: 308.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/2.133, allocations: 0.6834 MB / 1.144 GB, free: 307.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/2.135, allocations: 0.6257 MB / 1.145 GB, free: 307.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/2.147, allocations: 8.777 MB / 1.153 GB, free: 301.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/2.153, allocations: 309.4 kB / 1.154 GB, free: 300.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009137/2.154, allocations: 200 kB / 1.154 GB, free: 300.7 MB / 0.7637 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (320): * Single equations (assignments): 310 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.005083/2.159, allocations: 1.524 MB / 1.155 GB, free: 299.2 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001914/2.161, allocations: 0.5128 MB / 1.156 GB, free: 298.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007005/2.168, allocations: 3.069 MB / 1.159 GB, free: 295.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/2.168, allocations: 23.94 kB / 1.159 GB, free: 295.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/2.168, allocations: 0 / 1.159 GB, free: 295.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00391/2.172, allocations: 2.685 MB / 1.161 GB, free: 292.8 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.01826/2.19, allocations: 7.348 MB / 1.169 GB, free: 285.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/2.19, allocations: 4 kB / 1.169 GB, free: 285.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/2.192, allocations: 490.6 kB / 1.169 GB, free: 284.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006379/2.193, allocations: 282.9 kB / 1.169 GB, free: 284.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/2.193, allocations: 55.92 kB / 1.169 GB, free: 284.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/2.195, allocations: 3.532 MB / 1.173 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/2.195, allocations: 4.031 kB / 1.173 GB, free: 280.9 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007/2.202, allocations: 4.499 MB / 1.177 GB, free: 276.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002721/2.205, allocations: 0.8065 MB / 1.178 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/2.207, allocations: 40 kB / 1.178 GB, free: 275.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004013/2.211, allocations: 299.1 kB / 1.178 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/2.211, allocations: 121.8 kB / 1.178 GB, free: 275.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/2.211, allocations: 79.97 kB / 1.179 GB, free: 275 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.008187/2.219, allocations: 3.933 MB / 1.182 GB, free: 271.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 6.51e-07/2.219, allocations: 0 / 1.182 GB, free: 271.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.01257/2.232, allocations: 2.53 MB / 1.185 GB, free: 268.6 MB / 0.7637 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 (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/2.234, allocations: 0.5929 MB / 1.185 GB, free: 268.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01345/2.248, allocations: 6.613 MB / 1.192 GB, free: 261.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/2.248, allocations: 0 / 1.192 GB, free: 261.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002912/2.251, allocations: 1.286 MB / 1.193 GB, free: 260.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01942/2.27, allocations: 3.147 MB / 1.196 GB, free: 257.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/2.29, allocations: 12.23 MB / 1.208 GB, free: 244.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004793/2.295, allocations: 3.303 MB / 1.211 GB, free: 241.6 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.008011/2.303, allocations: 1.402 MB / 1.213 GB, free: 240.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/2.304, allocations: 359.4 kB / 1.213 GB, free: 239.9 MB / 0.7637 GB Notification: Performance of SimCode: time 9.22e-07/2.304, allocations: 0 / 1.213 GB, free: 239.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.1879/2.492, allocations: 120 MB / 1.33 GB, free: 121 MB / 0.7637 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)