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.001318/0.001318, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001533/0.001533, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.8 MB, free: 7.809 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.04281/0.04281, allocations: 8.547 MB / 321.8 MB, free: 10.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_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.001975/0.001975, allocations: 71.84 kB / 447.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1114, allocations: 55.42 MB / 0.4913 GB, free: 8.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005779/0.1172, allocations: 3.661 MB / 0.4949 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.1205, allocations: 1.874 MB / 0.4967 GB, free: 2.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.1209, allocations: 15.88 kB / 0.4967 GB, free: 2.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005992/0.1215, allocations: 218.7 kB / 0.4969 GB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009303/0.1224, allocations: 286.5 kB / 0.4972 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1235, allocations: 386.2 kB / 0.4976 GB, free: 1.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.1246, allocations: 0.6784 MB / 0.4982 GB, free: 1.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006155/0.1252, allocations: 241.7 kB / 0.4985 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.1258, allocations: 302.8 kB / 0.4987 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.1263, allocations: 338.5 kB / 0.4991 GB, free: 204 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.783e-05/0.1264, allocations: 60 kB / 0.4991 GB, free: 144 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.1267, allocations: 128 kB / 0.4992 GB, free: 16 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.1269, allocations: 231.2 kB / 0.4995 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.1272, allocations: 290.2 kB / 0.4997 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.1283, allocations: 0.9609 MB / 0.5007 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1283, allocations: 0 / 0.5007 GB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1283, allocations: 0 / 0.5007 GB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1283, allocations: 0 / 0.5007 GB, free: 14.54 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.002058/0.1304, allocations: 1.093 MB / 0.5018 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1304, allocations: 12.03 kB / 0.5018 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.939e-05/0.1304, allocations: 17.12 kB / 0.5018 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.036e-05/0.1305, allocations: 82.7 kB / 0.5019 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.1307, allocations: 96.33 kB / 0.502 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008224/0.1315, allocations: 0.553 MB / 0.5025 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1315, allocations: 40.94 kB / 0.5025 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/0.1316, allocations: 48 kB / 0.5026 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.1326, allocations: 483.8 kB / 0.503 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1326, allocations: 0 / 0.503 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.1326, allocations: 19.98 kB / 0.5031 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.1326, allocations: 12 kB / 0.5031 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008687/0.1335, allocations: 355.7 kB / 0.5034 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.1361, allocations: 1.662 MB / 0.505 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.137, allocations: 332.6 kB / 0.5053 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1373, allocations: 129.3 kB / 0.5055 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1374, allocations: 8 kB / 0.5055 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004771/0.1378, allocations: 195.2 kB / 0.5057 GB, free: 9.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/0.1378, allocations: 0 / 0.5057 GB, free: 9.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001765/0.1396, allocations: 0.5797 MB / 0.5062 GB, free: 8.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1396, allocations: 59.41 kB / 0.5063 GB, free: 8.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.1408, allocations: 0.9496 MB / 0.5072 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1409, allocations: 29.7 kB / 0.5072 GB, free: 7.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.1412, allocations: 384.5 kB / 0.5076 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.1413, allocations: 103.2 kB / 0.5077 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1414, allocations: 90.02 kB / 0.5078 GB, free: 7.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1416, allocations: 321.9 kB / 0.5081 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.142, allocations: 166.5 kB / 0.5083 GB, free: 6.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.1424, allocations: 240.8 kB / 0.5085 GB, free: 6.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.1431, allocations: 368.1 kB / 0.5088 GB, free: 5.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1431, allocations: 4 kB / 0.5088 GB, free: 5.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001192/0.1443, allocations: 0.5596 MB / 0.5094 GB, free: 5.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/0.1444, allocations: 45.62 kB / 0.5094 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1444, allocations: 0 / 0.5094 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/0.1447, allocations: 64.75 kB / 0.5095 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.145, allocations: 80.05 kB / 0.5096 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.1471, allocations: 1.695 MB / 0.5112 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.1474, allocations: 47.72 kB / 0.5113 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.1474, allocations: 20.05 kB / 0.5113 GB, free: 3.227 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.0003517/0.1478, allocations: 269.7 kB / 0.5115 GB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.1479, allocations: 71.52 kB / 0.5116 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.1489, allocations: 442.2 kB / 0.512 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1489, allocations: 7.938 kB / 0.512 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1489, allocations: 0 / 0.512 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1489, allocations: 3.938 kB / 0.512 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.1495, allocations: 0.4887 MB / 0.5125 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1495, allocations: 4 kB / 0.5125 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.1498, allocations: 47.97 kB / 0.5126 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002022/0.15, allocations: 52.81 kB / 0.5126 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.15, allocations: 12 kB / 0.5126 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2189/0.3688, allocations: 1.686 MB / 0.5143 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3688, allocations: 0 / 0.5143 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3703, allocations: 0.6014 MB / 0.5149 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.3705, allocations: 88.91 kB / 0.515 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.3706, allocations: 9.219 kB / 0.515 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.3708, allocations: 22.8 kB / 0.515 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.3709, allocations: 36.34 kB / 0.515 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3709, allocations: 9.938 kB / 0.515 GB, free: 26.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007229/0.3716, allocations: 0.6819 MB / 0.5157 GB, free: 26.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3716, allocations: 0 / 0.5157 GB, free: 26.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005456/0.3722, allocations: 141.4 kB / 0.5158 GB, free: 26.09 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.003947/0.3761, allocations: 1.695 MB / 0.5175 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.3774, allocations: 0.5277 MB / 0.518 GB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3774, allocations: 1.469 kB / 0.518 GB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.3779, allocations: 280.4 kB / 0.5183 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.3784, allocations: 89.16 kB / 0.5184 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/0.3883, allocations: 6.658 MB / 0.5249 GB, free: 23.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.3888, allocations: 368.3 kB / 0.5252 GB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.3891, allocations: 75.17 kB / 0.5253 GB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.3894, allocations: 265.1 kB / 0.5255 GB, free: 22.79 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3894, allocations: 0 / 0.5255 GB, free: 22.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/0.4341, allocations: 14.74 MB / 0.5399 GB, free: 17.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.27, allocations: 5.219 kB / 0.5399 GB, free: 17.77 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.055255147977732] Failed to read output from testmodel.py, exit status != 0: 14.50598708295729 14.526129163 14.393913684 Calling exit ...