Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 80.2 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 158.4 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.04172/0.04172, allocations: 6.487 MB / 266.3 MB, free: 10.23 MB / 254.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 67.91 kB / 392.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1137, allocations: 55.4 MB / 448 MB, free: 3.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006172/0.1199, allocations: 3.683 MB / 451.7 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.1236, allocations: 1.893 MB / 453.6 MB, free: 13.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003959/0.124, allocations: 11.94 kB / 453.6 MB, free: 13.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.1246, allocations: 202.8 kB / 453.8 MB, free: 13.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009506/0.1256, allocations: 298.5 kB / 454.1 MB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1266, allocations: 382.9 kB / 454.5 MB, free: 13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008804/0.1275, allocations: 0.6783 MB / 455.2 MB, free: 12.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.128, allocations: 225.8 kB / 455.4 MB, free: 12.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.1284, allocations: 286.8 kB / 455.7 MB, free: 11.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000432/0.1288, allocations: 322.4 kB / 456 MB, free: 11.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.341e-05/0.1289, allocations: 64 kB / 456 MB, free: 11.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.1292, allocations: 124 kB / 456.2 MB, free: 11.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.1294, allocations: 231.2 kB / 456.4 MB, free: 11.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002896/0.1297, allocations: 278.3 kB / 456.7 MB, free: 10.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1309, allocations: 0.9531 MB / 457.6 MB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1309, allocations: 0 / 457.6 MB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1309, allocations: 0 / 457.6 MB, free: 9.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.1309, allocations: 8 kB / 457.6 MB, free: 9.852 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001999/0.1329, allocations: 1.097 MB / 458.7 MB, free: 8.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.133, allocations: 12.03 kB / 458.7 MB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.1331, allocations: 92.33 kB / 458.8 MB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/0.134, allocations: 0.5457 MB / 459.4 MB, free: 8.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.134, allocations: 44.88 kB / 459.4 MB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.83e-05/0.1341, allocations: 55.94 kB / 459.5 MB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/0.1351, allocations: 483.8 kB / 459.9 MB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1352, allocations: 4 kB / 459.9 MB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.1352, allocations: 16 kB / 460 MB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1352, allocations: 8 kB / 460 MB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009416/0.1361, allocations: 359.7 kB / 460.3 MB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.139, allocations: 1.573 MB / 461.9 MB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009023/0.1399, allocations: 334.6 kB / 462.2 MB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.1403, allocations: 128.8 kB / 462.3 MB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.1403, allocations: 4 kB / 462.3 MB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004967/0.1408, allocations: 199.2 kB / 462.5 MB, free: 4.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.184e-06/0.1408, allocations: 0 / 462.5 MB, free: 4.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=30): time 0.001863/0.1427, allocations: 0.568 MB / 463.1 MB, free: 4.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1427, allocations: 59.34 kB / 463.2 MB, free: 4.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1439, allocations: 0.9416 MB / 464.1 MB, free: 3.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.1439, allocations: 37.7 kB / 464.1 MB, free: 3.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.1443, allocations: 376.3 kB / 464.5 MB, free: 2.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.1444, allocations: 99.23 kB / 464.6 MB, free: 2.648 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.1445, allocations: 90.14 kB / 464.7 MB, free: 2.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.1447, allocations: 382.8 kB / 465.1 MB, free: 2.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.1452, allocations: 162.6 kB / 465.2 MB, free: 2.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.1457, allocations: 233.5 kB / 465.5 MB, free: 1.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/0.1465, allocations: 380 kB / 465.8 MB, free: 1.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1465, allocations: 0 / 465.8 MB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001274/0.1478, allocations: 0.5595 MB / 466.4 MB, free: 0.7617 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.1478, allocations: 33.7 kB / 466.4 MB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1478, allocations: 224 / 466.4 MB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.1481, allocations: 68.81 kB / 466.5 MB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.1484, allocations: 83.77 kB / 466.6 MB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1505, allocations: 1.672 MB / 468.2 MB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.1508, allocations: 47.75 kB / 468.3 MB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.1508, allocations: 12 kB / 468.3 MB, free: 14.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004081/0.1513, allocations: 277.6 kB / 468.6 MB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1514, allocations: 71.53 kB / 468.6 MB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.1525, allocations: 438.2 kB / 469.1 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1525, allocations: 4 kB / 469.1 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1525, allocations: 0 / 469.1 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1525, allocations: 3.984 kB / 469.1 MB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.1531, allocations: 432.9 kB / 469.5 MB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1531, allocations: 0 / 469.5 MB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.1534, allocations: 56.02 kB / 469.6 MB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.1536, allocations: 68.75 kB / 469.6 MB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1536, allocations: 4 kB / 469.6 MB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.1556, allocations: 1.669 MB / 471.3 MB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1556, allocations: 3.938 kB / 471.3 MB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.1571, allocations: 0.5921 MB / 471.9 MB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.1572, allocations: 79.55 kB / 472 MB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.1573, allocations: 8 kB / 472 MB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.1575, allocations: 23.97 kB / 472 MB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.1576, allocations: 39.88 kB / 472 MB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.1576, allocations: 4.188 kB / 472 MB, free: 10.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000832/0.1585, allocations: 0.6669 MB / 472.7 MB, free: 10.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1585, allocations: 0 / 472.7 MB, free: 10.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006957/0.1592, allocations: 147.6 kB / 472.8 MB, free: 10.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002548/0.1617, allocations: 0.6564 MB / 473.5 MB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.1629, allocations: 0.5232 MB / 474 MB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1629, allocations: 0 / 474 MB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.1635, allocations: 286.4 kB / 474.3 MB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.164, allocations: 90.41 kB / 474.4 MB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1667, allocations: 1.428 MB / 475.8 MB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.1671, allocations: 365.9 kB / 476.2 MB, free: 6.863 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.1674, allocations: 72.36 kB / 476.3 MB, free: 6.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1675, allocations: 40.48 kB / 476.3 MB, free: 6.746 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1675, allocations: 0 / 476.3 MB, free: 6.746 MB / 446.1 MB Notification: Performance of Templates: time 0.2188/0.3863, allocations: 6.868 MB / 483.2 MB, free: 71.88 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.788674750016071] Failed to read output from testmodel.py, exit status != 0: 0.3961060440633446 0.404540801 0.271144431 Calling exit ...