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.001292/0.001292, allocations: 105.3 kB / 17.74 MB, free: 5.34 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.001343/0.001343, allocations: 190.5 kB / 18.67 MB, free: 4.418 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.318/1.318, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2644/0.2644, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001563/0.001563, allocations: 71.89 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 59.16 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.3617/0.4654, allocations: 146.8 MB / 0.6417 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.4693, allocations: 2.234 MB / 0.6439 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.4698, allocations: 15.88 kB / 0.6439 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.4707, allocations: 258.2 kB / 0.6442 GB, free: 4.895 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo:1971:21-1973:11:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo:1763:7-1763:51:writable] Warning: Output parameter H was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo:1945:7-1963:35:writable] Warning: Pure function 'ThermoPower.Functions.FanCharacteristics.Utilities.quadraticFlowBladesCoeff' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeBindings: time 0.001723/0.4725, allocations: 0.9492 MB / 0.6451 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.4745, allocations: 0.9917 MB / 0.6461 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.4762, allocations: 1.601 MB / 0.6476 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006756/0.4769, allocations: 0.5263 MB / 0.6482 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008448/0.4777, allocations: 0.7088 MB / 0.6489 GB, free: 100 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009004/0.4786, allocations: 0.8178 MB / 0.6497 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.4788, allocations: 72 kB / 0.6497 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.4803, allocations: 1.143 MB / 0.6508 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.4805, allocations: 207.3 kB / 0.651 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.4809, allocations: 418.1 kB / 0.6514 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4823, allocations: 1.23 MB / 0.6526 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4824, allocations: 7.938 kB / 0.6526 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4824, allocations: 0 / 0.6526 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.4824, allocations: 0 / 0.6526 GB, free: 12.21 MB / 0.4981 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.001796/0.4842, allocations: 1.061 MB / 0.6537 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4842, allocations: 11.89 kB / 0.6537 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005356/0.4848, allocations: 104 kB / 0.6538 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/0.4855, allocations: 481.7 kB / 0.6542 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.439e-05/0.4856, allocations: 79.7 kB / 0.6543 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.4857, allocations: 55.94 kB / 0.6544 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.487, allocations: 0.7309 MB / 0.6551 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.487, allocations: 4 kB / 0.6551 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.4871, allocations: 20 kB / 0.6551 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.4871, allocations: 16 kB / 0.6551 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.4883, allocations: 0.6024 MB / 0.6557 GB, free: 8.93 MB / 0.4981 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.004104/0.4924, allocations: 2.848 MB / 0.6585 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000864/0.4933, allocations: 420.6 kB / 0.6589 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.4938, allocations: 242.8 kB / 0.6591 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.4953, allocations: 1.068 MB / 0.6602 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4954, allocations: 39 kB / 0.6602 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.4954, allocations: 0 / 0.6602 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51): time 0.006153/0.5015, allocations: 2.415 MB / 0.6626 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.5016, allocations: 111.2 kB / 0.6627 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.5022, allocations: 0.5183 MB / 0.6632 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.5023, allocations: 41.69 kB / 0.6632 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5025, allocations: 312.2 kB / 0.6635 GB, free: 460 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.5027, allocations: 181.5 kB / 0.6637 GB, free: 276 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.5029, allocations: 146.5 kB / 0.6638 GB, free: 124 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5031, allocations: 362.8 kB / 0.6642 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.5036, allocations: 248.7 kB / 0.6644 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.5043, allocations: 440.7 kB / 0.6648 GB, free: 15 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.5053, allocations: 0.5966 MB / 0.6654 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5053, allocations: 2.5 kB / 0.6654 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001777/0.5071, allocations: 0.8938 MB / 0.6663 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5071, allocations: 8.625 kB / 0.6663 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5072, allocations: 7.938 kB / 0.6663 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/0.5089, allocations: 0.4896 MB / 0.6668 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.5094, allocations: 123.8 kB / 0.6669 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.511, allocations: 1.468 MB / 0.6683 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.5116, allocations: 51.95 kB / 0.6684 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5117, allocations: 79.84 kB / 0.6685 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006529/0.5124, allocations: 354 kB / 0.6688 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006017/0.513, allocations: 423.2 kB / 0.6692 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009276/0.5139, allocations: 0.5709 MB / 0.6698 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.5139, allocations: 0 / 0.6698 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001756/0.5157, allocations: 0.8395 MB / 0.6706 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5157, allocations: 8.281 kB / 0.6706 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5157, allocations: 13.7 kB / 0.6706 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/0.5164, allocations: 321.5 kB / 0.6709 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.517, allocations: 147.7 kB / 0.6711 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/0.5199, allocations: 2.649 MB / 0.6736 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.5204, allocations: 55.95 kB / 0.6737 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.5205, allocations: 27.98 kB / 0.6737 GB, free: 5.414 MB / 0.5137 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.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.0002515/0.5208, allocations: 228 kB / 0.6739 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.5209, allocations: 67.25 kB / 0.674 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.5227, allocations: 0.7341 MB / 0.6747 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5227, allocations: 0 / 0.6747 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5227, allocations: 0 / 0.6747 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.523, allocations: 204.2 kB / 0.6749 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.5231, allocations: 15.94 kB / 0.6749 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.5237, allocations: 47.94 kB / 0.675 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.5239, allocations: 76.33 kB / 0.675 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002175/0.526, allocations: 0.7716 MB / 0.6758 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001616/0.5277, allocations: 0.939 MB / 0.6767 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004484/0.5281, allocations: 203.4 kB / 0.6769 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004242/0.5286, allocations: 362.8 kB / 0.6773 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of Backend: time 4.71e-07/0.5286, allocations: 0 / 0.6773 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003152/0.5317, allocations: 1.176 MB / 0.6784 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00277/0.5345, allocations: 1.893 MB / 0.6803 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.03016/0.5647, allocations: 19.38 MB / 0.6992 GB, free: 11.17 MB / 0.545 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)