Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 113.5 kB / 16.42 MB, free: 6.453 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.001163/0.001163, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0393/0.0393, allocations: 8.039 MB / 299.2 MB, free: 6.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 413.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1168, allocations: 51.19 MB / 464.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.005733/0.1226, allocations: 4.291 MB / 469.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1251, allocations: 1.458 MB / 470.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.1255, allocations: 15.94 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.1259, allocations: 158.8 kB / 470.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1264, allocations: 210.4 kB / 471.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.1271, allocations: 393.8 kB / 471.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008051/0.1279, allocations: 0.8922 MB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005915/0.1285, allocations: 483.8 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000364/0.1289, allocations: 346.8 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.1293, allocations: 382.4 kB / 473.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.1294, allocations: 100 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.1297, allocations: 131.9 kB / 473.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.1299, allocations: 215.4 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.1302, allocations: 430 kB / 474.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.1313, allocations: 1.083 MB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1313, allocations: 0 / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1313, allocations: 4 kB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1313, allocations: 0 / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001776/0.1331, allocations: 1.151 MB / 476.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1331, allocations: 8.031 kB / 476.6 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1333, allocations: 87.98 kB / 476.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.134, allocations: 0.505 MB / 477.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.1341, allocations: 54 kB / 477.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1342, allocations: 75.91 kB / 477.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1355, allocations: 0.7074 MB / 478.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1355, allocations: 3.938 kB / 478.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/0.1356, allocations: 32 kB / 478.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1356, allocations: 16 kB / 478.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1368, allocations: 0.4977 MB / 478.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.1402, allocations: 2.536 MB / 481.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.1412, allocations: 451.4 kB / 481.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/0.1416, allocations: 176.8 kB / 481.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.1417, allocations: 4 kB / 481.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005583/0.1422, allocations: 266.5 kB / 482 MB, free: 1.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.1422, allocations: 0 / 482 MB, free: 1.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001668/0.1439, allocations: 0.7051 MB / 482.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.144, allocations: 140.5 kB / 482.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.1446, allocations: 0.5645 MB / 483.4 MB, free: 152 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.1447, allocations: 33.7 kB / 483.5 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.1449, allocations: 359.9 kB / 483.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/0.145, allocations: 110.4 kB / 483.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1451, allocations: 82.02 kB / 484 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1453, allocations: 370.7 kB / 484.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.1458, allocations: 158.3 kB / 484.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.1462, allocations: 263.3 kB / 484.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.1472, allocations: 0.5503 MB / 485.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1472, allocations: 96 / 485.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001167/0.1483, allocations: 0.6079 MB / 485.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.1484, allocations: 89.09 kB / 486 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.1484, allocations: 7.938 kB / 486 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/0.1486, allocations: 24.86 kB / 486.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.149, allocations: 83.88 kB / 486.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.15, allocations: 1.394 MB / 487.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.1505, allocations: 83.64 kB / 487.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.1505, allocations: 19.98 kB / 487.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005735/0.1511, allocations: 324.8 kB / 487.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004281/0.1515, allocations: 251.2 kB / 488.2 MB, free: 11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008222/0.1524, allocations: 0.5149 MB / 488.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.1524, allocations: 0 / 488.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001071/0.1535, allocations: 0.584 MB / 489.3 MB, free: 9.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.1535, allocations: 97.09 kB / 489.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1535, allocations: 0 / 489.4 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.607e-05/0.1536, allocations: 28.84 kB / 489.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.1539, allocations: 80.17 kB / 489.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009088/0.1549, allocations: 1.387 MB / 490.9 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.1553, allocations: 67.67 kB / 490.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1553, allocations: 19.94 kB / 491 MB, free: 7.973 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.1555, allocations: 270.4 kB / 491.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.1556, allocations: 55.34 kB / 491.3 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.1567, allocations: 0.5064 MB / 491.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1567, allocations: 3.984 kB / 491.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1568, allocations: 4 kB / 491.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.1569, allocations: 136.4 kB / 491.9 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.1569, allocations: 8 kB / 491.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.1573, allocations: 43.95 kB / 492 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.1574, allocations: 31.95 kB / 492 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001334/0.1587, allocations: 0.669 MB / 492.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001487/0.1602, allocations: 0.8526 MB / 493.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004282/0.1607, allocations: 191.9 kB / 493.7 MB, free: 5.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004268/0.1611, allocations: 414.8 kB / 494.1 MB, free: 4.676 MB / 366.1 MB Notification: Performance of Backend: time 6.32e-07/0.1611, allocations: 0 / 494.1 MB, free: 4.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.1637, allocations: 1.448 MB / 495.6 MB, free: 3.281 MB / 366.1 MB Notification: Performance of SimCode: time 0.001976/0.1657, allocations: 1.742 MB / 497.3 MB, free: 1.469 MB / 366.1 MB Notification: Performance of Templates: time 0.01454/0.1803, allocations: 8.904 MB / 0.4944 GB, free: 8.602 MB / 382.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1)