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.001288/0.001288, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001366/0.001366, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.37/1.37, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 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.03982/0.03982, allocations: 6.482 MB / 265.7 MB, free: 10.24 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.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 1.503e-06/1.503e-06, allocations: 0 / 392.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.081e-05, allocations: 6.281 kB / 392.1 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005502/0.005522, allocations: 3.606 MB / 395.7 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.007811, allocations: 1.172 MB / 396.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.00811, allocations: 11.94 kB / 396.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.008593, allocations: 202.8 kB / 397.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006981/0.009292, allocations: 286.3 kB / 397.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.0101, allocations: 362.6 kB / 397.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008648/0.01096, allocations: 0.6626 MB / 398.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.0114, allocations: 191.8 kB / 398.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.01207, allocations: 379 kB / 399 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.01247, allocations: 255.2 kB / 399.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.01257, allocations: 56 kB / 399.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.01281, allocations: 123.8 kB / 399.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.01305, allocations: 219.3 kB / 399.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.01334, allocations: 207.3 kB / 399.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.01441, allocations: 0.8723 MB / 400.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01442, allocations: 0 / 400.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01442, allocations: 0 / 400.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.01444, allocations: 7.938 kB / 400.7 MB, free: 1.113 MB / 318.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.001907/0.01634, allocations: 1.039 MB / 401.7 MB, free: 36 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.01638, allocations: 12.03 kB / 401.7 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.01654, allocations: 92.42 kB / 401.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.01741, allocations: 0.5332 MB / 402.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/0.01745, allocations: 45.3 kB / 402.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.01752, allocations: 40.38 kB / 402.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008578/0.01838, allocations: 431.8 kB / 402.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.0184, allocations: 0 / 402.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.01844, allocations: 19.98 kB / 402.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.01846, allocations: 12 kB / 402.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.01929, allocations: 311.7 kB / 403.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.02173, allocations: 1.491 MB / 404.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.02258, allocations: 298.4 kB / 405 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.02292, allocations: 120.8 kB / 405.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.02296, allocations: 11.88 kB / 405.1 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004404/0.0234, allocations: 183.8 kB / 405.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.0234, allocations: 4 kB / 405.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001649/0.02505, allocations: 0.5211 MB / 405.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.02509, allocations: 59.39 kB / 405.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.02624, allocations: 0.9299 MB / 406.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.02628, allocations: 33.7 kB / 406.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.02659, allocations: 356.6 kB / 407.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.02668, allocations: 95.19 kB / 407.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.0268, allocations: 74.06 kB / 407.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.027, allocations: 382.7 kB / 407.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.02738, allocations: 150.4 kB / 407.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.0278, allocations: 229.7 kB / 408.1 MB, free: 9.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.02855, allocations: 337.7 kB / 408.4 MB, free: 9.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.02855, allocations: 3.984 kB / 408.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001158/0.02971, allocations: 0.5421 MB / 409 MB, free: 8.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.02975, allocations: 44.75 kB / 409 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.02975, allocations: 0 / 409 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.03002, allocations: 64.81 kB / 409.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.03031, allocations: 67.89 kB / 409.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.03214, allocations: 1.677 MB / 410.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.03241, allocations: 47.75 kB / 410.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.03244, allocations: 12 kB / 410.9 MB, free: 6.492 MB / 334.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.0003069/0.03275, allocations: 272.5 kB / 411.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.68e-05/0.03283, allocations: 67.53 kB / 411.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.03385, allocations: 416 kB / 411.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.03385, allocations: 0 / 411.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.03385, allocations: 4 kB / 411.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.03386, allocations: 0 / 411.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.03433, allocations: 412.9 kB / 412 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.03433, allocations: 0 / 412 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.03459, allocations: 43.97 kB / 412.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.03479, allocations: 52.81 kB / 412.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.03482, allocations: 11.98 kB / 412.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.03652, allocations: 1.673 MB / 413.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.03652, allocations: 0 / 413.8 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.03783, allocations: 0.549 MB / 414.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.03796, allocations: 91.48 kB / 414.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.955e-05/0.03802, allocations: 0 / 414.5 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.03825, allocations: 23.97 kB / 414.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.03834, allocations: 27.95 kB / 414.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.03836, allocations: 7.938 kB / 414.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.03919, allocations: 0.663 MB / 415.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03919, allocations: 4 kB / 415.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000493/0.03968, allocations: 135.7 kB / 415.3 MB, free: 1.902 MB / 334.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.002497/0.04218, allocations: 0.6451 MB / 416 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.04327, allocations: 0.4997 MB / 416.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.04327, allocations: 0 / 416.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.04379, allocations: 258.5 kB / 416.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.04427, allocations: 92.17 kB / 416.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.04638, allocations: 1.296 MB / 418.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.04679, allocations: 345.9 kB / 418.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.04697, allocations: 76.23 kB / 418.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.04709, allocations: 32.5 kB / 418.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.04709, allocations: 0 / 418.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Templates: time 0.01398/0.06107, allocations: 6.643 MB / 425.2 MB, free: 8.277 MB / 350.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.180322378873825] Failed to read output from testmodel.py, exit status != 0: 0.06955964118242264 0.084798331 0.06730999 Calling exit ...