Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001587/0.001587, allocations: 103.3 kB / 16.4 MB, free: 6.457 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.001696/0.001696, allocations: 194.8 kB / 19.36 MB, free: 3.73 MB / 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.521/1.521, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04272/0.04272, allocations: 8.419 MB / 305.6 MB, free: 4.32 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-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.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.89 kB / 422.5 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1238, allocations: 51.36 MB / 473.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005951/0.1298, allocations: 3.746 MB / 477.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1319, allocations: 1.075 MB / 478.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.1322, allocations: 7.938 kB / 478.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.1327, allocations: 202.9 kB / 478.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.1333, allocations: 218.8 kB / 479.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000811/0.1341, allocations: 365.1 kB / 479.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007708/0.1349, allocations: 0.6353 MB / 480.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.1354, allocations: 275.4 kB / 480.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.1357, allocations: 250.9 kB / 480.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.1361, allocations: 306.7 kB / 480.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.1362, allocations: 56 kB / 481 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.1364, allocations: 108 kB / 481.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.1367, allocations: 215.3 kB / 481.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.137, allocations: 349.9 kB / 481.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1381, allocations: 0.8714 MB / 482.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1381, allocations: 0 / 482.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1381, allocations: 3.938 kB / 482.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1381, allocations: 0 / 482.5 MB, free: 8.598 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001909/0.14, allocations: 1.117 MB / 483.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1401, allocations: 11.89 kB / 483.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.1402, allocations: 88.38 kB / 483.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.1411, allocations: 0.5866 MB / 484.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.1411, allocations: 32.94 kB / 484.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.1412, allocations: 47.94 kB / 484.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.142, allocations: 435.8 kB / 484.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.1421, allocations: 7.938 kB / 484.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.1421, allocations: 16 kB / 484.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1421, allocations: 8 kB / 484.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000993/0.1431, allocations: 307.8 kB / 485.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.1458, allocations: 1.754 MB / 486.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.1467, allocations: 319.7 kB / 487.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.147, allocations: 120.8 kB / 487.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.1471, allocations: 4 kB / 487.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004748/0.1476, allocations: 195.2 kB / 487.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.1476, allocations: 0 / 487.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001774/0.1494, allocations: 0.6042 MB / 488.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.1494, allocations: 59.34 kB / 488.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.1507, allocations: 0.9143 MB / 489.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.1507, allocations: 29.7 kB / 489.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.151, allocations: 352.5 kB / 489.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.1511, allocations: 95.16 kB / 489.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.1513, allocations: 74.06 kB / 489.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.1515, allocations: 378.8 kB / 490 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.1518, allocations: 124.7 kB / 490.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.1522, allocations: 200 kB / 490.3 MB, free: 476 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.153, allocations: 337.6 kB / 490.7 MB, free: 104 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.153, allocations: 7.984 kB / 490.7 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001123/0.1541, allocations: 0.5172 MB / 491.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.1542, allocations: 33.7 kB / 491.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1542, allocations: 0 / 491.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.1545, allocations: 56.81 kB / 491.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1548, allocations: 76.05 kB / 491.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.1567, allocations: 1.818 MB / 493.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.1571, allocations: 51.7 kB / 493.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.1571, allocations: 16 kB / 493.2 MB, free: 13.37 MB / 366.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: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (40): * Single equations (assignments): 38 * 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.0003505/0.1575, allocations: 254.3 kB / 493.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.1576, allocations: 75.56 kB / 493.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/0.1585, allocations: 396.8 kB / 493.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1586, allocations: 7.938 kB / 494 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1586, allocations: 0 / 494 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1586, allocations: 7.984 kB / 494 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.1592, allocations: 0.5362 MB / 494.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1592, allocations: 3.938 kB / 494.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.1595, allocations: 47.89 kB / 494.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.1597, allocations: 60.81 kB / 494.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.1598, allocations: 4 kB / 494.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.1617, allocations: 1.814 MB / 496.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1617, allocations: 0 / 496.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.163, allocations: 0.556 MB / 497 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.1632, allocations: 156.8 kB / 497.1 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.1632, allocations: 11.98 kB / 497.1 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.1634, allocations: 19.97 kB / 497.2 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1636, allocations: 23.97 kB / 497.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1636, allocations: 8 kB / 497.2 MB, free: 9.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008635/0.1645, allocations: 0.6591 MB / 497.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1645, allocations: 0 / 497.9 MB, free: 8.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.165, allocations: 135.7 kB / 498 MB, free: 8.363 MB / 366.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: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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.002347/0.1674, allocations: 0.5855 MB / 498.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.1686, allocations: 494.3 kB / 499.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1686, allocations: 0 / 499.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.1691, allocations: 267 kB / 499.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.1696, allocations: 97.95 kB / 499.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.1722, allocations: 1.355 MB / 0.489 GB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.173, allocations: 0.9479 MB / 0.49 GB, free: 4.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.1732, allocations: 68.25 kB / 0.49 GB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1733, allocations: 35.44 kB / 0.4901 GB, free: 4.699 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1733, allocations: 0 / 0.4901 GB, free: 4.699 MB / 366.1 MB Notification: Performance of Templates: time 0.01384/0.1872, allocations: 6.612 MB / 0.4965 GB, free: 14.1 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.937733981758356]