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.001777/0.001777, allocations: 176.3 kB / 17.4 MB, free: 4.426 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.47/1.47, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0008174/0.0008175, allocations: 90.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.474/0.474, allocations: 48.78 MB / 368.9 MB, free: 47.37 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005176, allocations: 19.98 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1516, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.401, allocations: 356.5 MB / 0.8366 GB, free: 35.85 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004001/1.402, allocations: 84.64 kB / 0.8366 GB, free: 35.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5988/2, allocations: 93.91 MB / 0.9284 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.846e-06/2, allocations: 4 kB / 0.9284 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.97e-05/2, allocations: 13.31 kB / 0.9284 GB, free: 152.5 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.003208/2.004, allocations: 0.9384 MB / 0.9293 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/2.004, allocations: 8.75 kB / 0.9293 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009938/2.005, allocations: 105.7 kB / 0.9294 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/2.006, allocations: 0.5045 MB / 0.9299 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/2.007, allocations: 76.17 kB / 0.93 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/2.007, allocations: 52.47 kB / 0.93 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/2.009, allocations: 0.7211 MB / 0.9307 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.663e-05/2.009, allocations: 5.531 kB / 0.9307 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/2.009, allocations: 26.16 kB / 0.9308 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/2.009, allocations: 14.56 kB / 0.9308 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/2.01, allocations: 0.5905 MB / 0.9313 GB, free: 150.9 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.00569/2.016, allocations: 2.753 MB / 0.934 GB, free: 149 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/2.017, allocations: 425.2 kB / 0.9344 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/2.018, allocations: 242.9 kB / 0.9347 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/2.02, allocations: 1.069 MB / 0.9357 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/2.02, allocations: 45.22 kB / 0.9358 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 5.009e-06/2.02, allocations: 0 / 0.9358 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007378/2.028, allocations: 2.443 MB / 0.9381 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/2.028, allocations: 112.8 kB / 0.9382 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/2.029, allocations: 0.5009 MB / 0.9387 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/2.029, allocations: 41.81 kB / 0.9388 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/2.029, allocations: 310.4 kB / 0.9391 GB, free: 146 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/2.03, allocations: 176.8 kB / 0.9392 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/2.03, allocations: 11.91 kB / 0.9393 GB, free: 145.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000248/2.03, allocations: 370.5 kB / 0.9396 GB, free: 145.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006599/2.031, allocations: 234 kB / 0.9398 GB, free: 145.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000853/2.031, allocations: 418.7 kB / 0.9402 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/2.033, allocations: 0.5883 MB / 0.9408 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/2.033, allocations: 1.219 kB / 0.9408 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002384/2.035, allocations: 0.8538 MB / 0.9416 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002614/2.035, allocations: 250.3 kB / 0.9419 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/2.036, allocations: 7.938 kB / 0.9419 GB, free: 144 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/2.037, allocations: 442.4 kB / 0.9423 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/2.038, allocations: 134.1 kB / 0.9424 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/2.04, allocations: 1.419 MB / 0.9438 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/2.041, allocations: 87.75 kB / 0.9439 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/2.041, allocations: 63.89 kB / 0.944 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/2.041, allocations: 3.812 kB / 0.944 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001948/2.043, allocations: 0.7374 MB / 0.9447 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/2.043, allocations: 7.625 kB / 0.9447 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006359/2.044, allocations: 276.3 kB / 0.945 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/2.044, allocations: 152.4 kB / 0.9451 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/2.047, allocations: 2.463 MB / 0.9475 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/2.048, allocations: 80.55 kB / 0.9476 GB, free: 140.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/2.048, allocations: 27.38 kB / 0.9476 GB, free: 140.2 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.0006044/2.049, allocations: 278.5 kB / 0.9479 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/2.049, allocations: 73.41 kB / 0.9479 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/2.051, allocations: 0.7329 MB / 0.9487 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/2.051, allocations: 7.812 kB / 0.9487 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/2.051, allocations: 3.703 kB / 0.9487 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/2.051, allocations: 4 kB / 0.9487 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/2.054, allocations: 1.388 MB / 0.95 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/2.054, allocations: 0 / 0.95 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/2.054, allocations: 81.14 kB / 0.9501 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/2.055, allocations: 372.7 kB / 0.9505 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.89e-05/2.055, allocations: 24.66 kB / 0.9505 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/2.056, allocations: 1.381 MB / 0.9518 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.056, allocations: 0 / 0.9518 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/2.058, allocations: 1.015 MB / 0.9528 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/2.059, allocations: 202.9 kB / 0.953 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/2.059, allocations: 15.86 kB / 0.953 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/2.06, allocations: 78.09 kB / 0.9531 GB, free: 136.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/2.06, allocations: 72.48 kB / 0.9532 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/2.06, allocations: 67.94 kB / 0.9532 GB, free: 136.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004485/2.06, allocations: 353 kB / 0.9536 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.06, allocations: 0 / 0.9536 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001896/2.062, allocations: 426.2 kB / 0.954 GB, free: 136.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.001093/2.063, allocations: 350.6 kB / 0.9543 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002781/2.066, allocations: 1.144 MB / 0.9554 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/2.066, allocations: 3.938 kB / 0.9554 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007441/2.067, allocations: 316 kB / 0.9557 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/2.068, allocations: 245.6 kB / 0.956 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/2.071, allocations: 1.491 MB / 0.9574 GB, free: 134 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/2.071, allocations: 0.8693 MB / 0.9583 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007618/2.072, allocations: 141.3 kB / 0.9584 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/2.072, allocations: 54.77 kB / 0.9585 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/2.072, allocations: 3.938 kB / 0.9585 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.03387/2.106, allocations: 18.42 MB / 0.9765 GB, free: 120.8 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)