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.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.001259/0.001259, allocations: 109.2 kB / 16.4 MB, free: 6.504 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.001288/0.001288, allocations: 192.5 kB / 19.35 MB, free: 3.734 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.413/1.413, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.04192/0.04192, allocations: 8.394 MB / 305.6 MB, free: 4.293 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/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.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: Performance of FrontEnd - loaded program: time 0.001901/0.001902, allocations: 71.88 kB / 422 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08648, allocations: 51.37 MB / 473.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005431/0.09194, allocations: 3.753 MB / 477.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.09396, allocations: 1.075 MB / 478.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.09419, allocations: 12 kB / 478.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.09465, allocations: 198.9 kB / 478.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004904/0.09517, allocations: 218.8 kB / 478.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.09593, allocations: 365.7 kB / 479 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007238/0.09666, allocations: 0.6276 MB / 479.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.09713, allocations: 275.4 kB / 479.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.09747, allocations: 247 kB / 480.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.09784, allocations: 310.7 kB / 480.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.968e-05/0.09793, allocations: 55.94 kB / 480.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.09814, allocations: 112 kB / 480.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.09835, allocations: 211.3 kB / 480.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.09869, allocations: 346 kB / 481.1 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.09974, allocations: 0.8831 MB / 482 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09975, allocations: 3.938 kB / 482 MB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09976, allocations: 0 / 482 MB, free: 8.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.09978, allocations: 4 kB / 482 MB, free: 8.945 MB / 350.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.001898/0.1017, allocations: 1.118 MB / 483.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1017, allocations: 11.89 kB / 483.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.544e-05/0.1018, allocations: 78.7 kB / 483.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.102, allocations: 92.38 kB / 483.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.1028, allocations: 0.5864 MB / 483.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.1029, allocations: 33 kB / 484 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.1029, allocations: 51.89 kB / 484 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/0.1038, allocations: 435.8 kB / 484.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1039, allocations: 0 / 484.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.1039, allocations: 16 kB / 484.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.1039, allocations: 8 kB / 484.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008098/0.1047, allocations: 311.7 kB / 484.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.1075, allocations: 1.758 MB / 486.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/0.1083, allocations: 330.1 kB / 486.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.1087, allocations: 125.7 kB / 487 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.1087, allocations: 3.938 kB / 487 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004565/0.1092, allocations: 195.1 kB / 487.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.1092, allocations: 0 / 487.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001783/0.111, allocations: 0.5926 MB / 487.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1111, allocations: 63.33 kB / 487.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1123, allocations: 0.9221 MB / 488.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.1123, allocations: 37.7 kB / 488.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/0.1127, allocations: 356.6 kB / 489.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1128, allocations: 95.17 kB / 489.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1129, allocations: 70.08 kB / 489.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1131, allocations: 382.8 kB / 489.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.1135, allocations: 120.7 kB / 489.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004124/0.1139, allocations: 204 kB / 490 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.1147, allocations: 333.7 kB / 490.3 MB, free: 340 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1147, allocations: 0 / 490.3 MB, free: 340 kB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001203/0.1159, allocations: 0.5171 MB / 490.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.026e-05/0.1159, allocations: 33.92 kB / 490.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.116, allocations: 4 kB / 490.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.1162, allocations: 64.81 kB / 490.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1166, allocations: 71.89 kB / 491 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.1186, allocations: 1.81 MB / 492.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.119, allocations: 51.78 kB / 492.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.119, allocations: 15.98 kB / 492.9 MB, free: 13.61 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: 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.0003654/0.1194, allocations: 264.7 kB / 493.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.1195, allocations: 63.58 kB / 493.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1205, allocations: 408 kB / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.1206, allocations: 7.938 kB / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1206, allocations: 0 / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.1206, allocations: 7.969 kB / 493.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006146/0.1212, allocations: 0.5362 MB / 494.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1212, allocations: 4 kB / 494.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.1215, allocations: 43.95 kB / 494.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.1217, allocations: 61 kB / 494.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.1218, allocations: 15.94 kB / 494.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.1235, allocations: 1.795 MB / 496 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1236, allocations: 4.031 kB / 496 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.1249, allocations: 0.5567 MB / 496.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.1251, allocations: 168.6 kB / 496.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.1251, allocations: 11.98 kB / 496.8 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1254, allocations: 19.92 kB / 496.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1255, allocations: 27.95 kB / 496.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1255, allocations: 8 kB / 496.8 MB, free: 9.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008362/0.1264, allocations: 0.6591 MB / 497.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1264, allocations: 4 kB / 497.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.1269, allocations: 131.7 kB / 497.6 MB, free: 8.586 MB / 366.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.003766/0.1307, allocations: 1.59 MB / 499.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.1318, allocations: 498.6 kB / 499.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1319, allocations: 0 / 499.7 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005237/0.1324, allocations: 266.5 kB / 500 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1329, allocations: 82.17 kB / 0.4883 GB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/0.1428, allocations: 6.312 MB / 0.4945 GB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006718/0.1435, allocations: 0.9517 MB / 0.4954 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.1438, allocations: 80.22 kB / 0.4955 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.1441, allocations: 239.3 kB / 0.4957 GB, free: 14.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.545e-06/0.1441, allocations: 4 kB / 0.4957 GB, free: 14.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.1887, allocations: 13.6 MB / 0.509 GB, free: 1.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.78, allocations: 4.875 kB / 0.509 GB, free: 1.125 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.542122120968997] Failed to read output from testmodel.py, exit status != 0: 13.132307386025786 13.157242359 13.053439826 Calling exit ...