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.001382/0.001382, allocations: 101.5 kB / 16.5 MB, free: 6.648 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.001505/0.001505, allocations: 191.1 kB / 17.42 MB, free: 6.07 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.433/1.433, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2797/0.2797, allocations: 48.84 MB / 319.5 MB, free: 11.3 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.001348/0.001348, allocations: 64.33 kB / 389.4 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08869, allocations: 59.16 MB / 448.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.3278/0.4166, allocations: 144.8 MB / 0.5794 GB, free: 15.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.4203, allocations: 2.309 MB / 0.5817 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.4208, allocations: 11.66 kB / 0.5817 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007276/0.4216, allocations: 213.1 kB / 0.5819 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.4229, allocations: 0.9085 MB / 0.5828 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.4246, allocations: 0.9317 MB / 0.5837 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.4261, allocations: 1.973 MB / 0.5856 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005556/0.4267, allocations: 483 kB / 0.5861 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007821/0.4275, allocations: 0.6284 MB / 0.5867 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.4283, allocations: 0.8013 MB / 0.5875 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.4284, allocations: 38 kB / 0.5875 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.4298, allocations: 1.122 MB / 0.5886 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.43, allocations: 186.6 kB / 0.5888 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.4304, allocations: 378.2 kB / 0.5892 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.4316, allocations: 1.213 MB / 0.5903 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4316, allocations: 0 / 0.5903 GB, free: 11.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.4317, allocations: 7.094 kB / 0.5903 GB, free: 11.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.4317, allocations: 0 / 0.5903 GB, free: 11.9 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.001992/0.4337, allocations: 1.062 MB / 0.5914 GB, free: 11.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4337, allocations: 9.438 kB / 0.5914 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/0.4344, allocations: 104 kB / 0.5915 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.4351, allocations: 472.2 kB / 0.5919 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.66e-05/0.4352, allocations: 73.77 kB / 0.592 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.4353, allocations: 58.81 kB / 0.5921 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.4366, allocations: 0.7233 MB / 0.5928 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4366, allocations: 6.812 kB / 0.5928 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/0.4367, allocations: 27.5 kB / 0.5928 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4367, allocations: 12.22 kB / 0.5928 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4379, allocations: 0.6007 MB / 0.5934 GB, free: 9.926 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.004204/0.4421, allocations: 2.862 MB / 0.5962 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008802/0.443, allocations: 433.8 kB / 0.5966 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.4435, allocations: 238.9 kB / 0.5968 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/0.4451, allocations: 1.072 MB / 0.5979 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.4451, allocations: 38.09 kB / 0.5979 GB, free: 6.145 MB / 430.1 MB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.4451, allocations: 0 / 0.5979 GB, free: 6.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=51): time 0.006324/0.4514, allocations: 2.423 MB / 0.6003 GB, free: 4.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.796e-05/0.4516, allocations: 108.2 kB / 0.6004 GB, free: 4.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.4522, allocations: 0.5194 MB / 0.6009 GB, free: 4.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.4523, allocations: 38.11 kB / 0.6009 GB, free: 4.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.4525, allocations: 312.9 kB / 0.6012 GB, free: 3.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.4527, allocations: 179 kB / 0.6014 GB, free: 3.676 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.453, allocations: 148.2 kB / 0.6015 GB, free: 3.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4532, allocations: 366.9 kB / 0.6019 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.4537, allocations: 249 kB / 0.6021 GB, free: 3.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006203/0.4544, allocations: 427.9 kB / 0.6025 GB, free: 2.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.4554, allocations: 0.601 MB / 0.6031 GB, free: 2.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.4554, allocations: 2.25 kB / 0.6031 GB, free: 2.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001703/0.4571, allocations: 0.881 MB / 0.604 GB, free: 1.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4571, allocations: 7.875 kB / 0.604 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4572, allocations: 8.312 kB / 0.604 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/0.459, allocations: 0.5025 MB / 0.6045 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.4595, allocations: 126.8 kB / 0.6046 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.461, allocations: 1.455 MB / 0.606 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006312/0.4616, allocations: 64.94 kB / 0.6061 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/0.4617, allocations: 82.52 kB / 0.6062 GB, free: 348 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006009/0.4623, allocations: 353 kB / 0.6065 GB, free: 124 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005624/0.4629, allocations: 422 kB / 0.6069 GB, free: 15.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008935/0.4638, allocations: 0.5742 MB / 0.6075 GB, free: 15.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.4638, allocations: 6.781 kB / 0.6075 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001682/0.4655, allocations: 0.8312 MB / 0.6083 GB, free: 14.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.4655, allocations: 9.969 kB / 0.6083 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4655, allocations: 6.844 kB / 0.6083 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.4661, allocations: 330.6 kB / 0.6086 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.4667, allocations: 146.8 kB / 0.6088 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.4694, allocations: 2.494 MB / 0.6112 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.47, allocations: 59.94 kB / 0.6113 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.4701, allocations: 31.98 kB / 0.6113 GB, free: 12.05 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.0002716/0.4704, allocations: 228.1 kB / 0.6115 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.4705, allocations: 64.38 kB / 0.6116 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.4723, allocations: 0.7343 MB / 0.6123 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4723, allocations: 4 kB / 0.6123 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.4723, allocations: 7.938 kB / 0.6123 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.4723, allocations: 0 / 0.6123 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.4749, allocations: 1.411 MB / 0.6137 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4749, allocations: 0 / 0.6137 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.4753, allocations: 82.02 kB / 0.6138 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.4766, allocations: 429.4 kB / 0.6142 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.4767, allocations: 27.91 kB / 0.6142 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.478, allocations: 1.419 MB / 0.6156 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.478, allocations: 0 / 0.6156 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.48, allocations: 1.019 MB / 0.6166 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.4803, allocations: 200.3 kB / 0.6168 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.4804, allocations: 12 kB / 0.6168 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.481, allocations: 55.88 kB / 0.6168 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.4812, allocations: 76.31 kB / 0.6169 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.152e-05/0.4813, allocations: 79.77 kB / 0.617 GB, free: 6.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.4817, allocations: 362.8 kB / 0.6173 GB, free: 5.695 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4817, allocations: 0 / 0.6173 GB, free: 5.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001175/0.4829, allocations: 391.9 kB / 0.6177 GB, free: 5.312 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.0005584/0.4835, allocations: 239.2 kB / 0.6179 GB, free: 5.078 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.4858, allocations: 1.134 MB / 0.619 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4859, allocations: 0 / 0.619 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007334/0.4866, allocations: 311.3 kB / 0.6193 GB, free: 3.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.4879, allocations: 236.6 kB / 0.6196 GB, free: 3.406 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.49, allocations: 1.458 MB / 0.621 GB, free: 1.934 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4904, allocations: 0.8721 MB / 0.6218 GB, free: 1.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00059/0.491, allocations: 132.8 kB / 0.622 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.4911, allocations: 59.42 kB / 0.622 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4911, allocations: 0 / 0.622 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of Templates: time 0.02478/0.5159, allocations: 17.38 MB / 0.639 GB, free: 15.45 MB / 478.1 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)