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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] 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.04071/0.04071, allocations: 8.542 MB / 313 MB, free: 1.863 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001905/0.001905, allocations: 63.89 kB / 436 MB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 54.18 MB / 490.2 MB, free: 25.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005399/0.26, allocations: 3.818 MB / 494 MB, free: 23.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.2622, allocations: 1.093 MB / 495.1 MB, free: 22.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005187/0.2627, allocations: 11.88 kB / 495.1 MB, free: 22.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.2633, allocations: 201 kB / 495.3 MB, free: 22.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008195/0.2642, allocations: 223.9 kB / 495.6 MB, free: 22.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2652, allocations: 377.2 kB / 495.9 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2662, allocations: 0.6215 MB / 496.6 MB, free: 21.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.2667, allocations: 200.6 kB / 496.7 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004075/0.2671, allocations: 258.7 kB / 497 MB, free: 21.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.2675, allocations: 309.5 kB / 497.3 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.2676, allocations: 57.62 kB / 497.4 MB, free: 21.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.2679, allocations: 117.8 kB / 497.5 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.2681, allocations: 212.2 kB / 497.7 MB, free: 21.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.2684, allocations: 350.3 kB / 498 MB, free: 21.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009119/0.2693, allocations: 0.8819 MB / 498.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2693, allocations: 1.125 kB / 498.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2693, allocations: 0 / 498.9 MB, free: 20.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.2693, allocations: 3.938 kB / 498.9 MB, free: 20.4 MB / 366.1 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.001578/0.2709, allocations: 1.122 MB / 0.4883 GB, free: 19.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2709, allocations: 16.05 kB / 0.4883 GB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.146e-05/0.271, allocations: 80.45 kB / 0.4884 GB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.2711, allocations: 87.34 kB / 0.4885 GB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.2718, allocations: 0.5842 MB / 0.4891 GB, free: 18.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.2718, allocations: 37.44 kB / 0.4891 GB, free: 18.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.2719, allocations: 52.73 kB / 0.4891 GB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.2727, allocations: 431.2 kB / 0.4896 GB, free: 18.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.2727, allocations: 5.281 kB / 0.4896 GB, free: 18.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.2727, allocations: 16.09 kB / 0.4896 GB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2727, allocations: 11.78 kB / 0.4896 GB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.2735, allocations: 314.1 kB / 0.4899 GB, free: 18.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/0.2756, allocations: 1.755 MB / 0.4916 GB, free: 16.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008355/0.2765, allocations: 306.5 kB / 0.4919 GB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.2767, allocations: 121 kB / 0.492 GB, free: 16.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.2768, allocations: 7.406 kB / 0.492 GB, free: 16.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003861/0.2772, allocations: 183.4 kB / 0.4922 GB, free: 16.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.2772, allocations: 0 / 0.4922 GB, free: 16.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001546/0.2787, allocations: 0.5979 MB / 0.4928 GB, free: 16.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2787, allocations: 58.75 kB / 0.4928 GB, free: 16.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.2797, allocations: 0.9266 MB / 0.4937 GB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.2798, allocations: 30.98 kB / 0.4938 GB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.28, allocations: 354.5 kB / 0.4941 GB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.28, allocations: 94.3 kB / 0.4942 GB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2801, allocations: 78.28 kB / 0.4943 GB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2802, allocations: 379.2 kB / 0.4946 GB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.2806, allocations: 120.9 kB / 0.4947 GB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.2809, allocations: 196.4 kB / 0.4949 GB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.2815, allocations: 345.5 kB / 0.4953 GB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2815, allocations: 1.094 kB / 0.4953 GB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001018/0.2825, allocations: 0.5132 MB / 0.4958 GB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.2826, allocations: 37.03 kB / 0.4958 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2826, allocations: 1.219 kB / 0.4958 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.2829, allocations: 66.25 kB / 0.4959 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.2832, allocations: 76.3 kB / 0.4959 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.2846, allocations: 1.809 MB / 0.4977 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.285, allocations: 48.89 kB / 0.4977 GB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.285, allocations: 14.09 kB / 0.4978 GB, free: 12.27 MB / 366.1 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.0003477/0.2853, allocations: 275.2 kB / 0.498 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-05/0.2854, allocations: 63.45 kB / 0.4981 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009004/0.2863, allocations: 399.8 kB / 0.4985 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2863, allocations: 10.12 kB / 0.4985 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2863, allocations: 1.094 kB / 0.4985 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2863, allocations: 0 / 0.4985 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.2869, allocations: 0.5456 MB / 0.499 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2869, allocations: 0 / 0.499 GB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2871, allocations: 44 kB / 0.4991 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/0.2873, allocations: 58.47 kB / 0.4991 GB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2873, allocations: 10.12 kB / 0.4991 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2886, allocations: 1.814 MB / 0.5009 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2886, allocations: 0 / 0.5009 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.2899, allocations: 0.5471 MB / 0.5014 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.29, allocations: 167.4 kB / 0.5016 GB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.2901, allocations: 5.406 kB / 0.5016 GB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.2903, allocations: 22.94 kB / 0.5016 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.2904, allocations: 26.97 kB / 0.5016 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.2904, allocations: 9.594 kB / 0.5016 GB, free: 9.035 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.2912, allocations: 0.6711 MB / 0.5023 GB, free: 8.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2912, allocations: 0 / 0.5023 GB, free: 8.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005444/0.2917, allocations: 128 kB / 0.5024 GB, free: 8.656 MB / 366.1 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.003442/0.2951, allocations: 1.586 MB / 0.504 GB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2962, allocations: 471.2 kB / 0.5044 GB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2962, allocations: 1.438 kB / 0.5044 GB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.2966, allocations: 262.2 kB / 0.5047 GB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.2972, allocations: 96.66 kB / 0.5048 GB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008867/0.306, allocations: 6.32 MB / 0.5109 GB, free: 2.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3065, allocations: 0.9392 MB / 0.5119 GB, free: 1.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.3067, allocations: 76.23 kB / 0.5119 GB, free: 1.273 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.3071, allocations: 243.3 kB / 0.5122 GB, free: 1.039 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3071, allocations: 0 / 0.5122 GB, free: 1.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/0.3534, allocations: 13.71 MB / 0.5255 GB, free: 3.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.92, allocations: 12.64 kB / 0.5256 GB, free: 3.34 MB / 382.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.383905233989935] Failed to read output from testmodel.py, exit status != 0: 13.07395973498933 13.089714852 12.817199136 Calling exit ...