Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 110.4 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 250.6 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04391/0.04391, allocations: 8.538 MB / 314.3 MB, free: 412 kB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 63.89 kB / 438.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09754, allocations: 54.2 MB / 492.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.006556/0.1041, allocations: 4.491 MB / 496.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.1076, allocations: 2.197 MB / 499 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.108, allocations: 15.94 kB / 499 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.1084, allocations: 162.7 kB / 499.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.109, allocations: 242.2 kB / 499.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.1098, allocations: 422 kB / 499.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009764/0.1108, allocations: 0.9469 MB / 0.4891 GB, free: 14.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000538/0.1113, allocations: 368.5 kB / 0.4894 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.1118, allocations: 378.7 kB / 0.4898 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.1123, allocations: 418.2 kB / 0.4902 GB, free: 13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.1124, allocations: 112 kB / 0.4903 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.1127, allocations: 160 kB / 0.4904 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1129, allocations: 239.3 kB / 0.4907 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.1133, allocations: 481.6 kB / 0.4911 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.1147, allocations: 1.23 MB / 0.4923 GB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1147, allocations: 4 kB / 0.4923 GB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1147, allocations: 4 kB / 0.4923 GB, free: 10.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1147, allocations: 0 / 0.4923 GB, free: 10.78 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002156/0.1168, allocations: 1.259 MB / 0.4935 GB, free: 9.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1169, allocations: 15.89 kB / 0.4936 GB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.1171, allocations: 100.3 kB / 0.4937 GB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.118, allocations: 0.5681 MB / 0.4942 GB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/0.1181, allocations: 58.38 kB / 0.4943 GB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.1182, allocations: 76.12 kB / 0.4943 GB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1197, allocations: 0.7447 MB / 0.4951 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.1197, allocations: 3.953 kB / 0.4951 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.1197, allocations: 32 kB / 0.4951 GB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.1198, allocations: 20 kB / 0.4951 GB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.121, allocations: 0.5231 MB / 0.4956 GB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004088/0.1251, allocations: 2.719 MB / 0.4983 GB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.1262, allocations: 447.7 kB / 0.4987 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.1266, allocations: 165 kB / 0.4989 GB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1267, allocations: 4 kB / 0.4989 GB, free: 3.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006126/0.1273, allocations: 270.6 kB / 0.4991 GB, free: 3.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.1273, allocations: 0 / 0.4991 GB, free: 3.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.0018/0.1291, allocations: 0.7466 MB / 0.4999 GB, free: 2.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.1292, allocations: 162.5 kB / 0.5 GB, free: 2.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.1301, allocations: 0.6787 MB / 0.5007 GB, free: 1.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.1301, allocations: 37.7 kB / 0.5007 GB, free: 1.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.1304, allocations: 388.5 kB / 0.5011 GB, free: 1.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1306, allocations: 131 kB / 0.5012 GB, free: 1.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.1307, allocations: 90.25 kB / 0.5013 GB, free: 1.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1309, allocations: 378.7 kB / 0.5017 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.1314, allocations: 187 kB / 0.5018 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.132, allocations: 308 kB / 0.5021 GB, free: 272 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1331, allocations: 0.5999 MB / 0.5027 GB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1331, allocations: 0 / 0.5027 GB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001415/0.1345, allocations: 0.6765 MB / 0.5034 GB, free: 14.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/0.1346, allocations: 89.11 kB / 0.5035 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1346, allocations: 4.438 kB / 0.5035 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.1347, allocations: 32.83 kB / 0.5035 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.1351, allocations: 99.81 kB / 0.5036 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.1364, allocations: 1.392 MB / 0.505 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.1368, allocations: 87.52 kB / 0.505 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.1369, allocations: 24.03 kB / 0.5051 GB, free: 13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000675/0.1375, allocations: 365.1 kB / 0.5054 GB, free: 12.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005352/0.1381, allocations: 304 kB / 0.5057 GB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009977/0.1391, allocations: 0.5707 MB / 0.5063 GB, free: 11.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.1391, allocations: 4 kB / 0.5063 GB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001315/0.1404, allocations: 0.6467 MB / 0.5069 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.699e-05/0.1405, allocations: 97.09 kB / 0.507 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1405, allocations: 4.438 kB / 0.507 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.852e-05/0.1406, allocations: 32.78 kB / 0.507 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.1409, allocations: 95.88 kB / 0.5071 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.1421, allocations: 1.383 MB / 0.5085 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.1425, allocations: 67.73 kB / 0.5085 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.1426, allocations: 24 kB / 0.5085 GB, free: 9.102 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 51 * 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.0002692/0.1428, allocations: 286.8 kB / 0.5088 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.1429, allocations: 63.62 kB / 0.5089 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.1442, allocations: 0.5459 MB / 0.5094 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.1442, allocations: 3.984 kB / 0.5094 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1442, allocations: 3.984 kB / 0.5094 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.1444, allocations: 144.7 kB / 0.5096 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.789e-05/0.1444, allocations: 12 kB / 0.5096 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.1448, allocations: 39.95 kB / 0.5096 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.1449, allocations: 31.95 kB / 0.5096 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001498/0.1464, allocations: 0.7026 MB / 0.5103 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001733/0.1481, allocations: 0.8815 MB / 0.5112 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004542/0.1486, allocations: 180.2 kB / 0.5114 GB, free: 6.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006907/0.1493, allocations: 490.8 kB / 0.5118 GB, free: 5.609 MB / 382.1 MB Notification: Performance of Backend: time 1.152e-06/0.1493, allocations: 0 / 0.5118 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003805/0.1531, allocations: 1.477 MB / 0.5133 GB, free: 4.207 MB / 382.1 MB Notification: Performance of SimCode: time 0.002611/0.1557, allocations: 1.916 MB / 0.5151 GB, free: 2.227 MB / 382.1 MB Notification: Performance of Templates: time 0.2126/0.3683, allocations: 10.18 MB / 0.5251 GB, free: 36.2 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.804879645991605] Failed to read output from testmodel.py, exit status != 0: 0.37604951998218894 0.388493911 0.27120097200000004 Calling exit ...