Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001706/0.001706, allocations: 110.4 kB / 18.68 MB, free: 3.34 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.001338/0.001338, allocations: 200.4 kB / 21.93 MB, free: 100 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.433/1.433, allocations: 225.6 MB / 250.6 MB, free: 13.43 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.04279/0.04279, allocations: 8.537 MB / 314.3 MB, free: 0.5195 MB / 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.88 kB / 438.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09762, allocations: 54.2 MB / 492.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006674/0.1043, allocations: 4.487 MB / 496.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.1082, allocations: 2.209 MB / 499 MB, free: 52 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005594/0.1088, allocations: 16 kB / 499 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.1094, allocations: 158.7 kB / 499.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.1105, allocations: 234.2 kB / 499.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1116, allocations: 428 kB / 499.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.1132, allocations: 0.9429 MB / 0.489 GB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.114, allocations: 360.6 kB / 0.4894 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006823/0.1146, allocations: 374.7 kB / 0.4897 GB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.1155, allocations: 414.2 kB / 0.4901 GB, free: 13.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.1157, allocations: 108 kB / 0.4902 GB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.116, allocations: 136 kB / 0.4904 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.1163, allocations: 247.3 kB / 0.4906 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.1168, allocations: 461.8 kB / 0.4911 GB, free: 12.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.1183, allocations: 1.206 MB / 0.4922 GB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1183, allocations: 0 / 0.4922 GB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1183, allocations: 0 / 0.4922 GB, free: 10.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.495e-05/0.1184, allocations: 0 / 0.4922 GB, free: 10.99 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.002461/0.1208, allocations: 1.259 MB / 0.4935 GB, free: 9.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1209, allocations: 11.89 kB / 0.4935 GB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.1211, allocations: 100.3 kB / 0.4936 GB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009922/0.1221, allocations: 0.5642 MB / 0.4941 GB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.1221, allocations: 58.38 kB / 0.4942 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.1222, allocations: 84.06 kB / 0.4943 GB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.1237, allocations: 0.7361 MB / 0.495 GB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.1237, allocations: 11.89 kB / 0.495 GB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.1238, allocations: 28 kB / 0.495 GB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.1238, allocations: 20 kB / 0.495 GB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.125, allocations: 0.527 MB / 0.4955 GB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.1292, allocations: 2.695 MB / 0.4982 GB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1303, allocations: 444.3 kB / 0.4986 GB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.1307, allocations: 169 kB / 0.4988 GB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.1307, allocations: 4 kB / 0.4988 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006072/0.1313, allocations: 274.5 kB / 0.499 GB, free: 3.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.1313, allocations: 0 / 0.499 GB, free: 3.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001796/0.1331, allocations: 0.7467 MB / 0.4998 GB, free: 2.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.1332, allocations: 136.8 kB / 0.4999 GB, free: 2.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.1341, allocations: 0.6709 MB / 0.5005 GB, free: 2.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.1341, allocations: 33.7 kB / 0.5006 GB, free: 2.062 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.1344, allocations: 384.6 kB / 0.5009 GB, free: 1.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1345, allocations: 134.9 kB / 0.5011 GB, free: 1.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1347, allocations: 90.25 kB / 0.5012 GB, free: 1.453 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1349, allocations: 378.7 kB / 0.5015 GB, free: 1.074 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.1354, allocations: 186.9 kB / 0.5017 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.136, allocations: 295.2 kB / 0.502 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.1371, allocations: 0.596 MB / 0.5026 GB, free: 15.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1371, allocations: 0 / 0.5026 GB, free: 15.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001495/0.1386, allocations: 0.6766 MB / 0.5032 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.706e-05/0.1387, allocations: 92.06 kB / 0.5033 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1387, allocations: 4 kB / 0.5033 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.1389, allocations: 24.84 kB / 0.5033 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.1393, allocations: 99.88 kB / 0.5034 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.1404, allocations: 1.399 MB / 0.5048 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.141, allocations: 95.61 kB / 0.5049 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.141, allocations: 20 kB / 0.5049 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006996/0.1417, allocations: 361.1 kB / 0.5053 GB, free: 12.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005067/0.1422, allocations: 279.3 kB / 0.5055 GB, free: 12.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009714/0.1432, allocations: 0.5746 MB / 0.5061 GB, free: 11.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.1432, allocations: 0 / 0.5061 GB, free: 11.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001299/0.1445, allocations: 0.6548 MB / 0.5067 GB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.856e-05/0.1445, allocations: 93.09 kB / 0.5068 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1446, allocations: 4 kB / 0.5068 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.155e-05/0.1446, allocations: 28.84 kB / 0.5068 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.145, allocations: 87.89 kB / 0.5069 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1461, allocations: 1.394 MB / 0.5083 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.1466, allocations: 71.89 kB / 0.5084 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.1466, allocations: 23.94 kB / 0.5084 GB, free: 9.41 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.0002362/0.1468, allocations: 282.2 kB / 0.5086 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.499e-05/0.1469, allocations: 59.62 kB / 0.5087 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.1482, allocations: 0.5459 MB / 0.5092 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1482, allocations: 0 / 0.5092 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1482, allocations: 0 / 0.5092 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.1484, allocations: 152.6 kB / 0.5094 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.1484, allocations: 11.98 kB / 0.5094 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.1488, allocations: 47.95 kB / 0.5094 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1489, allocations: 31.97 kB / 0.5095 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001481/0.1504, allocations: 0.7025 MB / 0.5102 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00171/0.1521, allocations: 0.8777 MB / 0.511 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004795/0.1526, allocations: 180.2 kB / 0.5112 GB, free: 6.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006319/0.1532, allocations: 482.8 kB / 0.5116 GB, free: 5.93 MB / 382.1 MB Notification: Performance of Backend: time 5.01e-07/0.1532, allocations: 4 kB / 0.5116 GB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003601/0.1568, allocations: 1.434 MB / 0.513 GB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 0.002651/0.1595, allocations: 1.909 MB / 0.5149 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Templates: time 0.2119/0.3714, allocations: 9.828 MB / 0.5245 GB, free: 36.46 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.78493427997455] Failed to read output from testmodel.py, exit status != 0: 0.37864680599886924 0.391019887 0.269990251 Calling exit ...