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.0007517/0.0007517, allocations: 79.69 kB / 19.25 MB, free: 0.625 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.0007533/0.0007533, allocations: 162 kB / 22.56 MB, free: 1.965 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.9178/0.9178, allocations: 177.1 MB / 202.9 MB, free: 5.715 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.02581/0.02581, allocations: 6.473 MB / 265.8 MB, free: 6.809 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 1.723e-06/1.723e-06, allocations: 3.938 kB / 391.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.314e-05/1.486e-05, allocations: 6.219 kB / 391.9 MB, free: 5.617 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004081/0.004096, allocations: 3.602 MB / 395.5 MB, free: 1.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.005765, allocations: 1.176 MB / 396.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.00599, allocations: 11.94 kB / 396.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.006359, allocations: 202.7 kB / 396.8 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.006843, allocations: 282.4 kB / 397.1 MB, free: 336 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.007409, allocations: 375 kB / 397.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.007997, allocations: 0.6548 MB / 398.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.0083, allocations: 191.8 kB / 398.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.008767, allocations: 379 kB / 398.7 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.009057, allocations: 251.2 kB / 398.9 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.009113, allocations: 60 kB / 399 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.009253, allocations: 119.8 kB / 399.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.009404, allocations: 219.3 kB / 399.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.009562, allocations: 211.3 kB / 399.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007526/0.01031, allocations: 0.8839 MB / 400.4 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01032, allocations: 4 kB / 400.4 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01032, allocations: 0 / 400.4 MB, free: 13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.01033, allocations: 0 / 400.4 MB, free: 13 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.001261/0.01159, allocations: 1.058 MB / 401.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.01163, allocations: 8.031 kB / 401.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.01169, allocations: 78.7 kB / 401.6 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.0118, allocations: 88.38 kB / 401.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.01232, allocations: 0.545 MB / 402.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.01234, allocations: 33.38 kB / 402.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.01239, allocations: 52.12 kB / 402.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.01292, allocations: 435.8 kB / 402.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.01293, allocations: 0 / 402.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.01295, allocations: 16 kB / 402.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01296, allocations: 12 kB / 402.7 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.01339, allocations: 307.7 kB / 403 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.015, allocations: 1.58 MB / 404.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.01549, allocations: 302.8 kB / 404.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.01566, allocations: 116.8 kB / 405 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.01569, allocations: 4 kB / 405 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.01595, allocations: 179.2 kB / 405.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.01595, allocations: 0 / 405.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.000947/0.01689, allocations: 0.5366 MB / 405.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.01693, allocations: 55.41 kB / 405.8 MB, free: 7.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007628/0.01769, allocations: 0.9496 MB / 406.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.01772, allocations: 29.7 kB / 406.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.01791, allocations: 364.5 kB / 407.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.01797, allocations: 91.27 kB / 407.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.623e-05/0.01804, allocations: 74.03 kB / 407.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.01817, allocations: 390.7 kB / 407.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.01837, allocations: 146.4 kB / 407.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.01862, allocations: 225.7 kB / 408 MB, free: 5.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.01907, allocations: 341.3 kB / 408.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.01908, allocations: 4 kB / 408.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007733/0.01985, allocations: 0.5388 MB / 408.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.01988, allocations: 37.73 kB / 408.9 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.01989, allocations: 0 / 408.9 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.02008, allocations: 72.75 kB / 409 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.02023, allocations: 75.83 kB / 409.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.02161, allocations: 1.695 MB / 410.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.02177, allocations: 47.72 kB / 410.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.02179, allocations: 15.98 kB / 410.9 MB, free: 2.113 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.0002121/0.022, allocations: 264.6 kB / 411.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.02206, allocations: 71.5 kB / 411.2 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.02258, allocations: 405.2 kB / 411.6 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.02259, allocations: 3.984 kB / 411.6 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.02259, allocations: 4 kB / 411.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.02259, allocations: 3.938 kB / 411.6 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.02294, allocations: 468.3 kB / 412 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02294, allocations: 192 / 412 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.02307, allocations: 55.91 kB / 412.1 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.02319, allocations: 52.81 kB / 412.2 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.02321, allocations: 11.98 kB / 412.2 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.02423, allocations: 1.691 MB / 413.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02423, allocations: 4.031 kB / 413.9 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.02531, allocations: 0.548 MB / 414.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.08e-05/0.0254, allocations: 87.47 kB / 414.5 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.02544, allocations: 8 kB / 414.5 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.02554, allocations: 19.98 kB / 414.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.02564, allocations: 28.12 kB / 414.5 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.02565, allocations: 12 kB / 414.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005689/0.02622, allocations: 0.6786 MB / 415.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02622, allocations: 0 / 415.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.02661, allocations: 131.7 kB / 415.4 MB, free: 13.4 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.001911/0.02853, allocations: 1.64 MB / 417 MB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006135/0.02914, allocations: 496.2 kB / 417.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.02914, allocations: 4 kB / 417.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.0294, allocations: 270.8 kB / 417.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.02972, allocations: 105.2 kB / 417.9 MB, free: 11.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006342/0.03606, allocations: 6.466 MB / 424.3 MB, free: 4.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.0363, allocations: 351.5 kB / 424.7 MB, free: 4.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000139/0.03644, allocations: 84.31 kB / 424.8 MB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.03665, allocations: 240.4 kB / 425 MB, free: 3.82 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03665, allocations: 0 / 425 MB, free: 3.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.06874, allocations: 14.75 MB / 439.7 MB, free: 5.094 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.853/7.922, allocations: 7.422 kB / 439.7 MB, free: 5.09 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.010164206847548] Failed to read output from testmodel.py, exit status != 0: 8.035081538371742 8.200387697 8.18850061 Calling exit ...