Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.0009207/0.0009207, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0008995/0.0008995, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8424/0.8424, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02492/0.02492, allocations: 6.475 MB / 265.7 MB, free: 6.836 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.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 391.7 MB, free: 5.684 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.621e-05, allocations: 2.281 kB / 391.7 MB, free: 5.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.003708/0.003724, allocations: 3.677 MB / 395.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.005305, allocations: 1.897 MB / 397.2 MB, free: 76 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.005473, allocations: 11.94 kB / 397.2 MB, free: 64 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.005824, allocations: 210.7 kB / 397.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.006252, allocations: 294.3 kB / 397.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.006669, allocations: 382.1 kB / 398.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.007119, allocations: 0.7015 MB / 398.8 MB, free: 14.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.007414, allocations: 221.8 kB / 399 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.007747, allocations: 414.9 kB / 399.4 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.008097, allocations: 263.2 kB / 399.7 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.963e-05/0.008146, allocations: 64 kB / 399.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.008265, allocations: 123.9 kB / 399.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.0084, allocations: 239.2 kB / 400.1 MB, free: 13.19 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.008531, allocations: 219.3 kB / 400.3 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.009133, allocations: 0.9462 MB / 401.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.009135, allocations: 0 / 401.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.009136, allocations: 0 / 401.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.009143, allocations: 0 / 401.3 MB, free: 12.02 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.001055/0.0102, allocations: 1.101 MB / 402.4 MB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.01023, allocations: 12.03 kB / 402.4 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.01029, allocations: 82.7 kB / 402.5 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.01037, allocations: 96.33 kB / 402.6 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.01087, allocations: 0.5527 MB / 403.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.0109, allocations: 37.38 kB / 403.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.01095, allocations: 56.12 kB / 403.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.01147, allocations: 479.8 kB / 403.7 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.01148, allocations: 7.953 kB / 403.7 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.01151, allocations: 16 kB / 403.7 MB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.01152, allocations: 12 kB / 403.7 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.012, allocations: 351.7 kB / 404 MB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.0135, allocations: 1.658 MB / 405.7 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.01396, allocations: 322.8 kB / 406 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.01415, allocations: 140.8 kB / 406.2 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.01418, allocations: 4 kB / 406.2 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.01443, allocations: 195.2 kB / 406.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.01443, allocations: 0 / 406.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.001084/0.01552, allocations: 0.5758 MB / 406.9 MB, free: 6.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.01555, allocations: 59.39 kB / 407 MB, free: 6.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/0.01622, allocations: 0.9534 MB / 407.9 MB, free: 5.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01624, allocations: 37.7 kB / 408 MB, free: 5.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.01642, allocations: 368.5 kB / 408.3 MB, free: 4.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.01648, allocations: 107.1 kB / 408.4 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.01656, allocations: 78.19 kB / 408.5 MB, free: 4.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.01663, allocations: 329.9 kB / 408.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.01684, allocations: 170.5 kB / 409 MB, free: 4.031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.01706, allocations: 233.5 kB / 409.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.01747, allocations: 368 kB / 409.6 MB, free: 3.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01747, allocations: 0 / 409.6 MB, free: 3.379 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006146/0.01808, allocations: 0.5712 MB / 410.2 MB, free: 2.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.01811, allocations: 36.98 kB / 410.2 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01812, allocations: 3.938 kB / 410.2 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.01829, allocations: 60.81 kB / 410.3 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01844, allocations: 80.08 kB / 410.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.01948, allocations: 1.695 MB / 412 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.01962, allocations: 51.84 kB / 412.1 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.01964, allocations: 19.94 kB / 412.1 MB, free: 0.7266 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.000192/0.01984, allocations: 269.7 kB / 412.4 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.01988, allocations: 71.53 kB / 412.4 MB, free: 392 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/0.02043, allocations: 434.2 kB / 412.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.02043, allocations: 7.938 kB / 412.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.02044, allocations: 192 / 412.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.02044, allocations: 3.984 kB / 412.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.02077, allocations: 0.4885 MB / 413.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02078, allocations: 7.938 kB / 413.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.02091, allocations: 43.97 kB / 413.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.02102, allocations: 68.81 kB / 413.5 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.02104, allocations: 7.984 kB / 413.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.02209, allocations: 1.687 MB / 415.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.02209, allocations: 0 / 415.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.0228, allocations: 0.597 MB / 415.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.02288, allocations: 87.69 kB / 415.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.02291, allocations: 11.98 kB / 415.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.02302, allocations: 31.97 kB / 415.9 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.02309, allocations: 27.95 kB / 415.9 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.0231, allocations: 8 kB / 415.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004897/0.02359, allocations: 0.6825 MB / 416.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02359, allocations: 0 / 416.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.02391, allocations: 143.7 kB / 416.8 MB, free: 11.87 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.001807/0.02571, allocations: 1.695 MB / 418.5 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.02634, allocations: 0.5195 MB / 419 MB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02634, allocations: 4 kB / 419 MB, free: 9.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.02661, allocations: 282.9 kB / 419.3 MB, free: 9.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.02691, allocations: 93.84 kB / 419.3 MB, free: 9.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/0.03301, allocations: 6.646 MB / 426 MB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.03324, allocations: 366.7 kB / 426.4 MB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.03338, allocations: 76.33 kB / 426.4 MB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.03359, allocations: 264.4 kB / 426.7 MB, free: 1.969 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03359, allocations: 0 / 426.7 MB, free: 1.969 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.06424, allocations: 15.24 MB / 441.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/7.971, allocations: 11.09 kB / 441.9 MB, free: 2.77 MB / 410.7 MB " [Timeout remaining time 652] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.850017260760069] Failed to read output from testmodel.py, exit status != 0: 8.08209399227053 8.222464401 8.211707258 Calling exit ...