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.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.0008155/0.0008155, allocations: 79.69 kB / 20.01 MB, free: 4.488 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.000799/0.000799, allocations: 169.9 kB / 23.32 MB, free: 1.184 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.8838/0.8838, allocations: 177.1 MB / 203.6 MB, free: 5.711 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.02718/0.02718, allocations: 6.478 MB / 266.6 MB, free: 6.785 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.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 2.896e-06/2.896e-06, allocations: 0 / 393.1 MB, free: 3.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.977e-05, allocations: 2.281 kB / 393.1 MB, free: 3.93 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004164/0.004194, allocations: 3.621 MB / 396.7 MB, free: 296 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.006099, allocations: 1.164 MB / 397.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.006443, allocations: 11.94 kB / 397.9 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.006998, allocations: 206.7 kB / 398.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.007596, allocations: 286.4 kB / 398.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.008173, allocations: 363.1 kB / 398.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005646/0.008737, allocations: 0.6586 MB / 399.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.009059, allocations: 191.8 kB / 399.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.009786, allocations: 383 kB / 399.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.01003, allocations: 251.2 kB / 400.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.01008, allocations: 52 kB / 400.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.01023, allocations: 119.8 kB / 400.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.01038, allocations: 223.3 kB / 400.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.01052, allocations: 203.3 kB / 400.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006849/0.01121, allocations: 0.8761 MB / 401.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01121, allocations: 4 kB / 401.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01121, allocations: 4 kB / 401.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.01122, allocations: 0 / 401.7 MB, free: 11.33 MB / 330.7 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.001153/0.01237, allocations: 1.043 MB / 402.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.01241, allocations: 8.031 kB / 402.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.01251, allocations: 88.38 kB / 402.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.01309, allocations: 0.545 MB / 403.3 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.01313, allocations: 41.31 kB / 403.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.01319, allocations: 44.31 kB / 403.4 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.01384, allocations: 435.8 kB / 403.9 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.01386, allocations: 0 / 403.9 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.01389, allocations: 16 kB / 403.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01389, allocations: 12 kB / 403.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.01435, allocations: 315.7 kB / 404.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.01615, allocations: 1.511 MB / 405.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.01666, allocations: 302.8 kB / 406 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.01683, allocations: 112.8 kB / 406.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.01686, allocations: 4 kB / 406.1 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.01714, allocations: 191.8 kB / 406.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/0.01714, allocations: 0 / 406.3 MB, free: 6.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009989/0.01814, allocations: 0.5289 MB / 406.8 MB, free: 5.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.01819, allocations: 51.41 kB / 406.9 MB, free: 5.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.01892, allocations: 0.9299 MB / 407.8 MB, free: 4.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.01895, allocations: 37.7 kB / 407.8 MB, free: 4.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.01914, allocations: 348.5 kB / 408.2 MB, free: 4.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.01919, allocations: 99.16 kB / 408.3 MB, free: 4.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.01927, allocations: 70.08 kB / 408.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01939, allocations: 386.7 kB / 408.7 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.01959, allocations: 158.4 kB / 408.9 MB, free: 3.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.01981, allocations: 229.7 kB / 409.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.0202, allocations: 337.6 kB / 409.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02021, allocations: 0 / 409.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006658/0.02087, allocations: 0.5501 MB / 410 MB, free: 2.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.02091, allocations: 29.7 kB / 410 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.02092, allocations: 4 kB / 410 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002008/0.02112, allocations: 60.81 kB / 410.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.02128, allocations: 67.89 kB / 410.1 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.02254, allocations: 1.681 MB / 411.8 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.02271, allocations: 43.8 kB / 411.9 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.02273, allocations: 12 kB / 411.9 MB, free: 0.6797 MB / 330.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 (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.0002231/0.02295, allocations: 269.8 kB / 412.1 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.02301, allocations: 67.53 kB / 412.2 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1528/0.1758, allocations: 402.4 kB / 412.6 MB, free: 31.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1759, allocations: 3.219 kB / 412.6 MB, free: 31.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1759, allocations: 3.031 kB / 412.6 MB, free: 31.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1759, allocations: 1.5 kB / 412.6 MB, free: 31.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.1764, allocations: 406.2 kB / 413 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1764, allocations: 1.062 kB / 413 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1766, allocations: 44.91 kB / 413 MB, free: 31.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.1768, allocations: 60.23 kB / 413.1 MB, free: 31.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1768, allocations: 6.953 kB / 413.1 MB, free: 31.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009832/0.1778, allocations: 1.679 MB / 414.8 MB, free: 29.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1778, allocations: 0.75 kB / 414.8 MB, free: 29.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/0.1786, allocations: 0.5424 MB / 415.3 MB, free: 29.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.1787, allocations: 88.28 kB / 415.4 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1788, allocations: 7.031 kB / 415.4 MB, free: 29.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1789, allocations: 21.59 kB / 415.5 MB, free: 29.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.179, allocations: 29.38 kB / 415.5 MB, free: 29.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.179, allocations: 5.172 kB / 415.5 MB, free: 29.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006908/0.1797, allocations: 0.6642 MB / 416.1 MB, free: 29.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1797, allocations: 0 / 416.1 MB, free: 29.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.1801, allocations: 133.3 kB / 416.3 MB, free: 29.41 MB / 330.7 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.001029/0.1811, allocations: 0.6408 MB / 416.9 MB, free: 29.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006979/0.1818, allocations: 0.5 MB / 417.4 MB, free: 28.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1818, allocations: 0 / 417.4 MB, free: 28.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.1821, allocations: 256.7 kB / 417.7 MB, free: 28.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1825, allocations: 103.9 kB / 417.8 MB, free: 28.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1839, allocations: 1.285 MB / 419.1 MB, free: 28.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1842, allocations: 348 kB / 419.4 MB, free: 27.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1844, allocations: 80.08 kB / 419.5 MB, free: 27.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.1845, allocations: 40.33 kB / 419.5 MB, free: 27.93 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1845, allocations: 0 / 419.5 MB, free: 27.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01128/0.1957, allocations: 6.67 MB / 426.2 MB, free: 26.48 MB / 330.7 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.0069447280839086] Failed to read output from testmodel.py, exit status != 0: 0.2019769949838519 0.20981532699999994 0.19657813199999996 Calling exit ...