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.001228/0.001228, allocations: 78.02 kB / 19.18 MB, free: 2.531 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.001369/0.001369, allocations: 170.7 kB / 22.46 MB, free: 5.352 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.38/1.38, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.03874/0.03874, allocations: 6.482 MB / 265.7 MB, free: 10.27 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 392.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.709e-05, allocations: 6.219 kB / 392.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00554/0.005567, allocations: 3.687 MB / 395.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.008495, allocations: 1.889 MB / 397.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.008703, allocations: 11.94 kB / 397.7 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.009184, allocations: 218.7 kB / 397.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000644/0.009828, allocations: 290.4 kB / 398.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.01056, allocations: 390.5 kB / 398.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007648/0.01133, allocations: 0.6977 MB / 399.3 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.01173, allocations: 217.8 kB / 399.5 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.01226, allocations: 407 kB / 399.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.01264, allocations: 275.2 kB / 400.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.913e-05/0.01273, allocations: 63.94 kB / 400.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.01292, allocations: 123.9 kB / 400.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.01317, allocations: 235.2 kB / 400.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.01341, allocations: 223.3 kB / 400.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.01443, allocations: 0.9345 MB / 401.8 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01444, allocations: 0 / 401.8 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01444, allocations: 0 / 401.8 MB, free: 68 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.01445, allocations: 0 / 401.8 MB, free: 68 kB / 318.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.001793/0.01624, allocations: 1.086 MB / 402.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.01627, allocations: 8.031 kB / 402.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.01642, allocations: 96.33 kB / 402.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.01724, allocations: 0.5488 MB / 403.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.01729, allocations: 37.38 kB / 403.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.01737, allocations: 56.31 kB / 403.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009487/0.01832, allocations: 487.8 kB / 404.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.01834, allocations: 3.953 kB / 404.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.01838, allocations: 19.98 kB / 404.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.0184, allocations: 12 kB / 404.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.01932, allocations: 351.7 kB / 404.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.02185, allocations: 1.577 MB / 406 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/0.0227, allocations: 322.7 kB / 406.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.02307, allocations: 132.8 kB / 406.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.0231, allocations: 4 kB / 406.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.02359, allocations: 203.7 kB / 406.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.0236, allocations: 0 / 406.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.001777/0.02537, allocations: 0.5758 MB / 407.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.02542, allocations: 55.41 kB / 407.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.02655, allocations: 0.9339 MB / 408.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.02658, allocations: 37.69 kB / 408.3 MB, free: 9.344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.0269, allocations: 376.3 kB / 408.6 MB, free: 8.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.693e-05/0.027, allocations: 107.1 kB / 408.7 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.02713, allocations: 78.19 kB / 408.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.02732, allocations: 378.8 kB / 409.2 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.02775, allocations: 170.6 kB / 409.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.02822, allocations: 241.2 kB / 409.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/0.02905, allocations: 360.3 kB / 409.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02905, allocations: 0 / 409.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00125/0.0303, allocations: 0.5672 MB / 410.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.03034, allocations: 41.69 kB / 410.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.03035, allocations: 0 / 410.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.03063, allocations: 57.03 kB / 410.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.03093, allocations: 83.83 kB / 410.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.03271, allocations: 1.676 MB / 412.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.03301, allocations: 55.81 kB / 412.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.03304, allocations: 8 kB / 412.4 MB, free: 4.965 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: 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.0003271/0.03337, allocations: 289.2 kB / 412.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.03345, allocations: 71.47 kB / 412.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.03456, allocations: 450.1 kB / 413.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.03456, allocations: 4 kB / 413.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.03456, allocations: 0 / 413.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.03457, allocations: 0 / 413.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.03506, allocations: 424.9 kB / 413.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.03507, allocations: 0 / 413.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.03533, allocations: 47.95 kB / 413.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002038/0.03553, allocations: 60.81 kB / 413.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.03556, allocations: 8.188 kB / 413.7 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.03723, allocations: 1.672 MB / 415.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.03723, allocations: 3.938 kB / 415.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.03865, allocations: 0.5924 MB / 416 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.03878, allocations: 87.48 kB / 416.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.03884, allocations: 4 kB / 416.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.03907, allocations: 27.97 kB / 416.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.03916, allocations: 31.94 kB / 416.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.03919, allocations: 8 kB / 416.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000813/0.04, allocations: 0.6708 MB / 416.8 MB, free: 384 kB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04, allocations: 0 / 416.8 MB, free: 384 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005085/0.04051, allocations: 139.6 kB / 417 MB, free: 244 kB / 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: 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.002506/0.04301, allocations: 0.6561 MB / 417.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.04418, allocations: 0.5268 MB / 418.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.04418, allocations: 448 / 418.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.04473, allocations: 278.5 kB / 418.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.04523, allocations: 98.02 kB / 418.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.04736, allocations: 1.352 MB / 419.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.04775, allocations: 362.7 kB / 420.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.04793, allocations: 84.31 kB / 420.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.04805, allocations: 40.5 kB / 420.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.04805, allocations: 0 / 420.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.01362/0.06168, allocations: 6.868 MB / 427.2 MB, free: 6.234 MB / 350.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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.20748782530427] Failed to read output from testmodel.py, exit status != 0: 0.06988624483346939 0.083686115 0.066355379 Calling exit ...