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.001166/0.001167, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.00128/0.00128, allocations: 183.4 kB / 17.2 MB, free: 6.34 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.529/1.529, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3067/0.3067, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0007217/0.0007218, allocations: 16.22 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1371, allocations: 60.27 MB / 451.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.4367/0.5739, allocations: 124.4 MB / 0.5623 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.5781, allocations: 2.098 MB / 0.5644 GB, free: 448 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006627/0.5788, allocations: 10.12 kB / 0.5644 GB, free: 444 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008082/0.5797, allocations: 207.6 kB / 0.5646 GB, free: 400 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.5813, allocations: 0.6443 MB / 0.5652 GB, free: 368 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.5832, allocations: 0.6267 MB / 0.5658 GB, free: 340 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.5851, allocations: 1.047 MB / 0.5668 GB, free: 308 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006984/0.5858, allocations: 462.3 kB / 0.5673 GB, free: 272 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.5868, allocations: 0.5867 MB / 0.5679 GB, free: 184 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009965/0.5878, allocations: 0.6251 MB / 0.5685 GB, free: 0 / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.5879, allocations: 35.41 kB / 0.5685 GB, free: 0 / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.59, allocations: 0.7997 MB / 0.5693 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.5902, allocations: 173.3 kB / 0.5694 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.5904, allocations: 155.3 kB / 0.5696 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.5915, allocations: 0.9391 MB / 0.5705 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.5916, allocations: 0 / 0.5705 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5916, allocations: 0 / 0.5705 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.5916, allocations: 4.531 kB / 0.5705 GB, free: 15.35 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.001818/0.5934, allocations: 0.9217 MB / 0.5714 GB, free: 14.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5934, allocations: 8.969 kB / 0.5714 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.5942, allocations: 196.5 kB / 0.5716 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.595, allocations: 454.5 kB / 0.572 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.5951, allocations: 76.52 kB / 0.5721 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.181e-05/0.5952, allocations: 55.22 kB / 0.5722 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5965, allocations: 0.7242 MB / 0.5729 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.5965, allocations: 5.281 kB / 0.5729 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.5966, allocations: 24.38 kB / 0.5729 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5966, allocations: 14.72 kB / 0.5729 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.5977, allocations: 0.6153 MB / 0.5735 GB, free: 13.86 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.004173/0.6019, allocations: 2.876 MB / 0.5763 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007783/0.6027, allocations: 438.4 kB / 0.5768 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.6043, allocations: 1.069 MB / 0.5778 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.6044, allocations: 42.53 kB / 0.5778 GB, free: 10.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 2.395e-06/0.6044, allocations: 0 / 0.5778 GB, free: 10.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.006057/0.6105, allocations: 2.484 MB / 0.5803 GB, free: 9.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.6105, allocations: 111.9 kB / 0.5804 GB, free: 9.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006013/0.6112, allocations: 0.511 MB / 0.5809 GB, free: 9.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.6112, allocations: 38.39 kB / 0.5809 GB, free: 9.508 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.6115, allocations: 317.6 kB / 0.5812 GB, free: 9.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.6116, allocations: 174.1 kB / 0.5814 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.6117, allocations: 15.67 kB / 0.5814 GB, free: 9.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6118, allocations: 365.8 kB / 0.5817 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.6123, allocations: 239.3 kB / 0.582 GB, free: 8.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.6129, allocations: 434.6 kB / 0.5824 GB, free: 8.562 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.6134, allocations: 257.6 kB / 0.5826 GB, free: 8.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6134, allocations: 2.062 kB / 0.5826 GB, free: 8.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00169/0.6151, allocations: 0.8991 MB / 0.5835 GB, free: 8.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009065/0.616, allocations: 2.093 MB / 0.5855 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.616, allocations: 5.5 kB / 0.5856 GB, free: 6.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.6178, allocations: 0.4895 MB / 0.586 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.6183, allocations: 131.8 kB / 0.5862 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.6198, allocations: 1.451 MB / 0.5876 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007745/0.6206, allocations: 89.38 kB / 0.5877 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.6207, allocations: 82.06 kB / 0.5877 GB, free: 4.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.6207, allocations: 2.5 kB / 0.5877 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/0.6223, allocations: 0.7588 MB / 0.5885 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.6224, allocations: 5.969 kB / 0.5885 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005806/0.623, allocations: 338.1 kB / 0.5888 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.6235, allocations: 150.8 kB / 0.589 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.6263, allocations: 2.504 MB / 0.5914 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.627, allocations: 85.69 kB / 0.5915 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.6271, allocations: 31.73 kB / 0.5915 GB, free: 2.438 MB / 430.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.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): 63 * 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 6,3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004479/0.6275, allocations: 270.7 kB / 0.5918 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6277, allocations: 68.89 kB / 0.5918 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.6293, allocations: 0.7417 MB / 0.5926 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.6293, allocations: 4.875 kB / 0.5926 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.6293, allocations: 5.844 kB / 0.5926 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6293, allocations: 3.984 kB / 0.5926 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.6318, allocations: 1.431 MB / 0.594 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6318, allocations: 4 kB / 0.594 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.6322, allocations: 75.77 kB / 0.594 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001178/0.6334, allocations: 433.6 kB / 0.5945 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.6334, allocations: 18.02 kB / 0.5945 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.6347, allocations: 1.419 MB / 0.5959 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6347, allocations: 0 / 0.5959 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.6366, allocations: 1.038 MB / 0.5969 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.637, allocations: 202.5 kB / 0.5971 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.6371, allocations: 16.64 kB / 0.5971 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/0.6377, allocations: 73.97 kB / 0.5972 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.6379, allocations: 82.05 kB / 0.5972 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.638, allocations: 79.11 kB / 0.5973 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000489/0.6385, allocations: 355.3 kB / 0.5976 GB, free: 15.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6385, allocations: 0 / 0.5976 GB, free: 15.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00172/0.6402, allocations: 391.8 kB / 0.598 GB, free: 15.42 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 (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.0005299/0.6408, allocations: 230.4 kB / 0.5982 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.6431, allocations: 1.145 MB / 0.5994 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6431, allocations: 0 / 0.5994 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007187/0.6438, allocations: 317.8 kB / 0.5997 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.645, allocations: 224.3 kB / 0.5999 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.6472, allocations: 1.488 MB / 0.6013 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.6477, allocations: 0.8898 MB / 0.6022 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00061/0.6483, allocations: 137.8 kB / 0.6023 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.6485, allocations: 56.66 kB / 0.6024 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.863e-06/0.6485, allocations: 0 / 0.6024 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Templates: time 0.0259/0.6744, allocations: 16.83 MB / 0.6188 GB, free: 14.77 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: