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.0008371/0.0008371, 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.0008503/0.0008503, allocations: 165.9 kB / 22.45 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 0.8943/0.8943, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.0259/0.0259, allocations: 6.485 MB / 265.7 MB, free: 6.82 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 2.735e-06/2.735e-06, allocations: 0 / 391.7 MB, free: 5.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.29e-05, allocations: 2.281 kB / 391.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.003971/0.003994, allocations: 3.597 MB / 395.3 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.005448, allocations: 1.176 MB / 396.4 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.005662, allocations: 7.938 kB / 396.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.006064, allocations: 206.7 kB / 396.6 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.006549, allocations: 290.3 kB / 396.9 MB, free: 384 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.007068, allocations: 381.4 kB / 397.3 MB, free: 8 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.007592, allocations: 0.6549 MB / 398 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003191/0.007911, allocations: 191.8 kB / 398.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.008293, allocations: 379 kB / 398.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.008514, allocations: 243.3 kB / 398.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.008562, allocations: 59.94 kB / 398.8 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.008702, allocations: 131.8 kB / 398.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.008898, allocations: 215.3 kB / 399.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.009038, allocations: 211.3 kB / 399.4 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006693/0.009707, allocations: 0.88 MB / 400.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.009714, allocations: 8 kB / 400.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.009715, allocations: 0 / 400.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.009723, allocations: 0 / 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.00116/0.01088, allocations: 1.05 MB / 401.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.01092, allocations: 8.031 kB / 401.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.01098, allocations: 78.72 kB / 401.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.01107, allocations: 88.38 kB / 401.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.01161, allocations: 0.5411 MB / 402 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.01163, allocations: 41.31 kB / 402 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.01168, allocations: 44.12 kB / 402.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.0122, allocations: 431.8 kB / 402.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.01221, allocations: 0 / 402.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.01224, allocations: 16 kB / 402.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.01225, allocations: 19.94 kB / 402.5 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.0127, allocations: 307.7 kB / 402.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.01435, allocations: 1.557 MB / 404.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.01484, allocations: 302.8 kB / 404.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.01501, allocations: 116.8 kB / 404.8 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.01504, allocations: 7.938 kB / 404.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.01529, allocations: 183.2 kB / 405 MB, free: 8.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.854e-06/0.01529, allocations: 0 / 405 MB, free: 8.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009022/0.0162, allocations: 0.5328 MB / 405.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.01623, allocations: 55.41 kB / 405.6 MB, free: 7.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000829/0.01706, allocations: 0.9457 MB / 406.5 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01708, allocations: 33.69 kB / 406.6 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.01727, allocations: 360.5 kB / 406.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.01732, allocations: 87.28 kB / 407 MB, free: 6.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/0.0174, allocations: 78.02 kB / 407.1 MB, free: 5.965 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.01751, allocations: 390.6 kB / 407.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.01772, allocations: 158.4 kB / 407.6 MB, free: 5.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.01794, allocations: 229.6 kB / 407.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.01833, allocations: 337.4 kB / 408.2 MB, free: 4.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.01833, allocations: 0 / 408.2 MB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006049/0.01894, allocations: 0.5462 MB / 408.7 MB, free: 4.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.01897, allocations: 33.7 kB / 408.7 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01897, allocations: 0 / 408.7 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.01915, allocations: 60.81 kB / 408.8 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.01931, allocations: 80.05 kB / 408.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.02054, allocations: 1.688 MB / 410.6 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.0207, allocations: 51.7 kB / 410.6 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.02072, allocations: 20.06 kB / 410.6 MB, free: 2.184 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.0002163/0.02093, allocations: 265.7 kB / 410.9 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.02098, allocations: 71.52 kB / 411 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.02152, allocations: 405 kB / 411.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.02152, allocations: 4 kB / 411.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.02152, allocations: 0 / 411.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.02153, allocations: 3.938 kB / 411.4 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.02187, allocations: 468.3 kB / 411.8 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02187, allocations: 3.938 kB / 411.8 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.022, allocations: 48.14 kB / 411.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.02212, allocations: 60.81 kB / 411.9 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.02214, allocations: 8 kB / 411.9 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009593/0.02309, allocations: 1.703 MB / 413.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0231, allocations: 0 / 413.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.02375, allocations: 0.5441 MB / 414.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.02383, allocations: 95.38 kB / 414.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.02386, allocations: 8 kB / 414.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02396, allocations: 23.97 kB / 414.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.02402, allocations: 23.95 kB / 414.3 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.02403, allocations: 8.188 kB / 414.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005017/0.02453, allocations: 0.6786 MB / 415 MB, free: 13.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02453, allocations: 0 / 415 MB, free: 13.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.02487, 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.001731/0.0266, allocations: 1.633 MB / 416.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007364/0.02734, allocations: 0.4925 MB / 417.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02734, allocations: 0 / 417.3 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.02759, allocations: 270.3 kB / 417.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.0279, allocations: 92.44 kB / 417.6 MB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/0.03394, allocations: 6.478 MB / 424.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.03433, allocations: 349.9 kB / 424.5 MB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.03449, allocations: 72.3 kB / 424.5 MB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.0347, allocations: 248.4 kB / 424.8 MB, free: 3.891 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.0347, allocations: 0 / 424.8 MB, free: 3.891 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.06282, allocations: 14.74 MB / 439.5 MB, free: 5.184 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/7.983, allocations: 7.031 kB / 439.5 MB, free: 5.18 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 & python3 -m fmpy simulate --output-file EHPTlib_latest_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_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: 10.0185836981982] Failed to read output from testmodel.py, exit status != 0: 8.093826671130955 8.272607007 8.261332071 Calling exit ...