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.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: 101.5 kB / 19.73 MB, free: 2.23 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.001893/0.001893, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.04633/0.04633, allocations: 8.545 MB / 321.8 MB, free: 10.63 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.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="cs",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.001976/0.001976, allocations: 59.97 kB / 447.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1116, allocations: 55.41 MB / 0.4913 GB, free: 8.465 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006198/0.1178, allocations: 3.974 MB / 0.4952 GB, free: 4.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.1212, allocations: 1.948 MB / 0.4971 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.1216, allocations: 11.94 kB / 0.4971 GB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.1221, allocations: 222.7 kB / 0.4973 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006654/0.1227, allocations: 282.5 kB / 0.4976 GB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008658/0.1236, allocations: 389.3 kB / 0.498 GB, free: 1.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.1245, allocations: 0.6745 MB / 0.4986 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.125, allocations: 241.7 kB / 0.4989 GB, free: 0.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.1254, allocations: 294.8 kB / 0.4992 GB, free: 428 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.1259, allocations: 350.5 kB / 0.4995 GB, free: 76 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.126, allocations: 64 kB / 0.4996 GB, free: 12 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.1262, allocations: 124 kB / 0.4997 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.1264, allocations: 231.2 kB / 0.4999 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.1268, allocations: 373.8 kB / 0.5003 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.128, allocations: 0.9492 MB / 0.5012 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.128, allocations: 0 / 0.5012 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.128, allocations: 0 / 0.5012 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.128, allocations: 0 / 0.5012 GB, free: 14.34 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.002096/0.1301, allocations: 1.105 MB / 0.5023 GB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1301, allocations: 11.97 kB / 0.5023 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.901e-05/0.1302, allocations: 13.19 kB / 0.5023 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.553e-05/0.1302, allocations: 90.7 kB / 0.5024 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1304, allocations: 92.33 kB / 0.5025 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008622/0.1313, allocations: 0.5569 MB / 0.503 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.1313, allocations: 37 kB / 0.503 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.1314, allocations: 48 kB / 0.5031 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.1324, allocations: 479.8 kB / 0.5035 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1324, allocations: 4 kB / 0.5035 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.1324, allocations: 20 kB / 0.5036 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1325, allocations: 16 kB / 0.5036 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/0.1334, allocations: 351.7 kB / 0.5039 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.1364, allocations: 1.798 MB / 0.5057 GB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008994/0.1373, allocations: 334.6 kB / 0.506 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.1376, allocations: 129.3 kB / 0.5061 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.1377, allocations: 4 kB / 0.5061 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.1382, allocations: 203.2 kB / 0.5063 GB, free: 8.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.434e-06/0.1382, allocations: 0 / 0.5063 GB, free: 8.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001885/0.1401, allocations: 0.5719 MB / 0.5069 GB, free: 8.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1401, allocations: 59.41 kB / 0.5069 GB, free: 8.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1414, allocations: 0.9496 MB / 0.5078 GB, free: 7.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.1415, allocations: 41.62 kB / 0.5079 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.1418, allocations: 380.5 kB / 0.5083 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.142, allocations: 103.2 kB / 0.5084 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.1421, allocations: 82.08 kB / 0.5084 GB, free: 6.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1423, allocations: 325.9 kB / 0.5087 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.1427, allocations: 140.8 kB / 0.5089 GB, free: 6.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.1432, allocations: 211.1 kB / 0.5091 GB, free: 5.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008253/0.144, allocations: 364.1 kB / 0.5094 GB, free: 5.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.144, allocations: 0 / 0.5094 GB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001315/0.1453, allocations: 0.5422 MB / 0.51 GB, free: 5.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.1453, allocations: 37.64 kB / 0.51 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1454, allocations: 0 / 0.51 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.1456, allocations: 60.81 kB / 0.51 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.146, allocations: 76.05 kB / 0.5101 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.1479, allocations: 1.715 MB / 0.5118 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.1483, allocations: 51.7 kB / 0.5118 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.1483, allocations: 12 kB / 0.5119 GB, free: 2.973 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.0003981/0.1487, allocations: 277.7 kB / 0.5121 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1488, allocations: 71.53 kB / 0.5122 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.1499, allocations: 438.2 kB / 0.5126 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1499, allocations: 4 kB / 0.5126 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.1499, allocations: 0 / 0.5126 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1499, allocations: 7.984 kB / 0.5126 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.1506, allocations: 0.5547 MB / 0.5132 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1506, allocations: 0 / 0.5132 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.1509, allocations: 43.97 kB / 0.5132 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.1511, allocations: 60.75 kB / 0.5133 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.1511, allocations: 7.984 kB / 0.5133 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2292/0.3804, allocations: 1.702 MB / 0.5149 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3804, allocations: 0 / 0.5149 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.3825, allocations: 0.5901 MB / 0.5155 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.3828, allocations: 92.38 kB / 0.5156 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.383, allocations: 11.38 kB / 0.5156 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.3834, allocations: 29.38 kB / 0.5156 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3835, allocations: 28.41 kB / 0.5157 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.3836, allocations: 12.17 kB / 0.5157 GB, free: 25.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.3848, allocations: 0.6752 MB / 0.5163 GB, free: 25.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 0.7188 kB / 0.5163 GB, free: 25.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009139/0.3857, allocations: 142 kB / 0.5165 GB, free: 25.73 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.004917/0.3906, allocations: 1.651 MB / 0.5181 GB, free: 25.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.3918, allocations: 0.4972 MB / 0.5186 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3918, allocations: 2.5 kB / 0.5186 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.3923, allocations: 279 kB / 0.5188 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.3929, allocations: 100.3 kB / 0.5189 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009519/0.4024, allocations: 6.548 MB / 0.5253 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.4029, allocations: 0.9637 MB / 0.5263 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.4032, allocations: 73.12 kB / 0.5263 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.4035, allocations: 261.9 kB / 0.5266 GB, free: 21.98 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4035, allocations: 0 / 0.5266 GB, free: 21.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0534/0.4569, allocations: 14.64 MB / 0.5409 GB, free: 17.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.06, allocations: 7.875 kB / 0.5409 GB, free: 17.06 MB / 382.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.01800007408019] Failed to read output from testmodel.py, exit status != 0: 14.29589396296069 14.30679358 14.176538437 Calling exit ...