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.00123/0.00123, allocations: 105.7 kB / 17.54 MB, free: 4.746 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.00112/0.00112, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.172 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.03648/0.03648, allocations: 8.531 MB / 313 MB, free: 1.883 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.001946/0.001946, allocations: 75.88 kB / 435.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2194, allocations: 54.19 MB / 490.1 MB, free: 25.72 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004314/0.2237, allocations: 3.809 MB / 493.9 MB, free: 23.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2251, allocations: 1.09 MB / 495 MB, free: 22.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.2253, allocations: 11.16 kB / 495 MB, free: 22.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.2257, allocations: 201.8 kB / 495.2 MB, free: 22.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.2261, allocations: 232.1 kB / 495.4 MB, free: 22.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.2267, allocations: 366.3 kB / 495.8 MB, free: 21.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005301/0.2273, allocations: 0.6296 MB / 496.4 MB, free: 21.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.2276, allocations: 196.2 kB / 496.6 MB, free: 21.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.2278, allocations: 261.4 kB / 496.9 MB, free: 21.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.2281, allocations: 318.9 kB / 497.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.2282, allocations: 55 kB / 497.2 MB, free: 21.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.2283, allocations: 109.9 kB / 497.3 MB, free: 21.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.2285, allocations: 215.7 kB / 497.6 MB, free: 21.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.2287, allocations: 345.5 kB / 497.9 MB, free: 20.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007209/0.2294, allocations: 0.8889 MB / 498.8 MB, free: 20.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2295, allocations: 0 / 498.8 MB, free: 20.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2295, allocations: 4 kB / 498.8 MB, free: 20.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.2295, allocations: 0 / 498.8 MB, free: 20.34 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.00143/0.2309, allocations: 1.113 MB / 499.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2309, allocations: 13.61 kB / 499.9 MB, free: 19.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.218e-05/0.231, allocations: 83.8 kB / 500 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2311, allocations: 87 kB / 0.4884 GB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.2317, allocations: 0.5924 MB / 0.4889 GB, free: 18.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.2317, allocations: 33.25 kB / 0.489 GB, free: 18.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/0.2318, allocations: 44.14 kB / 0.489 GB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.2324, allocations: 435.5 kB / 0.4894 GB, free: 18.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.2325, allocations: 5.625 kB / 0.4894 GB, free: 18.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.2325, allocations: 15.53 kB / 0.4894 GB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2325, allocations: 10.62 kB / 0.4895 GB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.2332, allocations: 307.6 kB / 0.4898 GB, free: 18.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.2351, allocations: 1.767 MB / 0.4915 GB, free: 16.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.2358, allocations: 302.7 kB / 0.4918 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.2361, allocations: 121.7 kB / 0.4919 GB, free: 16.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.2361, allocations: 2.656 kB / 0.4919 GB, free: 16.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.2365, allocations: 183.6 kB / 0.4921 GB, free: 16.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.2365, allocations: 0 / 0.4921 GB, free: 16.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001479/0.238, allocations: 0.5936 MB / 0.4926 GB, free: 16.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.238, allocations: 62.8 kB / 0.4927 GB, free: 16.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008905/0.2389, allocations: 0.9267 MB / 0.4936 GB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2389, allocations: 31.02 kB / 0.4936 GB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.2391, allocations: 359 kB / 0.494 GB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.2391, allocations: 94.11 kB / 0.4941 GB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.2392, allocations: 70.14 kB / 0.4941 GB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.2393, allocations: 382.8 kB / 0.4945 GB, free: 14.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.2396, allocations: 129.7 kB / 0.4946 GB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.2399, allocations: 196.3 kB / 0.4948 GB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.2405, allocations: 337.1 kB / 0.4951 GB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2405, allocations: 5.562 kB / 0.4951 GB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009289/0.2415, allocations: 0.5139 MB / 0.4956 GB, free: 14.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.2415, allocations: 31.98 kB / 0.4957 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2415, allocations: 1.5 kB / 0.4957 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.2417, allocations: 65.84 kB / 0.4957 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.242, allocations: 68.33 kB / 0.4958 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2432, allocations: 1.832 MB / 0.4976 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.2435, allocations: 44.38 kB / 0.4976 GB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.2435, allocations: 18.33 kB / 0.4976 GB, free: 12.21 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.0002265/0.2438, allocations: 266.9 kB / 0.4979 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.2439, allocations: 63.98 kB / 0.498 GB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008347/0.2447, allocations: 403.4 kB / 0.4983 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2447, allocations: 2.688 kB / 0.4983 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.2447, allocations: 0 / 0.4983 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2447, allocations: 3.984 kB / 0.4984 GB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.2451, allocations: 0.5376 MB / 0.4989 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2451, allocations: 1.188 kB / 0.4989 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.2454, allocations: 51.61 kB / 0.4989 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00017/0.2455, allocations: 58.31 kB / 0.499 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.2455, allocations: 10.06 kB / 0.499 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.2467, allocations: 1.802 MB / 0.5008 GB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2467, allocations: 5.188 kB / 0.5008 GB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.2477, allocations: 0.5544 MB / 0.5013 GB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.2479, allocations: 162.4 kB / 0.5015 GB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.2479, allocations: 6.172 kB / 0.5015 GB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2481, allocations: 19.08 kB / 0.5015 GB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.2482, allocations: 31.14 kB / 0.5015 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.2483, allocations: 9.547 kB / 0.5015 GB, free: 8.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006843/0.2489, allocations: 0.6627 MB / 0.5022 GB, free: 8.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2489, allocations: 1.375 kB / 0.5022 GB, free: 8.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.2494, allocations: 134.5 kB / 0.5023 GB, free: 8.605 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.003226/0.2527, allocations: 1.59 MB / 0.5038 GB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009045/0.2536, allocations: 473.5 kB / 0.5043 GB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2536, allocations: 0 / 0.5043 GB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.254, allocations: 262.7 kB / 0.5045 GB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2544, allocations: 94.48 kB / 0.5046 GB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/0.2616, allocations: 6.309 MB / 0.5108 GB, free: 2.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.2619, allocations: 0.944 MB / 0.5117 GB, free: 1.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.2621, allocations: 72.23 kB / 0.5118 GB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.2623, allocations: 243.4 kB / 0.512 GB, free: 1.082 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2624, allocations: 0 / 0.512 GB, free: 1.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04491/0.3073, allocations: 13.71 MB / 0.5254 GB, free: 3.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.67, allocations: 0 / 0.5254 GB, free: 3.402 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 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: 13.989905345006264]