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.001886/0.001886, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002415/0.002415, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.969 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.0442/0.0442, allocations: 8.538 MB / 321 MB, free: 10.61 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 63.91 kB / 446.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1098, allocations: 55.43 MB / 0.4906 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00609/0.1159, allocations: 3.876 MB / 0.4944 GB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.1182, allocations: 1.242 MB / 0.4956 GB, free: 3.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.1185, allocations: 8 kB / 0.4956 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.119, allocations: 210.8 kB / 0.4958 GB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.1196, allocations: 278.6 kB / 0.4961 GB, free: 2.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.1204, allocations: 370.8 kB / 0.4964 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007895/0.1212, allocations: 0.6472 MB / 0.497 GB, free: 1.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.1216, allocations: 195.8 kB / 0.4972 GB, free: 1.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.122, allocations: 282.9 kB / 0.4975 GB, free: 1.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.1224, allocations: 318.6 kB / 0.4978 GB, free: 1.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.839e-05/0.1225, allocations: 56 kB / 0.4979 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.1227, allocations: 119.9 kB / 0.498 GB, free: 0.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.1229, allocations: 211.3 kB / 0.4982 GB, free: 0.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.1233, allocations: 357.8 kB / 0.4985 GB, free: 280 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.1243, allocations: 0.8948 MB / 0.4994 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1243, allocations: 0 / 0.4994 GB, free: 15.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1243, allocations: 8 kB / 0.4994 GB, free: 15.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1243, allocations: 0 / 0.4994 GB, free: 15.37 MB / 382.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.001879/0.1262, allocations: 1.054 MB / 0.5004 GB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1263, allocations: 12.03 kB / 0.5004 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.214e-05/0.1263, allocations: 78.72 kB / 0.5005 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.1265, allocations: 92.33 kB / 0.5006 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008314/0.1273, allocations: 0.5377 MB / 0.5011 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.1274, allocations: 29 kB / 0.5011 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/0.1274, allocations: 51.94 kB / 0.5012 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/0.1282, allocations: 431.9 kB / 0.5016 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1283, allocations: 0 / 0.5016 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.1283, allocations: 19.98 kB / 0.5016 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1283, allocations: 12 kB / 0.5016 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007757/0.1291, allocations: 307.7 kB / 0.5019 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.1317, allocations: 1.697 MB / 0.5036 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.1326, allocations: 306.7 kB / 0.5039 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.1329, allocations: 112.8 kB / 0.504 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.133, allocations: 7.938 kB / 0.504 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.1334, allocations: 191.1 kB / 0.5042 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.1334, allocations: 0 / 0.5042 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001626/0.135, allocations: 0.5212 MB / 0.5047 GB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.1351, allocations: 67.33 kB / 0.5048 GB, free: 9.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.1363, allocations: 0.9457 MB / 0.5057 GB, free: 8.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.1363, allocations: 29.7 kB / 0.5057 GB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003429/0.1367, allocations: 356.5 kB / 0.506 GB, free: 8.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.194e-05/0.1368, allocations: 99.19 kB / 0.5061 GB, free: 8.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1369, allocations: 74.03 kB / 0.5062 GB, free: 8.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.1371, allocations: 386.8 kB / 0.5066 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.1375, allocations: 124.7 kB / 0.5067 GB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.1379, allocations: 199.7 kB / 0.5069 GB, free: 7.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.1386, allocations: 341.6 kB / 0.5072 GB, free: 7.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1386, allocations: 0 / 0.5072 GB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001136/0.1397, allocations: 0.502 MB / 0.5077 GB, free: 6.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.1398, allocations: 37.69 kB / 0.5077 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1398, allocations: 4 kB / 0.5077 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.1401, allocations: 60.81 kB / 0.5078 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.1404, allocations: 71.89 kB / 0.5079 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.1423, allocations: 1.711 MB / 0.5095 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.1426, allocations: 51.78 kB / 0.5096 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.1426, allocations: 8 kB / 0.5096 GB, free: 4.469 MB / 382.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.0003936/0.143, allocations: 280.4 kB / 0.5099 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.1431, allocations: 67.53 kB / 0.5099 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.1441, allocations: 413.2 kB / 0.5103 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.1441, allocations: 7.938 kB / 0.5103 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.1441, allocations: 0 / 0.5103 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1441, allocations: 0 / 0.5103 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.1447, allocations: 0.5197 MB / 0.5108 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1447, allocations: 0 / 0.5108 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1449, allocations: 47.95 kB / 0.5109 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002124/0.1452, allocations: 56.81 kB / 0.5109 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1452, allocations: 8 kB / 0.5109 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.147, allocations: 1.715 MB / 0.5126 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.147, allocations: 64 / 0.5126 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.1482, allocations: 0.5562 MB / 0.5132 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1484, allocations: 83.48 kB / 0.5132 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.1485, allocations: 8 kB / 0.5133 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.1487, allocations: 23.97 kB / 0.5133 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.1488, allocations: 23.95 kB / 0.5133 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.1488, allocations: 11.98 kB / 0.5133 GB, free: 476 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1878/0.3366, allocations: 0.675 MB / 0.514 GB, free: 26.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3366, allocations: 1.312 kB / 0.514 GB, free: 26.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008031/0.3374, allocations: 126.5 kB / 0.5141 GB, free: 26.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.00364/0.341, allocations: 1.592 MB / 0.5156 GB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.342, allocations: 481 kB / 0.5161 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.342, allocations: 1.656 kB / 0.5161 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.3425, allocations: 261.8 kB / 0.5164 GB, free: 25.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.343, allocations: 90.64 kB / 0.5164 GB, free: 25.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007982/0.351, allocations: 6.369 MB / 0.5227 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.3514, allocations: 0.9504 MB / 0.5236 GB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.3516, allocations: 77.44 kB / 0.5237 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.3519, allocations: 245.1 kB / 0.5239 GB, free: 22.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3519, allocations: 0 / 0.5239 GB, free: 22.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.4024, allocations: 14.11 MB / 0.5377 GB, free: 18.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.37, allocations: 15 kB / 0.5377 GB, free: 18.44 MB / 382.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.119699879083782] Failed to read output from testmodel.py, exit status != 0: 14.54299817304127 14.555273095 14.42865829 Calling exit ...