Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0009687/0.0009687, 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.000959/0.000959, allocations: 170.3 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.9424/0.9424, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.028/0.028, allocations: 6.479 MB / 265.7 MB, free: 6.84 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.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 391.7 MB, free: 5.695 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.712e-05, allocations: 2.281 kB / 391.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004443/0.00446, allocations: 3.679 MB / 395.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.00679, allocations: 1.893 MB / 397.2 MB, free: 92 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.007077, allocations: 11.94 kB / 397.2 MB, free: 80 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.00753, allocations: 206.8 kB / 397.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.008151, allocations: 298.2 kB / 397.7 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.008774, allocations: 375.2 kB / 398.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.009388, allocations: 0.686 MB / 398.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.009739, allocations: 241.6 kB / 399 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.01019, allocations: 407 kB / 399.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002795/0.01047, allocations: 275.1 kB / 399.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.01053, allocations: 60 kB / 399.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.01069, allocations: 119.9 kB / 399.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.01087, allocations: 235.2 kB / 400.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.01102, allocations: 227.2 kB / 400.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.01174, allocations: 0.9384 MB / 401.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.01175, allocations: 0 / 401.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01175, allocations: 0 / 401.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.01176, allocations: 4 kB / 401.3 MB, free: 12.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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001303/0.01306, allocations: 1.093 MB / 402.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.0131, allocations: 8.031 kB / 402.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.981e-05/0.01317, allocations: 86.7 kB / 402.4 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.01328, allocations: 104.3 kB / 402.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.01386, allocations: 0.5488 MB / 403.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.0139, allocations: 37.38 kB / 403.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.01396, allocations: 52.12 kB / 403.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.01454, allocations: 483.8 kB / 403.7 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01456, allocations: 3.953 kB / 403.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.01459, allocations: 20 kB / 403.7 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.0146, allocations: 23.94 kB / 403.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.0151, allocations: 351.7 kB / 404 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.01679, allocations: 1.658 MB / 405.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/0.01729, allocations: 322.7 kB / 406 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.01748, allocations: 136.8 kB / 406.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.01751, allocations: 0 / 406.1 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.01779, allocations: 195.3 kB / 406.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.01779, allocations: 0 / 406.3 MB, free: 6.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.0009724/0.01876, allocations: 0.5758 MB / 406.9 MB, free: 6.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.0188, allocations: 59.41 kB / 407 MB, free: 6.113 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007398/0.01954, allocations: 0.9573 MB / 407.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.01956, allocations: 29.7 kB / 408 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.01977, allocations: 380.5 kB / 408.3 MB, free: 4.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.01984, allocations: 107.1 kB / 408.4 MB, free: 4.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.632e-05/0.01992, allocations: 86.17 kB / 408.5 MB, free: 4.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.02002, allocations: 318 kB / 408.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.02025, allocations: 166.5 kB / 409 MB, free: 4.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.02049, allocations: 233.5 kB / 409.2 MB, free: 3.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.02092, allocations: 368 kB / 409.6 MB, free: 3.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02092, allocations: 0 / 409.6 MB, free: 3.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006639/0.02158, allocations: 0.5712 MB / 410.2 MB, free: 2.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.02162, allocations: 33.92 kB / 410.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.02163, allocations: 8 kB / 410.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.02183, allocations: 56.81 kB / 410.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.02199, allocations: 71.89 kB / 410.3 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.02317, allocations: 1.711 MB / 412 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.02334, allocations: 51.75 kB / 412.1 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.02336, allocations: 15.94 kB / 412.1 MB, free: 0.7461 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: 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.0002205/0.02358, allocations: 265.7 kB / 412.4 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.02364, allocations: 71.53 kB / 412.4 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005845/0.02422, allocations: 442.3 kB / 412.9 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02422, allocations: 4 kB / 412.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02423, allocations: 3.938 kB / 412.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.02423, allocations: 0 / 412.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.02461, allocations: 0.4885 MB / 413.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.02461, allocations: 3.938 kB / 413.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.02475, allocations: 55.89 kB / 413.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.02486, allocations: 56.81 kB / 413.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.02488, allocations: 8 kB / 413.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.02592, allocations: 1.695 MB / 415.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02592, allocations: 0 / 415.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.02667, allocations: 0.5932 MB / 415.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.02676, allocations: 91.58 kB / 415.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.02679, allocations: 15.98 kB / 415.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.0269, allocations: 23.97 kB / 415.9 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.02698, allocations: 27.95 kB / 415.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.027, allocations: 11.98 kB / 415.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005267/0.02752, allocations: 0.6786 MB / 416.6 MB, free: 12.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02752, allocations: 0 / 416.6 MB, free: 12.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.02788, allocations: 147.7 kB / 416.8 MB, free: 11.89 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: 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.001961/0.02984, allocations: 1.696 MB / 418.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007003/0.03054, allocations: 0.516 MB / 419 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.03054, allocations: 0 / 419 MB, free: 9.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.03084, allocations: 290.3 kB / 419.2 MB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.03116, allocations: 94.16 kB / 419.3 MB, free: 9.535 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006781/0.03794, allocations: 6.646 MB / 426 MB, free: 2.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.03824, allocations: 370.6 kB / 426.3 MB, free: 2.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.03838, allocations: 80.33 kB / 426.4 MB, free: 2.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.03865, allocations: 256.4 kB / 426.7 MB, free: 1.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03865, allocations: 0 / 426.7 MB, free: 1.988 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.07198, allocations: 15.22 MB / 441.9 MB, free: 2.812 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.324/8.396, allocations: 9.859 kB / 441.9 MB, free: 2.805 MB / 410.7 MB " [Timeout remaining time 651] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.612261770293117] Failed to read output from testmodel.py, exit status != 0: 8.509538990445435 8.666537967 8.6534704 Calling exit ...