Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") translateModel(ThermoPower.Test.GasComponents.TestFanMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestFanMech") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002047/0.002047, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 91.81 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5491/0.5491, allocations: 48.78 MB / 367.9 MB, free: 47.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1746, allocations: 60.25 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.276, allocations: 356.4 MB / 0.8353 GB, free: 36.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/1.277, allocations: 80.73 kB / 0.8354 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5718/1.848, allocations: 97.85 MB / 0.9309 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/1.849, allocations: 0 / 0.9309 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.445e-05/1.849, allocations: 19.14 kB / 0.9309 GB, free: 151.9 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00208/1.851, allocations: 0.9471 MB / 0.9319 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.851, allocations: 8.531 kB / 0.9319 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/1.851, allocations: 99.45 kB / 0.932 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/1.852, allocations: 491.7 kB / 0.9324 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/1.853, allocations: 80.11 kB / 0.9325 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.853, allocations: 54.75 kB / 0.9326 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/1.854, allocations: 0.7121 MB / 0.9333 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/1.854, allocations: 10.03 kB / 0.9333 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.412e-05/1.854, allocations: 31.64 kB / 0.9333 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/1.854, allocations: 12.91 kB / 0.9333 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.856, allocations: 0.5895 MB / 0.9339 GB, free: 150.3 MB / 0.5105 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.005044/1.861, allocations: 2.748 MB / 0.9366 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/1.862, allocations: 433.2 kB / 0.937 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/1.864, allocations: 1.07 MB / 0.938 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/1.864, allocations: 47.12 kB / 0.9381 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 3.447e-06/1.864, allocations: 0 / 0.9381 GB, free: 147.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006446/1.87, allocations: 2.393 MB / 0.9404 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.87, allocations: 112.4 kB / 0.9405 GB, free: 146 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/1.871, allocations: 461.9 kB / 0.941 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/1.871, allocations: 45.56 kB / 0.941 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000199/1.871, allocations: 305.2 kB / 0.9413 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.871, allocations: 178.2 kB / 0.9415 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/1.871, allocations: 12 kB / 0.9415 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.872, allocations: 374.4 kB / 0.9418 GB, free: 145 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/1.872, allocations: 227.2 kB / 0.942 GB, free: 144.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/1.873, allocations: 422.5 kB / 0.9424 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/1.873, allocations: 242.5 kB / 0.9427 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.873, allocations: 3.75 kB / 0.9427 GB, free: 144.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001461/1.874, allocations: 0.8457 MB / 0.9435 GB, free: 144 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004669/1.875, allocations: 2.099 MB / 0.9456 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/1.875, allocations: 7.125 kB / 0.9456 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/1.876, allocations: 418.3 kB / 0.946 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/1.877, allocations: 127.2 kB / 0.9461 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/1.878, allocations: 1.425 MB / 0.9475 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/1.879, allocations: 93.67 kB / 0.9476 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/1.879, allocations: 65.09 kB / 0.9476 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/1.879, allocations: 2.844 kB / 0.9476 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/1.88, allocations: 0.7387 MB / 0.9483 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.88, allocations: 7.859 kB / 0.9484 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005011/1.881, allocations: 272.3 kB / 0.9486 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/1.881, allocations: 145.6 kB / 0.9488 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/1.884, allocations: 2.481 MB / 0.9512 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/1.885, allocations: 87.7 kB / 0.9513 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/1.885, allocations: 32.75 kB / 0.9513 GB, free: 137.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (Clutch1.free,$PRE.Clutch1.startForward,Clutch1.startForward,$PRE.Clutch1.startBackward,Clutch1.startBackward,Clutch1.locked,$PRE.Clutch1.mode,Clutch1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004717/1.885, allocations: 280.2 kB / 0.9516 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.885, allocations: 58.66 kB / 0.9516 GB, free: 137.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/1.887, allocations: 0.7313 MB / 0.9523 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.887, allocations: 7.562 kB / 0.9523 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.887, allocations: 7.875 kB / 0.9523 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.887, allocations: 7.797 kB / 0.9524 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/1.889, allocations: 1.392 MB / 0.9537 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.889, allocations: 0 / 0.9537 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/1.89, allocations: 73.17 kB / 0.9538 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/1.891, allocations: 382.4 kB / 0.9541 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/1.891, allocations: 27.38 kB / 0.9542 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/1.892, allocations: 1.362 MB / 0.9555 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.892, allocations: 128 / 0.9555 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/1.894, allocations: 1.013 MB / 0.9565 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/1.894, allocations: 202.8 kB / 0.9567 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.895, allocations: 19.88 kB / 0.9567 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/1.895, allocations: 72.94 kB / 0.9568 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/1.895, allocations: 79.12 kB / 0.9568 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/1.895, allocations: 58.55 kB / 0.9569 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000451/1.896, allocations: 357.7 kB / 0.9572 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.896, allocations: 0 / 0.9572 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001827/1.898, allocations: 431.2 kB / 0.9577 GB, free: 133.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ConstantSpeed1.phi,Clutch1.phi_rel,Clutch1.w_rel) * Number of discrete variables: 5 (Clutch1.free,Clutch1.startForward,Clutch1.startBackward,Clutch1.locked,Clutch1.mode) * Number of discrete states: 3 (Clutch1.mode,Clutch1.startBackward,Clutch1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007822/1.898, allocations: 353.3 kB / 0.958 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002275/1.901, allocations: 1.139 MB / 0.9591 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.901, allocations: 0 / 0.9591 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/1.901, allocations: 319.7 kB / 0.9594 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.903, allocations: 228.5 kB / 0.9596 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/1.905, allocations: 1.494 MB / 0.9611 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.905, allocations: 0.8865 MB / 0.962 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006513/1.906, allocations: 126.7 kB / 0.9621 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/1.906, allocations: 65.38 kB / 0.9621 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/1.906, allocations: 0 / 0.9621 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.02534/1.931, allocations: 18.23 MB / 0.9799 GB, free: 116.6 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestFanMech -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.pipe 2>&1)