Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestFanMech.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 187.1 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008612, allocations: 99.38 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4061/0.4061, allocations: 48.79 MB / 394.3 MB, free: 33.56 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003436, allocations: 11.98 kB / 468.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2924, allocations: 63.07 MB / 0.5187 GB, free: 37.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.1335/0.426, allocations: 135.5 MB / 0.651 GB, free: 15.16 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.4303, allocations: 3.368 MB / 0.6543 GB, free: 11.51 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.4309, allocations: 11.94 kB / 0.6543 GB, free: 11.5 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.4317, allocations: 218.7 kB / 0.6545 GB, free: 11.29 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.4334, allocations: 0.903 MB / 0.6554 GB, free: 10.38 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.4353, allocations: 0.9319 MB / 0.6563 GB, free: 9.445 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002107/0.4374, allocations: 1.976 MB / 0.6582 GB, free: 7.461 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.4382, allocations: 463.5 kB / 0.6587 GB, free: 7 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.4394, allocations: 0.6384 MB / 0.6593 GB, free: 6.359 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.4405, allocations: 0.7982 MB / 0.6601 GB, free: 5.559 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4407, allocations: 36 kB / 0.6601 GB, free: 5.523 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.4424, allocations: 1.1 MB / 0.6612 GB, free: 4.422 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.4426, allocations: 167.4 kB / 0.6613 GB, free: 4.258 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.4432, allocations: 407.8 kB / 0.6617 GB, free: 3.852 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.4447, allocations: 1.202 MB / 0.6629 GB, free: 2.648 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4448, allocations: 4 kB / 0.6629 GB, free: 2.645 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4448, allocations: 4 kB / 0.6629 GB, free: 2.641 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.4448, allocations: 0 / 0.6629 GB, free: 2.641 MB / 474.7 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.001821/0.4466, allocations: 0.9098 MB / 0.6638 GB, free: 1.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4467, allocations: 13.11 kB / 0.6638 GB, free: 1.668 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.4473, allocations: 108.1 kB / 0.6639 GB, free: 1.562 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.448, allocations: 477.6 kB / 0.6644 GB, free: 1.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.804e-05/0.4481, allocations: 83.31 kB / 0.6645 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4482, allocations: 59.91 kB / 0.6645 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4495, allocations: 0.727 MB / 0.6652 GB, free: 156 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.4495, allocations: 0 / 0.6652 GB, free: 156 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.4496, allocations: 31.98 kB / 0.6653 GB, free: 124 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.4497, allocations: 15.98 kB / 0.6653 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.4509, allocations: 0.614 MB / 0.6659 GB, free: 15.49 MB / 490.7 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.004303/0.4552, allocations: 2.871 MB / 0.6687 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008551/0.4561, allocations: 428.6 kB / 0.6691 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.4566, allocations: 242.1 kB / 0.6693 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.4582, allocations: 1.083 MB / 0.6704 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.4582, allocations: 39 kB / 0.6704 GB, free: 10.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 1.903e-06/0.4582, allocations: 0 / 0.6704 GB, free: 10.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.006199/0.4644, allocations: 2.485 MB / 0.6728 GB, free: 7.906 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.4645, allocations: 119.2 kB / 0.6729 GB, free: 7.766 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.4651, allocations: 0.5143 MB / 0.6734 GB, free: 7.242 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.541e-05/0.4652, allocations: 41.69 kB / 0.6735 GB, free: 7.195 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.4654, allocations: 312.2 kB / 0.6738 GB, free: 6.887 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.4656, allocations: 169.6 kB / 0.6739 GB, free: 6.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.4656, allocations: 16 kB / 0.674 GB, free: 6.703 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4658, allocations: 370.7 kB / 0.6743 GB, free: 6.332 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.4663, allocations: 245.9 kB / 0.6745 GB, free: 6.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/0.4669, allocations: 442.7 kB / 0.675 GB, free: 5.582 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.468, allocations: 0.6123 MB / 0.6756 GB, free: 4.895 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.468, allocations: 0 / 0.6756 GB, free: 4.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001813/0.4698, allocations: 0.9099 MB / 0.6765 GB, free: 3.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.47, allocations: 247.1 kB / 0.6767 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.47, allocations: 8 kB / 0.6767 GB, free: 3.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.4718, allocations: 0.4896 MB / 0.6772 GB, free: 3.148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.4723, allocations: 135.8 kB / 0.6773 GB, free: 3.016 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.4737, allocations: 1.452 MB / 0.6787 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.4743, allocations: 83.94 kB / 0.6788 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4744, allocations: 83.98 kB / 0.6789 GB, free: 1.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.4744, allocations: 4 kB / 0.6789 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/0.4761, allocations: 0.7643 MB / 0.6796 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4761, allocations: 7.938 kB / 0.6796 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.4767, allocations: 321.8 kB / 0.68 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.4773, allocations: 151.8 kB / 0.6801 GB, free: 96 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.193/0.6703, allocations: 2.484 MB / 0.6825 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.671, allocations: 79.08 kB / 0.6826 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.6711, allocations: 37.62 kB / 0.6826 GB, free: 142 MB / 490.7 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 (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.0003104/0.6714, allocations: 274 kB / 0.6829 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6715, allocations: 68.59 kB / 0.683 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.6732, allocations: 0.7436 MB / 0.6837 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.6733, allocations: 4.906 kB / 0.6837 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6733, allocations: 1.609 kB / 0.6837 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6733, allocations: 2.438 kB / 0.6837 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.6757, allocations: 1.424 MB / 0.6851 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6757, allocations: 6.453 kB / 0.6851 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.6761, allocations: 77.95 kB / 0.6852 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.6773, allocations: 430.1 kB / 0.6856 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.6773, allocations: 20.08 kB / 0.6856 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009388/0.6783, allocations: 1.414 MB / 0.687 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6783, allocations: 0 / 0.687 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.68, allocations: 1.033 MB / 0.688 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.6803, allocations: 208.9 kB / 0.6882 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6804, allocations: 13.78 kB / 0.6882 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.681, allocations: 77.11 kB / 0.6883 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.6811, allocations: 77.31 kB / 0.6883 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.6812, allocations: 78.23 kB / 0.6884 GB, free: 139.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003412/0.6816, allocations: 355.5 kB / 0.6888 GB, free: 139 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6816, allocations: 2.719 kB / 0.6888 GB, free: 139 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00106/0.6826, allocations: 393.7 kB / 0.6891 GB, free: 138.9 MB / 490.7 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.0005392/0.6832, allocations: 239.9 kB / 0.6894 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.6853, allocations: 1.147 MB / 0.6905 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6853, allocations: 3.562 kB / 0.6905 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.686, allocations: 316.8 kB / 0.6908 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6871, allocations: 228.3 kB / 0.691 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.689, allocations: 1.572 MB / 0.6925 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.6893, allocations: 0.8741 MB / 0.6934 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005968/0.6899, allocations: 137.1 kB / 0.6935 GB, free: 136.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.69, allocations: 52.86 kB / 0.6936 GB, free: 136.6 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.69, allocations: 3.031 kB / 0.6936 GB, free: 136.6 MB / 490.7 MB Notification: Performance of Templates: time 0.02724/0.7173, allocations: 17.33 MB / 0.7105 GB, free: 133.3 MB / 490.7 MB 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)