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.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.0009659/0.0009659, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008579/0.0008579, allocations: 165.9 kB / 22.46 MB, free: 2.109 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 1.019/1.019, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.0248/0.0248, allocations: 6.466 MB / 265.7 MB, free: 6.844 MB / 250.7 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.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 4.118e-06/4.118e-06, allocations: 0 / 391.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.779e-05, allocations: 10.22 kB / 391.6 MB, free: 5.711 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005027/0.005055, allocations: 3.604 MB / 395.2 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.006812, allocations: 1.172 MB / 396.4 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.007086, allocations: 15.88 kB / 396.4 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.007548, allocations: 206.8 kB / 396.6 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.008173, allocations: 290.3 kB / 396.9 MB, free: 420 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.00882, allocations: 366.8 kB / 397.3 MB, free: 56 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.009415, allocations: 0.6587 MB / 397.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.009755, allocations: 187.8 kB / 398.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000508/0.01026, allocations: 383 kB / 398.5 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.01053, allocations: 243.3 kB / 398.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.01059, allocations: 56 kB / 398.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.01074, allocations: 127.8 kB / 398.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.0109, allocations: 219.2 kB / 399.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.01105, allocations: 203.4 kB / 399.3 MB, free: 14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.01177, allocations: 0.8917 MB / 400.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01177, allocations: 0 / 400.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.01177, allocations: 7.938 kB / 400.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.01179, allocations: 0 / 400.2 MB, free: 13.09 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.001318/0.0131, allocations: 1.047 MB / 401.3 MB, free: 12.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.01315, allocations: 12.02 kB / 401.3 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.01321, allocations: 78.72 kB / 401.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.01333, allocations: 92.38 kB / 401.4 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.01393, allocations: 0.5333 MB / 402 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.01396, allocations: 33.38 kB / 402 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.01402, allocations: 48.11 kB / 402.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.01457, allocations: 431.8 kB / 402.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.01458, allocations: 7.984 kB / 402.5 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.01461, allocations: 16 kB / 402.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.01462, allocations: 8 kB / 402.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004507/0.01507, allocations: 315.7 kB / 402.8 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.01677, allocations: 1.557 MB / 404.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.0173, allocations: 298.7 kB / 404.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.01747, allocations: 120.8 kB / 404.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.0175, allocations: 7.984 kB / 404.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.01779, allocations: 183.2 kB / 405 MB, free: 8.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.01779, allocations: 0 / 405 MB, free: 8.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.000957/0.01875, allocations: 0.5366 MB / 405.5 MB, free: 7.605 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.01879, allocations: 55.41 kB / 405.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007687/0.01956, allocations: 0.9457 MB / 406.5 MB, free: 6.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.01958, allocations: 33.7 kB / 406.5 MB, free: 6.543 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.0198, allocations: 360.4 kB / 406.9 MB, free: 6.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.01986, allocations: 91.22 kB / 407 MB, free: 6.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.01994, allocations: 78.02 kB / 407.1 MB, free: 6.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.02008, allocations: 386.7 kB / 407.4 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.02029, allocations: 162.4 kB / 407.6 MB, free: 5.457 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.02052, allocations: 217.7 kB / 407.8 MB, free: 5.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.02093, allocations: 349.3 kB / 408.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.02093, allocations: 0 / 408.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006497/0.02158, allocations: 0.5387 MB / 408.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.02162, allocations: 29.7 kB / 408.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02163, allocations: 4 kB / 408.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.02182, allocations: 60.81 kB / 408.8 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.02198, allocations: 75.83 kB / 408.9 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.02321, allocations: 1.692 MB / 410.5 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.02337, allocations: 55.73 kB / 410.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.02339, allocations: 12 kB / 410.6 MB, free: 2.238 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.0002309/0.02362, allocations: 273.7 kB / 410.9 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.02368, allocations: 67.52 kB / 410.9 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.02421, allocations: 401.1 kB / 411.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02422, allocations: 4 kB / 411.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.02422, allocations: 4 kB / 411.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.02423, allocations: 3.938 kB / 411.4 MB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.0246, allocations: 468.3 kB / 411.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.0246, allocations: 0 / 411.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.02473, allocations: 48.08 kB / 411.9 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.02486, allocations: 60.81 kB / 411.9 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.02488, allocations: 8 kB / 411.9 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.02596, allocations: 1.707 MB / 413.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02596, allocations: 4 kB / 413.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.02669, allocations: 0.5402 MB / 414.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.02679, allocations: 91.47 kB / 414.3 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.02682, allocations: 8 kB / 414.3 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.02693, allocations: 23.97 kB / 414.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.02699, allocations: 23.95 kB / 414.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.02701, allocations: 4.188 kB / 414.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005556/0.02756, allocations: 0.6826 MB / 415 MB, free: 13.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02756, allocations: 0 / 415 MB, free: 13.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.02789, allocations: 131.7 kB / 415.1 MB, free: 13.52 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.002104/0.03, allocations: 1.642 MB / 416.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006823/0.03068, allocations: 0.4926 MB / 417.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03068, allocations: 0 / 417.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.03095, allocations: 266.4 kB / 417.5 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.03128, allocations: 100.5 kB / 417.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/0.0402, allocations: 6.47 MB / 424.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.04055, allocations: 353.9 kB / 424.4 MB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.04077, allocations: 72.34 kB / 424.5 MB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.04102, allocations: 248.4 kB / 424.8 MB, free: 3.938 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.04102, allocations: 0 / 424.8 MB, free: 3.938 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03909/0.08012, allocations: 14.74 MB / 439.5 MB, free: 5.238 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.273/8.353, allocations: 15.3 kB / 439.5 MB, free: 5.227 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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: 10.629280119203031] Failed to read output from testmodel.py, exit status != 0: 8.46612174808979 8.625196687 8.611759645 Calling exit ...