Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001355/0.001355, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001641/0.001641, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.0421/0.0421, allocations: 8.554 MB / 321 MB, free: 10.41 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",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.00343/0.00343, allocations: 71.89 kB / 446.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1189, allocations: 55.42 MB / 0.4905 GB, free: 8.113 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005745/0.1246, allocations: 3.67 MB / 0.4941 GB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1278, allocations: 1.889 MB / 0.496 GB, free: 2.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.128, allocations: 15.94 kB / 0.496 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.1285, allocations: 206.8 kB / 0.4962 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007056/0.1292, allocations: 294.5 kB / 0.4964 GB, free: 2.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.1301, allocations: 374.5 kB / 0.4968 GB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.1309, allocations: 0.6861 MB / 0.4975 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000437/0.1313, allocations: 229.7 kB / 0.4977 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.1318, allocations: 294.8 kB / 0.498 GB, free: 452 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.1322, allocations: 310.5 kB / 0.4983 GB, free: 140 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.1323, allocations: 64 kB / 0.4983 GB, free: 76 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.1325, allocations: 128 kB / 0.4985 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.1327, allocations: 227.2 kB / 0.4987 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.133, allocations: 286.3 kB / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1341, allocations: 0.957 MB / 0.4999 GB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1341, allocations: 3.938 kB / 0.4999 GB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1341, allocations: 0 / 0.4999 GB, free: 14.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.1341, allocations: 0 / 0.4999 GB, free: 14.48 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002015/0.1362, allocations: 1.109 MB / 0.501 GB, free: 13.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1362, allocations: 8.031 kB / 0.501 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.1363, allocations: 90.7 kB / 0.5011 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.1365, allocations: 92.33 kB / 0.5011 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.1375, allocations: 0.5454 MB / 0.5017 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.1375, allocations: 40.94 kB / 0.5017 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.1376, allocations: 48 kB / 0.5018 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1387, allocations: 487.8 kB / 0.5022 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.1387, allocations: 0 / 0.5022 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.1387, allocations: 20 kB / 0.5022 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.1387, allocations: 12 kB / 0.5023 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.1397, allocations: 355.7 kB / 0.5026 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.1428, allocations: 1.658 MB / 0.5042 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008801/0.1437, allocations: 326.6 kB / 0.5045 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.144, allocations: 125.3 kB / 0.5046 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.1441, allocations: 15.98 kB / 0.5047 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.1446, allocations: 195.2 kB / 0.5048 GB, free: 9.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/0.1446, allocations: 0 / 0.5048 GB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001843/0.1465, allocations: 0.5798 MB / 0.5054 GB, free: 8.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1465, allocations: 55.41 kB / 0.5055 GB, free: 8.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.1478, allocations: 0.9534 MB / 0.5064 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.1478, allocations: 37.7 kB / 0.5064 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.1481, allocations: 372.4 kB / 0.5068 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1482, allocations: 107 kB / 0.5069 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1484, allocations: 82.12 kB / 0.507 GB, free: 6.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1485, allocations: 326 kB / 0.5073 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.1489, allocations: 166.5 kB / 0.5074 GB, free: 6.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.1494, allocations: 236.8 kB / 0.5077 GB, free: 6.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008245/0.1502, allocations: 372 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1502, allocations: 0 / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001353/0.1516, allocations: 0.5674 MB / 0.5086 GB, free: 5.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.1516, allocations: 33.7 kB / 0.5086 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1516, allocations: 3.938 kB / 0.5086 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.1519, allocations: 64.75 kB / 0.5087 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.1523, allocations: 76.05 kB / 0.5087 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.1543, allocations: 1.699 MB / 0.5104 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1546, allocations: 51.78 kB / 0.5105 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.1547, allocations: 20.25 kB / 0.5105 GB, free: 3.176 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: 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.0003845/0.155, allocations: 265.7 kB / 0.5107 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.1551, allocations: 67.53 kB / 0.5108 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.1562, allocations: 442.2 kB / 0.5112 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1562, allocations: 8 kB / 0.5112 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1562, allocations: 0 / 0.5112 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.1562, allocations: 3.984 kB / 0.5112 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.1569, allocations: 0.4962 MB / 0.5117 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1569, allocations: 3.938 kB / 0.5117 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.1572, allocations: 47.95 kB / 0.5118 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.1574, allocations: 56.81 kB / 0.5118 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.1574, allocations: 12 kB / 0.5118 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1833/0.3407, allocations: 1.682 MB / 0.5135 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3408, allocations: 1.125 kB / 0.5135 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.3421, allocations: 0.595 MB / 0.514 GB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.3423, allocations: 89.97 kB / 0.5141 GB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.3424, allocations: 8.438 kB / 0.5141 GB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.3426, allocations: 26.88 kB / 0.5142 GB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.3427, allocations: 30.27 kB / 0.5142 GB, free: 26.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3427, allocations: 9.984 kB / 0.5142 GB, free: 26.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000715/0.3434, allocations: 0.6829 MB / 0.5149 GB, free: 25.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3434, allocations: 0 / 0.5149 GB, free: 25.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005437/0.344, allocations: 142.8 kB / 0.515 GB, free: 25.96 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.003756/0.3477, allocations: 1.697 MB / 0.5167 GB, free: 25.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.349, allocations: 0.528 MB / 0.5172 GB, free: 25.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.349, allocations: 1.219 kB / 0.5172 GB, free: 25.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005381/0.3495, allocations: 276.2 kB / 0.5174 GB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.3501, allocations: 99.03 kB / 0.5175 GB, free: 24.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009487/0.3595, allocations: 6.657 MB / 0.524 GB, free: 22.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.36, allocations: 368.8 kB / 0.5244 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.3603, allocations: 76.58 kB / 0.5245 GB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.3606, allocations: 259.2 kB / 0.5247 GB, free: 22.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.502e-06/0.3606, allocations: 0 / 0.5247 GB, free: 22.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05059/0.4112, allocations: 15.09 MB / 0.5394 GB, free: 17.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.31, allocations: 4.25 kB / 0.5395 GB, free: 17.24 MB / 382.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.98346596583724] Failed to read output from testmodel.py, exit status != 0: 13.494541139807552 13.504884598 13.36833749 Calling exit ...