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.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.001487/0.001487, allocations: 107.5 kB / 18.88 MB, free: 3.066 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.001567/0.001567, allocations: 192.9 kB / 22.17 MB, free: 5.641 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.343/1.343, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.04079/0.04079, allocations: 8.548 MB / 314.7 MB, free: 288 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.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 0.001876/0.001876, allocations: 68.08 kB / 438.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.08703, allocations: 54.2 MB / 492.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005676/0.0927, allocations: 3.878 MB / 496.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.09545, allocations: 1.808 MB / 498.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.09571, allocations: 11.94 kB / 498.6 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.09618, allocations: 210.9 kB / 498.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.09672, allocations: 238.8 kB / 499 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.09753, allocations: 377.4 kB / 499.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007506/0.09828, allocations: 0.6627 MB / 0.4883 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.0987, allocations: 233.3 kB / 0.4885 GB, free: 14.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.09906, allocations: 274.9 kB / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.09951, allocations: 342.5 kB / 0.4891 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.842e-05/0.0996, allocations: 60 kB / 0.4892 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.09979, allocations: 120 kB / 0.4893 GB, free: 13.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.1, allocations: 231.2 kB / 0.4895 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.1003, allocations: 369.8 kB / 0.4899 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.1014, allocations: 0.9297 MB / 0.4908 GB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1014, allocations: 0 / 0.4908 GB, free: 12.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1014, allocations: 0 / 0.4908 GB, free: 12.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1014, allocations: 0 / 0.4908 GB, free: 12.41 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001871/0.1033, allocations: 1.153 MB / 0.4919 GB, free: 11.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1033, allocations: 15.88 kB / 0.4919 GB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1035, allocations: 100.3 kB / 0.492 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.1043, allocations: 0.5943 MB / 0.4926 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.1043, allocations: 40.94 kB / 0.4926 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/0.1044, allocations: 51.98 kB / 0.4927 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.1053, allocations: 483.8 kB / 0.4931 GB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.1054, allocations: 7.953 kB / 0.4932 GB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.1054, allocations: 19.98 kB / 0.4932 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1054, allocations: 12 kB / 0.4932 GB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008908/0.1063, allocations: 351.7 kB / 0.4935 GB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.109, allocations: 1.859 MB / 0.4953 GB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008463/0.1099, allocations: 325.8 kB / 0.4956 GB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.1103, allocations: 136.8 kB / 0.4958 GB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1103, allocations: 8.078 kB / 0.4958 GB, free: 7.086 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.1108, allocations: 191.2 kB / 0.496 GB, free: 6.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.1108, allocations: 0 / 0.496 GB, free: 6.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001803/0.1126, allocations: 0.6518 MB / 0.4966 GB, free: 6.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1126, allocations: 59.34 kB / 0.4967 GB, free: 6.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.1138, allocations: 0.9222 MB / 0.4976 GB, free: 5.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1138, allocations: 33.7 kB / 0.4976 GB, free: 5.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.1141, allocations: 372.3 kB / 0.4979 GB, free: 4.801 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.1142, allocations: 99.16 kB / 0.498 GB, free: 4.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1144, allocations: 90.08 kB / 0.4981 GB, free: 4.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1146, allocations: 386.7 kB / 0.4985 GB, free: 4.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.115, allocations: 136.8 kB / 0.4986 GB, free: 4.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.1154, allocations: 207.1 kB / 0.4988 GB, free: 3.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.1162, allocations: 364.2 kB / 0.4992 GB, free: 3.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1162, allocations: 7.875 kB / 0.4992 GB, free: 3.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001215/0.1174, allocations: 0.5267 MB / 0.4997 GB, free: 2.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.1174, allocations: 37.69 kB / 0.4997 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1175, allocations: 0 / 0.4997 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.1177, allocations: 68.97 kB / 0.4998 GB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.118, allocations: 79.83 kB / 0.4999 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.1199, allocations: 1.803 MB / 0.5016 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.1203, allocations: 59.67 kB / 0.5017 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.1203, allocations: 20.06 kB / 0.5017 GB, free: 0.7148 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: 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.0003649/0.1207, allocations: 266.2 kB / 0.502 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.1207, allocations: 67.58 kB / 0.502 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.1218, allocations: 433.6 kB / 0.5024 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1218, allocations: 7.984 kB / 0.5024 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1218, allocations: 0 / 0.5024 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1218, allocations: 3.984 kB / 0.5025 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.1225, allocations: 0.5868 MB / 0.503 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1225, allocations: 0 / 0.503 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.1227, allocations: 47.89 kB / 0.5031 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/0.1229, allocations: 64.81 kB / 0.5031 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.123, allocations: 4 kB / 0.5031 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.1248, allocations: 1.807 MB / 0.5049 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1248, allocations: 0 / 0.5049 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1262, allocations: 0.589 MB / 0.5055 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.1264, allocations: 160.6 kB / 0.5056 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.1265, allocations: 12 kB / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.1267, allocations: 23.97 kB / 0.5057 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.1268, allocations: 35.84 kB / 0.5057 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1268, allocations: 7.984 kB / 0.5057 GB, free: 12.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008395/0.1276, allocations: 0.663 MB / 0.5064 GB, free: 11.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1276, allocations: 0 / 0.5064 GB, free: 11.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005538/0.1282, allocations: 143.6 kB / 0.5065 GB, free: 11.56 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: 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.002236/0.1304, allocations: 0.5997 MB / 0.5071 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.1316, allocations: 0.4903 MB / 0.5076 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1316, allocations: 3.938 kB / 0.5076 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.1321, allocations: 286.9 kB / 0.5078 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.1327, allocations: 91.69 kB / 0.5079 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.135, allocations: 1.456 MB / 0.5093 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006143/0.1356, allocations: 0.9596 MB / 0.5103 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1358, allocations: 35.44 kB / 0.5103 GB, free: 7.824 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1358, allocations: 0 / 0.5103 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Templates: time 0.1791/0.3148, allocations: 11.21 MB / 0.5213 GB, free: 36.3 MB / 382.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: 7.873076435178518] Failed to read output from testmodel.py, exit status != 0: 0.3214992629364133 0.33345301600000005 0.22956189700000001 Calling exit ...