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/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 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 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.00131, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001832/0.001832, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2718/0.2718, allocations: 48.79 MB / 320.8 MB, free: 11.1 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005758/0.0005759, allocations: 13.09 kB / 391.8 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1049, allocations: 60.27 MB / 452.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.3703/0.4752, allocations: 142.9 MB / 0.581 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.4794, allocations: 2.282 MB / 0.5833 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006904/0.4801, allocations: 9.406 kB / 0.5833 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.4809, allocations: 209.7 kB / 0.5835 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.4828, allocations: 0.9056 MB / 0.5844 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.4847, allocations: 0.9323 MB / 0.5853 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.4866, allocations: 1.97 MB / 0.5872 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.4872, allocations: 476.2 kB / 0.5876 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008602/0.4881, allocations: 0.6234 MB / 0.5883 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009334/0.489, allocations: 0.7994 MB / 0.589 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.4891, allocations: 35.5 kB / 0.5891 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.4908, allocations: 1.115 MB / 0.5902 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.491, allocations: 175.2 kB / 0.5903 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.4915, allocations: 402.6 kB / 0.5907 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.4928, allocations: 1.2 MB / 0.5919 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4928, allocations: 0 / 0.5919 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4928, allocations: 4 kB / 0.5919 GB, free: 12.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.4928, allocations: 0 / 0.5919 GB, free: 12.09 MB / 430.1 MB 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.001751/0.4946, allocations: 0.9189 MB / 0.5928 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4947, allocations: 7.75 kB / 0.5928 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005842/0.4953, allocations: 107.1 kB / 0.5929 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.4959, allocations: 464.2 kB / 0.5933 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.4961, allocations: 80.19 kB / 0.5934 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4962, allocations: 62.02 kB / 0.5935 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.4974, allocations: 0.7301 MB / 0.5942 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.4975, allocations: 6.594 kB / 0.5942 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/0.4976, allocations: 24.28 kB / 0.5942 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4976, allocations: 13.28 kB / 0.5942 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.4987, allocations: 0.6187 MB / 0.5948 GB, free: 10.61 MB / 430.1 MB 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.004023/0.5027, allocations: 2.884 MB / 0.5976 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008945/0.5036, allocations: 436.7 kB / 0.5981 GB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.5042, allocations: 242.7 kB / 0.5983 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/0.506, allocations: 1.08 MB / 0.5994 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.506, allocations: 40.09 kB / 0.5994 GB, free: 7.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.506, allocations: 3.938 kB / 0.5994 GB, free: 7.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.006514/0.5125, allocations: 2.507 MB / 0.6018 GB, free: 5.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.5126, allocations: 116.1 kB / 0.602 GB, free: 5.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.5132, allocations: 0.5147 MB / 0.6025 GB, free: 5.117 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.666e-05/0.5133, allocations: 38.83 kB / 0.6025 GB, free: 5.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.5135, allocations: 312.7 kB / 0.6028 GB, free: 4.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.5137, allocations: 176.6 kB / 0.603 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.5138, allocations: 57.75 kB / 0.603 GB, free: 4.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.514, allocations: 368.1 kB / 0.6034 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.5145, allocations: 249.9 kB / 0.6036 GB, free: 4.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.5152, allocations: 435.5 kB / 0.604 GB, free: 3.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.5163, allocations: 0.6166 MB / 0.6046 GB, free: 3.352 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5163, allocations: 0 / 0.6046 GB, free: 3.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001758/0.5181, allocations: 0.8998 MB / 0.6055 GB, free: 2.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.5182, allocations: 252.8 kB / 0.6057 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5182, allocations: 5.219 kB / 0.6057 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.52, allocations: 495.2 kB / 0.6062 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.5206, allocations: 138.5 kB / 0.6064 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5221, allocations: 1.459 MB / 0.6078 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/0.5228, allocations: 85.66 kB / 0.6079 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.867e-05/0.5229, allocations: 80.08 kB / 0.6079 GB, free: 1.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.5229, allocations: 6.906 kB / 0.6079 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001693/0.5246, allocations: 0.7685 MB / 0.6087 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5247, allocations: 5.844 kB / 0.6087 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/0.5253, allocations: 328.4 kB / 0.609 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.5259, allocations: 151 kB / 0.6092 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.5287, allocations: 2.491 MB / 0.6116 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006485/0.5294, allocations: 82.23 kB / 0.6117 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.5295, allocations: 29.75 kB / 0.6117 GB, free: 14.16 MB / 446.1 MB 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.mode,$PRE.Clutch1.mode,Clutch1.locked,Clutch1.startBackward,$PRE.Clutch1.startBackward,Clutch1.startForward,$PRE.Clutch1.startForward,Clutch1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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), (3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004311/0.5299, allocations: 278.3 kB / 0.612 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.53, allocations: 60 kB / 0.612 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.5319, allocations: 0.7519 MB / 0.6127 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.5319, allocations: 5.719 kB / 0.6128 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.5319, allocations: 4 kB / 0.6128 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5319, allocations: 3.984 kB / 0.6128 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.5346, allocations: 1.432 MB / 0.6142 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5346, allocations: 0 / 0.6142 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.535, allocations: 80.91 kB / 0.6142 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/0.5363, allocations: 435.5 kB / 0.6147 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.5364, allocations: 26.92 kB / 0.6147 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.5379, allocations: 1.413 MB / 0.6161 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5379, allocations: 4.125 kB / 0.6161 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.5401, allocations: 1.035 MB / 0.6171 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.5405, allocations: 204.3 kB / 0.6173 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5406, allocations: 12 kB / 0.6173 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.5412, allocations: 79.88 kB / 0.6174 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.5414, allocations: 76.25 kB / 0.6174 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.5415, allocations: 79.83 kB / 0.6175 GB, free: 9.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004332/0.5419, allocations: 358.8 kB / 0.6178 GB, free: 9.027 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5419, allocations: 0 / 0.6178 GB, free: 9.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001312/0.5432, allocations: 391.9 kB / 0.6182 GB, free: 8.645 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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,5), (1,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007138/0.544, allocations: 249.2 kB / 0.6185 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.5465, allocations: 1.136 MB / 0.6196 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5465, allocations: 384 / 0.6196 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.5473, allocations: 323.3 kB / 0.6199 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.5487, allocations: 230.8 kB / 0.6201 GB, free: 6.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.5511, allocations: 1.58 MB / 0.6216 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.5516, allocations: 0.8798 MB / 0.6225 GB, free: 4.207 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006306/0.5522, allocations: 128.9 kB / 0.6226 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.5524, allocations: 55.42 kB / 0.6227 GB, free: 4.027 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5524, allocations: 0 / 0.6227 GB, free: 4.027 MB / 446.1 MB Notification: Performance of Templates: time 0.02813/0.5805, allocations: 17.25 MB / 0.6395 GB, free: 2.762 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: