Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.0007297/0.0007297, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008193/0.0008193, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9025/0.9025, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.02594/0.02594, allocations: 6.479 MB / 265.7 MB, free: 6.816 MB / 250.7 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.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.577e-06/3.577e-06, allocations: 0 / 391.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.547e-05, allocations: 2.281 kB / 391.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004661/0.004687, allocations: 3.598 MB / 395.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.006583, allocations: 1.172 MB / 396.4 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.006871, allocations: 11.94 kB / 396.4 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.007291, allocations: 214.7 kB / 396.6 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.007849, allocations: 282.3 kB / 396.9 MB, free: 380 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.008434, allocations: 377.9 kB / 397.3 MB, free: 4 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000639/0.009073, allocations: 0.6627 MB / 398 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003085/0.009381, allocations: 183.9 kB / 398.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.009871, allocations: 379 kB / 398.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.01011, allocations: 251.3 kB / 398.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.01016, allocations: 56 kB / 398.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.0103, allocations: 123.8 kB / 398.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.01049, allocations: 227.2 kB / 399.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.01064, allocations: 203.4 kB / 399.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006685/0.01131, allocations: 0.88 MB / 400.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.01131, allocations: 0 / 400.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01131, allocations: 0 / 400.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.01133, allocations: 3.938 kB / 400.2 MB, free: 13.05 MB / 378.7 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.00144/0.01277, allocations: 1.054 MB / 401.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.01282, allocations: 8.031 kB / 401.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.1e-05/0.01289, allocations: 86.69 kB / 401.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.01301, allocations: 92.38 kB / 401.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.01363, allocations: 0.5332 MB / 402 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.01367, allocations: 33.38 kB / 402 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.01372, allocations: 44.12 kB / 402.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.01425, allocations: 435.8 kB / 402.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.01426, allocations: 4 kB / 402.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.01429, allocations: 12 kB / 402.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.0143, allocations: 12 kB / 402.5 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.01474, allocations: 315.7 kB / 402.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.01631, allocations: 1.557 MB / 404.4 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.01678, allocations: 309.7 kB / 404.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.01694, allocations: 120.7 kB / 404.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.01697, allocations: 4 kB / 404.8 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.01722, allocations: 179.2 kB / 405 MB, free: 8.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.684e-06/0.01722, allocations: 8 kB / 405 MB, free: 8.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008992/0.01812, allocations: 0.5249 MB / 405.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.01815, allocations: 55.41 kB / 405.6 MB, free: 7.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007163/0.01887, allocations: 0.9457 MB / 406.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.01889, allocations: 29.7 kB / 406.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.01907, allocations: 364.4 kB / 406.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.01913, allocations: 95.34 kB / 407 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.0192, allocations: 74.03 kB / 407.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01931, allocations: 394.6 kB / 407.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.01952, allocations: 150.4 kB / 407.6 MB, free: 5.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.01973, allocations: 225.7 kB / 407.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.02011, allocations: 345.4 kB / 408.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02011, allocations: 0 / 408.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006058/0.02072, allocations: 0.5423 MB / 408.7 MB, free: 4.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.02075, allocations: 33.7 kB / 408.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.02075, allocations: 4.219 kB / 408.7 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.02093, allocations: 64.81 kB / 408.8 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.02111, allocations: 71.89 kB / 408.9 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.02248, allocations: 1.695 MB / 410.6 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.02281, allocations: 51.7 kB / 410.6 MB, free: 2.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.02284, allocations: 12 kB / 410.6 MB, free: 2.18 MB / 378.7 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.0003495/0.02319, allocations: 269.6 kB / 410.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.02328, allocations: 71.5 kB / 411 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007196/0.024, allocations: 405.2 kB / 411.4 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.024, allocations: 4 kB / 411.4 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.02401, allocations: 0 / 411.4 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.02401, allocations: 3.938 kB / 411.4 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.02446, allocations: 468.3 kB / 411.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.02446, allocations: 0 / 411.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.02464, allocations: 40.16 kB / 411.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.02479, allocations: 64.81 kB / 411.9 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.02481, allocations: 11.98 kB / 411.9 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.026, allocations: 1.695 MB / 413.6 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.026, allocations: 12.03 kB / 413.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.02687, allocations: 0.5439 MB / 414.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.02698, allocations: 91.47 kB / 414.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.02701, allocations: 12 kB / 414.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.02713, allocations: 23.97 kB / 414.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/0.02721, allocations: 23.95 kB / 414.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.02723, allocations: 4.188 kB / 414.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005759/0.0278, allocations: 0.6786 MB / 415 MB, free: 13.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.0278, allocations: 0 / 415 MB, free: 13.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004284/0.02823, allocations: 135.7 kB / 415.2 MB, free: 13.46 MB / 394.7 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.001973/0.03021, allocations: 1.642 MB / 416.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.0309, allocations: 496.1 kB / 417.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03091, allocations: 4 kB / 417.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.03118, allocations: 266.7 kB / 417.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.03151, allocations: 94.83 kB / 417.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/0.03817, allocations: 6.47 MB / 424.1 MB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.03841, allocations: 350 kB / 424.5 MB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001656/0.03858, allocations: 76.34 kB / 424.5 MB, free: 4.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.03879, allocations: 240.4 kB / 424.8 MB, free: 3.891 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.03879, allocations: 4 kB / 424.8 MB, free: 3.887 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.06732, allocations: 14.75 MB / 439.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/7.996, allocations: 1.875 kB / 439.5 MB, free: 5.172 MB / 410.7 MB " [Timeout remaining time 652] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.949782385490835] Failed to read output from testmodel.py, exit status != 0: 8.108856784179807 8.276870723 8.264029262 Calling exit ...