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.001191/0.001191, allocations: 106.4 kB / 17.74 MB, free: 5.352 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.001244/0.001244, allocations: 183.1 kB / 18.68 MB, free: 4.426 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.428/1.428, 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.3298/0.3298, allocations: 48.85 MB / 320.8 MB, free: 11 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.001535/0.001535, allocations: 67.91 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1394, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestFanMech): time 0.4799/0.6193, allocations: 146.8 MB / 0.6418 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.6239, allocations: 2.234 MB / 0.6439 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.6244, allocations: 15.88 kB / 0.6439 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008435/0.6252, allocations: 254.2 kB / 0.6442 GB, free: 5.062 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.001701/0.627, allocations: 0.9648 MB / 0.6451 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.6291, allocations: 0.9954 MB / 0.6461 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00172/0.6309, allocations: 1.594 MB / 0.6477 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.6316, allocations: 0.5308 MB / 0.6482 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009052/0.6325, allocations: 0.7126 MB / 0.6489 GB, free: 248 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.6335, allocations: 0.8062 MB / 0.6497 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.6337, allocations: 72 kB / 0.6497 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.6353, allocations: 1.143 MB / 0.6508 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.6355, allocations: 207.4 kB / 0.651 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003973/0.6359, allocations: 422.1 kB / 0.6514 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.6374, allocations: 1.239 MB / 0.6527 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6374, allocations: 3.938 kB / 0.6527 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6374, allocations: 0 / 0.6527 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.6375, allocations: 4 kB / 0.6527 GB, free: 12.36 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.0019/0.6394, allocations: 1.074 MB / 0.6537 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6394, allocations: 19.88 kB / 0.6537 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/0.64, allocations: 96.45 kB / 0.6538 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/0.6408, allocations: 490.7 kB / 0.6543 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.6409, allocations: 75.75 kB / 0.6544 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.641, allocations: 59.94 kB / 0.6544 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.6423, allocations: 0.727 MB / 0.6551 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.6423, allocations: 0 / 0.6551 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.6424, allocations: 31.98 kB / 0.6552 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.6424, allocations: 12 kB / 0.6552 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.6437, allocations: 0.6023 MB / 0.6558 GB, free: 9.051 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.004339/0.648, allocations: 2.858 MB / 0.6586 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.6489, allocations: 416.7 kB / 0.659 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.6494, allocations: 246 kB / 0.6592 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/0.651, allocations: 1.073 MB / 0.6602 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.6511, allocations: 42.98 kB / 0.6603 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.695e-06/0.6511, allocations: 0 / 0.6603 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51): time 0.006353/0.6574, allocations: 2.424 MB / 0.6626 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.6575, allocations: 107.2 kB / 0.6627 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005916/0.6581, allocations: 0.5183 MB / 0.6633 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.6582, allocations: 45.64 kB / 0.6633 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.6584, allocations: 316.8 kB / 0.6636 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.6586, allocations: 190.5 kB / 0.6638 GB, free: 364 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.6588, allocations: 142.6 kB / 0.6639 GB, free: 216 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.659, allocations: 366.8 kB / 0.6643 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.6595, allocations: 252.7 kB / 0.6645 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.6602, allocations: 428.8 kB / 0.6649 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.6613, allocations: 0.6005 MB / 0.6655 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6613, allocations: 4 kB / 0.6655 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001752/0.663, allocations: 0.8909 MB / 0.6664 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6631, allocations: 8 kB / 0.6664 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6631, allocations: 11.94 kB / 0.6664 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/0.6649, allocations: 0.4896 MB / 0.6669 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.6655, allocations: 127.8 kB / 0.667 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.6671, allocations: 1.464 MB / 0.6684 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.6677, allocations: 55.94 kB / 0.6685 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.6678, allocations: 79.91 kB / 0.6686 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006486/0.6685, allocations: 354 kB / 0.6689 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006493/0.6691, allocations: 419.1 kB / 0.6693 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001088/0.6702, allocations: 0.5671 MB / 0.6698 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.6703, allocations: 4 kB / 0.6698 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001809/0.6721, allocations: 0.8399 MB / 0.6707 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6721, allocations: 8 kB / 0.6707 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.6721, allocations: 8.875 kB / 0.6707 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.6727, allocations: 335.5 kB / 0.671 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.6733, allocations: 147.8 kB / 0.6711 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.6764, allocations: 2.647 MB / 0.6737 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.677, allocations: 55.94 kB / 0.6738 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.6771, allocations: 28 kB / 0.6738 GB, free: 5.492 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.0003219/0.6774, allocations: 232.9 kB / 0.674 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.6776, allocations: 63.62 kB / 0.6741 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.6793, allocations: 0.7361 MB / 0.6748 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6793, allocations: 3.984 kB / 0.6748 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6793, allocations: 0 / 0.6748 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.6796, allocations: 200.6 kB / 0.675 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.6797, allocations: 19.94 kB / 0.675 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.6802, allocations: 51.94 kB / 0.6751 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.6804, allocations: 68.33 kB / 0.6751 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00216/0.6826, allocations: 0.784 MB / 0.6759 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001544/0.6841, allocations: 0.9239 MB / 0.6768 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004488/0.6846, allocations: 211.4 kB / 0.677 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004347/0.685, allocations: 362.8 kB / 0.6774 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of Backend: time 5.21e-07/0.685, allocations: 0 / 0.6774 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003109/0.6882, allocations: 1.196 MB / 0.6785 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002664/0.6908, allocations: 1.899 MB / 0.6804 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.03329/0.7241, allocations: 18.81 MB / 0.6987 GB, free: 11.79 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)