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.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.001302/0.001302, allocations: 110.9 kB / 16.46 MB, free: 6.035 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.001273/0.001273, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04184/0.04184, allocations: 8.545 MB / 311.2 MB, free: 1.309 MB / 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-main/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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 63.91 kB / 433.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 54.2 MB / 487.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006115/0.1093, allocations: 3.857 MB / 491.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.112, allocations: 1.721 MB / 493 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1123, allocations: 11.94 kB / 493 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.1127, allocations: 206.9 kB / 493.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.1133, allocations: 238.7 kB / 493.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008304/0.1141, allocations: 380.9 kB / 493.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.1149, allocations: 0.6666 MB / 494.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.1154, allocations: 237.3 kB / 494.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.1158, allocations: 270.9 kB / 495 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.1162, allocations: 346.5 kB / 495.3 MB, free: 304 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.312e-05/0.1163, allocations: 60 kB / 495.4 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.1165, allocations: 128 kB / 495.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.1168, allocations: 227.3 kB / 495.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.1171, allocations: 369.8 kB / 496.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1181, allocations: 0.9258 MB / 497 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1181, allocations: 0 / 497 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1181, allocations: 4 kB / 497 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.1182, allocations: 0 / 497 MB, free: 14.59 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.001887/0.12, allocations: 1.165 MB / 498.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1201, allocations: 15.88 kB / 498.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.12e-05/0.1202, allocations: 82.72 kB / 498.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1203, allocations: 96.33 kB / 498.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008492/0.1212, allocations: 0.6058 MB / 499 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.1212, allocations: 37 kB / 499 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.1213, allocations: 55.98 kB / 499.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.1222, allocations: 479.8 kB / 499.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.1222, allocations: 3.984 kB / 499.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.1223, allocations: 20 kB / 499.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.1223, allocations: 12 kB / 499.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008603/0.1232, allocations: 351.7 kB / 499.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.1259, allocations: 1.871 MB / 0.49 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.1268, allocations: 335.6 kB / 0.4904 GB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.1271, allocations: 136.8 kB / 0.4905 GB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.1272, allocations: 3.984 kB / 0.4905 GB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.1276, allocations: 191.3 kB / 0.4907 GB, free: 8.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.1276, allocations: 0 / 0.4907 GB, free: 8.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001719/0.1293, allocations: 0.6472 MB / 0.4913 GB, free: 8.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.1294, allocations: 59.41 kB / 0.4914 GB, free: 8.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.1305, allocations: 0.9338 MB / 0.4923 GB, free: 7.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1306, allocations: 37.7 kB / 0.4923 GB, free: 7.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.131, allocations: 364.5 kB / 0.4927 GB, free: 6.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.1311, allocations: 107.1 kB / 0.4928 GB, free: 6.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1312, allocations: 86.05 kB / 0.4928 GB, free: 6.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.1314, allocations: 382.8 kB / 0.4932 GB, free: 6.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.1318, allocations: 132.8 kB / 0.4933 GB, free: 6.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.1323, allocations: 211.1 kB / 0.4935 GB, free: 5.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.133, allocations: 372.2 kB / 0.4939 GB, free: 5.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.133, allocations: 4 kB / 0.4939 GB, free: 5.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001126/0.1341, allocations: 0.5268 MB / 0.4944 GB, free: 4.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.1342, allocations: 33.69 kB / 0.4944 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1342, allocations: 7.938 kB / 0.4944 GB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.1345, allocations: 60.81 kB / 0.4945 GB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.1348, allocations: 75.83 kB / 0.4946 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.1367, allocations: 1.83 MB / 0.4964 GB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.137, allocations: 47.75 kB / 0.4964 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.137, allocations: 12 kB / 0.4964 GB, free: 2.762 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.0004472/0.1375, allocations: 266.2 kB / 0.4967 GB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.1376, allocations: 71.53 kB / 0.4967 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1386, allocations: 438.2 kB / 0.4972 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1386, allocations: 4 kB / 0.4972 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1386, allocations: 3.984 kB / 0.4972 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1386, allocations: 0 / 0.4972 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.1393, allocations: 0.5791 MB / 0.4977 GB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1393, allocations: 4.188 kB / 0.4977 GB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.1395, allocations: 47.91 kB / 0.4978 GB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.1397, allocations: 60.81 kB / 0.4978 GB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1397, allocations: 4 kB / 0.4978 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.1416, allocations: 1.818 MB / 0.4996 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1416, allocations: 0 / 0.4996 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1429, allocations: 0.5921 MB / 0.5002 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.1431, allocations: 168.6 kB / 0.5004 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.1432, allocations: 4 kB / 0.5004 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1434, allocations: 28.09 kB / 0.5004 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.1435, allocations: 31.98 kB / 0.5004 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.1435, allocations: 16 kB / 0.5004 GB, free: 14.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008141/0.1443, allocations: 0.6708 MB / 0.5011 GB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1443, allocations: 0 / 0.5011 GB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005167/0.1449, allocations: 143.6 kB / 0.5012 GB, free: 13.59 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.003865/0.1487, allocations: 1.634 MB / 0.5028 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1498, allocations: 0.5022 MB / 0.5033 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1498, allocations: 0 / 0.5033 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.1504, allocations: 282.8 kB / 0.5036 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.1508, allocations: 92.81 kB / 0.5037 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009816/0.1607, allocations: 6.481 MB / 0.51 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/0.1613, allocations: 0.9596 MB / 0.5109 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.1616, allocations: 76.33 kB / 0.511 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.1619, allocations: 251.4 kB / 0.5112 GB, free: 3.367 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1619, allocations: 0 / 0.5112 GB, free: 3.367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2329/0.3948, allocations: 14.18 MB / 0.5251 GB, free: 35.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.31, allocations: 10.5 kB / 0.5251 GB, free: 35.55 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.984827119857073] Failed to read output from testmodel.py, exit status != 0: 13.459301814902574 13.471125131 13.350728944 Calling exit ...