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.00138/0.00138, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001371/0.001371, allocations: 198.4 kB / 22.17 MB, free: 5.211 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.479/1.479, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] 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.04253/0.04253, allocations: 8.545 MB / 314.7 MB, free: 292 kB / 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/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.0031/0.0031, allocations: 67.88 kB / 438.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1677, allocations: 54.2 MB / 492.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.0093/0.177, allocations: 3.796 MB / 496.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002908/0.1799, allocations: 1.098 MB / 497.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/0.1803, allocations: 8 kB / 497.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.1808, allocations: 206.9 kB / 498 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.1814, allocations: 222.8 kB / 498.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008603/0.1823, allocations: 372.2 kB / 498.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008188/0.1831, allocations: 0.6238 MB / 499.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.1835, allocations: 195.5 kB / 499.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.1839, allocations: 270.8 kB / 499.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.1843, allocations: 314.7 kB / 499.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.871e-05/0.1844, allocations: 52 kB / 500 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.1846, allocations: 112 kB / 0.4884 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.1849, allocations: 215.3 kB / 0.4886 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.1852, allocations: 345.9 kB / 0.4889 GB, free: 14.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1863, allocations: 0.8714 MB / 0.4897 GB, free: 13.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1863, allocations: 3.938 kB / 0.4898 GB, free: 13.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1863, allocations: 0 / 0.4898 GB, free: 13.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1863, allocations: 0 / 0.4898 GB, free: 13.49 MB / 366.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.001992/0.1883, allocations: 1.114 MB / 0.4908 GB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1883, allocations: 15.89 kB / 0.4909 GB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.1885, allocations: 88.38 kB / 0.4909 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.1894, allocations: 0.5865 MB / 0.4915 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.158e-05/0.1894, allocations: 36.94 kB / 0.4915 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.66e-05/0.1895, allocations: 44 kB / 0.4916 GB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008853/0.1904, allocations: 427.9 kB / 0.492 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1904, allocations: 3.938 kB / 0.492 GB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.1905, allocations: 16 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1905, allocations: 12 kB / 0.492 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.1913, allocations: 311.8 kB / 0.4923 GB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.1942, allocations: 1.754 MB / 0.494 GB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.1951, allocations: 302.9 kB / 0.4943 GB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.1954, allocations: 121.7 kB / 0.4944 GB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.1955, allocations: 4 kB / 0.4944 GB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.1959, allocations: 187.1 kB / 0.4946 GB, free: 8.277 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.043e-06/0.1959, allocations: 0 / 0.4946 GB, free: 8.277 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001771/0.1977, allocations: 0.5964 MB / 0.4952 GB, free: 7.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1978, allocations: 67.33 kB / 0.4953 GB, free: 7.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.1991, allocations: 0.9143 MB / 0.4962 GB, free: 6.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.1991, allocations: 33.69 kB / 0.4962 GB, free: 6.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.1995, allocations: 348.5 kB / 0.4965 GB, free: 6.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1996, allocations: 95.27 kB / 0.4966 GB, free: 6.172 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.1997, allocations: 82.06 kB / 0.4967 GB, free: 6.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.2, allocations: 374.8 kB / 0.4971 GB, free: 5.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.2003, allocations: 128.7 kB / 0.4972 GB, free: 5.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.2008, allocations: 196 kB / 0.4974 GB, free: 5.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008044/0.2016, allocations: 337.6 kB / 0.4977 GB, free: 5.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.2016, allocations: 4 kB / 0.4977 GB, free: 5 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001324/0.2029, allocations: 0.521 MB / 0.4982 GB, free: 4.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.203, allocations: 32.52 kB / 0.4982 GB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.203, allocations: 4 kB / 0.4982 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/0.2033, allocations: 65.03 kB / 0.4983 GB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.2036, allocations: 67.89 kB / 0.4984 GB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.2058, allocations: 1.814 MB / 0.5001 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.2062, allocations: 47.7 kB / 0.5002 GB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.2062, allocations: 12 kB / 0.5002 GB, free: 2.285 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.0003718/0.2066, allocations: 269.4 kB / 0.5004 GB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.2067, allocations: 71.45 kB / 0.5005 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.2077, allocations: 407.8 kB / 0.5009 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2077, allocations: 7.938 kB / 0.5009 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2077, allocations: 0 / 0.5009 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2077, allocations: 0 / 0.5009 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.2084, allocations: 0.5324 MB / 0.5014 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2084, allocations: 0 / 0.5014 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.2087, allocations: 47.89 kB / 0.5015 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.2089, allocations: 60.81 kB / 0.5015 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.2089, allocations: 4 kB / 0.5015 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.2108, allocations: 1.818 MB / 0.5033 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2108, allocations: 0 / 0.5033 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.2122, allocations: 0.549 MB / 0.5039 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.2124, allocations: 156.7 kB / 0.504 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.2124, allocations: 4 kB / 0.504 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2126, allocations: 19.97 kB / 0.504 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.2127, allocations: 31.97 kB / 0.5041 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.2128, allocations: 11.98 kB / 0.5041 GB, free: 14.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00086/0.2136, allocations: 0.6552 MB / 0.5047 GB, free: 13.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2136, allocations: 0 / 0.5047 GB, free: 13.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005579/0.2142, allocations: 131.7 kB / 0.5048 GB, free: 13.29 MB / 382.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.00239/0.2166, allocations: 0.6012 MB / 0.5054 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.2178, allocations: 473.7 kB / 0.5059 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2178, allocations: 0 / 0.5059 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.2183, allocations: 266.9 kB / 0.5061 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.2188, allocations: 89.64 kB / 0.5062 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.2212, allocations: 1.359 MB / 0.5075 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.2218, allocations: 0.9401 MB / 0.5085 GB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.222, allocations: 76.23 kB / 0.5085 GB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2222, allocations: 35.44 kB / 0.5086 GB, free: 9.645 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2222, allocations: 0 / 0.5086 GB, free: 9.645 MB / 382.1 MB Notification: Performance of Templates: time 0.01521/0.2374, allocations: 6.764 MB / 0.5152 GB, free: 2.898 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 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.079029485117644] Failed to read output from testmodel.py, exit status != 0: 0.24808961665257812 0.451694363 0.262691787 Calling exit ...