Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.0008193/0.0008193, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001355/0.001355, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9835/0.9835, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.03436/0.03436, allocations: 6.483 MB / 266.7 MB, free: 6.516 MB / 250.7 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 285.3 MB, free: 4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.336e-05, allocations: 2.312 kB / 285.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.003821/0.003844, allocations: 3.641 MB / 288.9 MB, free: 340 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1119/0.1158, allocations: 1.965 MB / 290.9 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002886/0.116, allocations: 13.47 kB / 290.9 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004282/0.1165, allocations: 197.5 kB / 291.1 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005728/0.117, allocations: 293.8 kB / 291.4 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.1177, allocations: 399.5 kB / 291.7 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006745/0.1184, allocations: 0.6535 MB / 292.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.1187, allocations: 158.9 kB / 292.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004367/0.1191, allocations: 366.9 kB / 292.9 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.1195, allocations: 245.8 kB / 293.2 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-05/0.1195, allocations: 58.5 kB / 293.2 MB, free: 18.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.1198, allocations: 184.1 kB / 293.4 MB, free: 18.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.12, allocations: 222.4 kB / 293.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.1202, allocations: 205.8 kB / 293.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.121, allocations: 0.6403 MB / 294.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.121, allocations: 0.7031 kB / 294.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.121, allocations: 1 kB / 294.5 MB, free: 17.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.121, allocations: 0 / 294.5 MB, free: 17.98 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001273/0.1223, allocations: 0.9936 MB / 295.4 MB, free: 17.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1223, allocations: 9.578 kB / 295.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1225, allocations: 76.83 kB / 295.5 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.123, allocations: 389.8 kB / 295.9 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.123, allocations: 28.47 kB / 295.9 MB, free: 17.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.1231, allocations: 44.17 kB / 296 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.1235, allocations: 407 kB / 296.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1235, allocations: 1.375 kB / 296.4 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1235, allocations: 17.39 kB / 296.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1235, allocations: 9.5 kB / 296.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1237, allocations: 90.98 kB / 296.5 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.125, allocations: 1.037 MB / 297.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1252, allocations: 148 kB / 297.7 MB, free: 16.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1253, allocations: 35.58 kB / 297.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1253, allocations: 6.781 kB / 297.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.1255, allocations: 109.3 kB / 297.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.314e-06/0.1255, allocations: 1 kB / 297.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004119/0.1259, allocations: 195 kB / 298 MB, free: 15.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.1259, allocations: 134.1 kB / 298.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.1265, allocations: 0.6133 MB / 298.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1266, allocations: 38.14 kB / 298.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1267, allocations: 251 kB / 299 MB, free: 15.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.1267, allocations: 86.06 kB / 299.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.1268, allocations: 78.17 kB / 299.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.1269, allocations: 383.5 kB / 299.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/0.127, allocations: 68.48 kB / 299.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1271, allocations: 226.5 kB / 299.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.1273, allocations: 198.8 kB / 300.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1273, allocations: 5.938 kB / 300.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003209/0.1276, allocations: 271.8 kB / 300.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.1276, allocations: 32.97 kB / 300.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1276, allocations: 2.938 kB / 300.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.1278, allocations: 29.62 kB / 300.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1279, allocations: 70.69 kB / 300.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004628/0.1284, allocations: 1.16 MB / 301.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.1286, allocations: 44.92 kB / 301.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1286, allocations: 10.03 kB / 301.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001366/0.1287, allocations: 154.8 kB / 301.8 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.228e-05/0.1288, allocations: 222.6 kB / 302 MB, free: 12.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001512/0.129, allocations: 188.4 kB / 302.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.292e-06/0.129, allocations: 0 / 302.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0002709/0.1293, allocations: 270.3 kB / 302.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1293, allocations: 38.83 kB / 302.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1293, allocations: 1.5 kB / 302.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.954e-05/0.1293, allocations: 21.08 kB / 302.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1295, allocations: 72.48 kB / 302.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003761/0.1299, allocations: 1.166 MB / 303.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.13, allocations: 37.58 kB / 303.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.13, allocations: 10.62 kB / 303.8 MB, free: 11.3 MB / 266.7 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 (iceT.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/0.1301, allocations: 200.4 kB / 304 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1302, allocations: 57.47 kB / 304.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1304, allocations: 185 kB / 304.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1304, allocations: 2.594 kB / 304.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1304, allocations: 5.281 kB / 304.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1304, allocations: 1.219 kB / 304.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1307, allocations: 269.4 kB / 304.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1307, allocations: 0 / 304.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.1308, allocations: 48.45 kB / 304.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.518e-05/0.1309, allocations: 16.17 kB / 304.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1309, allocations: 8.547 kB / 304.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003205/0.1312, allocations: 1.154 MB / 305.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1312, allocations: 1.375 kB / 305.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1315, allocations: 226.2 kB / 306 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.1315, allocations: 72.67 kB / 306.1 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.1316, allocations: 10.75 kB / 306.1 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.1317, allocations: 20.58 kB / 306.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.1317, allocations: 25.78 kB / 306.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1317, allocations: 2.75 kB / 306.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002851/0.132, allocations: 313.3 kB / 306.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.132, allocations: 0 / 306.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.1325, allocations: 250.8 kB / 306.7 MB, free: 9.367 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/0.1344, allocations: 0.9286 MB / 307.6 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.135, allocations: 0.632 MB / 308.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.135, allocations: 6.625 kB / 308.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1351, allocations: 183.9 kB / 308.4 MB, free: 8.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1354, allocations: 105.2 kB / 308.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1369, allocations: 1.067 MB / 309.6 MB, free: 7.676 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.593e-05/0.137, allocations: 164.8 kB / 309.7 MB, free: 7.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001554/0.1371, allocations: 66.19 kB / 309.8 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.1373, allocations: 146.2 kB / 310 MB, free: 7.441 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1373, allocations: 0 / 310 MB, free: 7.441 MB / 266.7 MB Notification: Performance of Templates: time 0.01037/0.1477, allocations: 8.44 MB / 318.4 MB, free: 15.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7007901556789875]