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.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.00142/0.00142, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001458/0.001458, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.03668/0.03668, allocations: 8.54 MB / 313 MB, free: 1.918 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-main/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.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 0.001767/0.001767, allocations: 67.88 kB / 435.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2066, allocations: 54.2 MB / 490.1 MB, free: 25.88 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004216/0.2108, allocations: 3.889 MB / 494 MB, free: 23.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2128, allocations: 1.775 MB / 495.8 MB, free: 21.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.2131, allocations: 12.78 kB / 495.8 MB, free: 21.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.2135, allocations: 201.6 kB / 496 MB, free: 21.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004406/0.2139, allocations: 243.7 kB / 496.2 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.2145, allocations: 382.7 kB / 496.6 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005241/0.2151, allocations: 0.6573 MB / 497.3 MB, free: 21.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.2154, allocations: 233.2 kB / 497.5 MB, free: 21.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.2156, allocations: 285.6 kB / 497.8 MB, free: 20.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.2159, allocations: 342.5 kB / 498.1 MB, free: 20.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.231e-05/0.216, allocations: 60.25 kB / 498.2 MB, free: 20.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.2162, allocations: 122.5 kB / 498.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.2163, allocations: 231.7 kB / 498.5 MB, free: 20.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.2165, allocations: 367.4 kB / 498.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.2172, allocations: 0.9384 MB / 499.8 MB, free: 19.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2172, allocations: 0 / 499.8 MB, free: 19.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2172, allocations: 5.562 kB / 499.8 MB, free: 19.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.2172, allocations: 0 / 499.8 MB, free: 19.53 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001392/0.2186, allocations: 1.154 MB / 0.4892 GB, free: 18.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.2186, allocations: 13.27 kB / 0.4892 GB, free: 18.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.223e-05/0.2187, allocations: 85.8 kB / 0.4893 GB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.2188, allocations: 98.2 kB / 0.4894 GB, free: 18.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.2194, allocations: 0.61 MB / 0.49 GB, free: 17.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.2194, allocations: 36.44 kB / 0.49 GB, free: 17.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.2195, allocations: 48.84 kB / 0.4901 GB, free: 17.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/0.2202, allocations: 483.9 kB / 0.4905 GB, free: 17.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2202, allocations: 1.062 kB / 0.4906 GB, free: 17.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.2202, allocations: 20.59 kB / 0.4906 GB, free: 17.6 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2203, allocations: 11.47 kB / 0.4906 GB, free: 17.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.221, allocations: 356.5 kB / 0.4909 GB, free: 17.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.2229, allocations: 1.87 MB / 0.4927 GB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.2237, allocations: 329.2 kB / 0.4931 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.224, allocations: 135.4 kB / 0.4932 GB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.224, allocations: 8.438 kB / 0.4932 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.2244, allocations: 196 kB / 0.4934 GB, free: 15.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.2244, allocations: 3.938 kB / 0.4934 GB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001504/0.2259, allocations: 0.6441 MB / 0.494 GB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.2259, allocations: 59.59 kB / 0.4941 GB, free: 15.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.2268, allocations: 0.9326 MB / 0.495 GB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.2268, allocations: 31.11 kB / 0.495 GB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2269, allocations: 376.2 kB / 0.4954 GB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.227, allocations: 104.2 kB / 0.4955 GB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.2271, allocations: 83.06 kB / 0.4956 GB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.2272, allocations: 383.6 kB / 0.4959 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.2275, allocations: 136.1 kB / 0.496 GB, free: 13.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.2278, allocations: 211.5 kB / 0.4962 GB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.2285, allocations: 364.6 kB / 0.4966 GB, free: 13.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2285, allocations: 1.188 kB / 0.4966 GB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009984/0.2295, allocations: 0.5364 MB / 0.4971 GB, free: 12.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.2295, allocations: 33.48 kB / 0.4972 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2295, allocations: 5.062 kB / 0.4972 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.2298, allocations: 70.12 kB / 0.4972 GB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.23, allocations: 73.2 kB / 0.4973 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.2312, allocations: 1.808 MB / 0.4991 GB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.2315, allocations: 50.94 kB / 0.4991 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.2315, allocations: 14.44 kB / 0.4991 GB, free: 11.11 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: 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.0002243/0.2317, allocations: 270.3 kB / 0.4994 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.2318, allocations: 73.14 kB / 0.4995 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008747/0.2327, allocations: 448.4 kB / 0.4999 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2327, allocations: 3.031 kB / 0.4999 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2327, allocations: 1.531 kB / 0.4999 GB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2327, allocations: 3.938 kB / 0.4999 GB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.2331, allocations: 0.5759 MB / 0.5004 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2331, allocations: 1.344 kB / 0.5005 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.2334, allocations: 49.81 kB / 0.5005 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/0.2335, allocations: 59.09 kB / 0.5006 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2335, allocations: 10.55 kB / 0.5006 GB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.2346, allocations: 1.809 MB / 0.5023 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.2346, allocations: 1.062 kB / 0.5023 GB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.2357, allocations: 0.586 MB / 0.5029 GB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.2359, allocations: 164.3 kB / 0.5031 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.2359, allocations: 5.375 kB / 0.5031 GB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.2361, allocations: 32.28 kB / 0.5031 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2363, allocations: 33.58 kB / 0.5031 GB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2363, allocations: 14.66 kB / 0.5031 GB, free: 7.797 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007296/0.237, allocations: 0.6597 MB / 0.5038 GB, free: 7.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.237, allocations: 0 / 0.5038 GB, free: 7.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005545/0.2376, allocations: 153.4 kB / 0.5039 GB, free: 7.414 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: 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.00332/0.2409, allocations: 1.633 MB / 0.5055 GB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.2418, allocations: 0.4954 MB / 0.506 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2418, allocations: 0 / 0.506 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.2423, allocations: 288.7 kB / 0.5063 GB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.2427, allocations: 93.81 kB / 0.5064 GB, free: 5.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006976/0.2497, allocations: 6.482 MB / 0.5127 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.2502, allocations: 0.9556 MB / 0.5136 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.2504, allocations: 88.33 kB / 0.5137 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.2507, allocations: 251.4 kB / 0.514 GB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2507, allocations: 0 / 0.514 GB, free: 15.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.2969, allocations: 14.18 MB / 0.5278 GB, free: 0.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.4, allocations: 11.92 kB / 0.5278 GB, free: 0.9062 MB / 382.1 MB " [Timeout remaining time 648] (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: 13.731269363997853]