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.001728/0.001728, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.002292/0.002292, allocations: 211 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.04294/0.04294, allocations: 8.541 MB / 321 MB, free: 10.41 MB / 254.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.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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 59.91 kB / 446.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1125, allocations: 55.42 MB / 0.4905 GB, free: 8.102 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006155/0.1186, allocations: 3.607 MB / 0.494 GB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.121, allocations: 1.172 MB / 0.4952 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.1213, allocations: 11.94 kB / 0.4952 GB, free: 3.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.1218, allocations: 206.8 kB / 0.4954 GB, free: 3.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007101/0.1225, allocations: 278.6 kB / 0.4956 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000852/0.1233, allocations: 370.9 kB / 0.496 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.1241, allocations: 0.6472 MB / 0.4966 GB, free: 1.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.1245, allocations: 203.8 kB / 0.4968 GB, free: 1.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.125, allocations: 275 kB / 0.4971 GB, free: 1.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.1254, allocations: 314.6 kB / 0.4974 GB, free: 1.016 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.1255, allocations: 56 kB / 0.4974 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.1257, allocations: 127.9 kB / 0.4976 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.126, allocations: 219.3 kB / 0.4978 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.1263, allocations: 266.3 kB / 0.498 GB, free: 368 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.1275, allocations: 0.8987 MB / 0.4989 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1275, allocations: 4 kB / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1275, allocations: 0 / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.1275, allocations: 0 / 0.4989 GB, free: 15.45 MB / 382.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.00227/0.1298, allocations: 1.058 MB / 0.4999 GB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.1299, allocations: 8.031 kB / 0.4999 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.758e-05/0.13, allocations: 82.7 kB / 0.5 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.1301, allocations: 96.33 kB / 0.5001 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.1312, allocations: 0.5377 MB / 0.5006 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.1312, allocations: 29 kB / 0.5007 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.687e-05/0.1313, allocations: 47.95 kB / 0.5007 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008447/0.1321, allocations: 431.8 kB / 0.5011 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.1322, allocations: 0 / 0.5011 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.1322, allocations: 20 kB / 0.5011 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.1322, allocations: 12 kB / 0.5012 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.133, allocations: 311.7 kB / 0.5015 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.136, allocations: 1.56 MB / 0.503 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.1369, allocations: 314.8 kB / 0.5033 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.1372, allocations: 112.8 kB / 0.5034 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.742e-05/0.1372, allocations: 15.88 kB / 0.5034 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.1377, allocations: 175.2 kB / 0.5036 GB, free: 10.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.484e-06/0.1377, allocations: 0 / 0.5036 GB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001737/0.1394, allocations: 0.525 MB / 0.5041 GB, free: 9.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.1395, allocations: 63.28 kB / 0.5041 GB, free: 9.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.1407, allocations: 0.9495 MB / 0.5051 GB, free: 8.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1408, allocations: 29.7 kB / 0.5051 GB, free: 8.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.1411, allocations: 360.5 kB / 0.5054 GB, free: 8.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1412, allocations: 95.28 kB / 0.5055 GB, free: 8.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1414, allocations: 78.02 kB / 0.5056 GB, free: 8.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.1416, allocations: 378.8 kB / 0.506 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.142, allocations: 158.4 kB / 0.5061 GB, free: 7.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.1425, allocations: 225.4 kB / 0.5063 GB, free: 7.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.1432, allocations: 337.6 kB / 0.5067 GB, free: 7.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1432, allocations: 0 / 0.5067 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001296/0.1445, allocations: 0.5387 MB / 0.5072 GB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.1446, allocations: 33.7 kB / 0.5072 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1446, allocations: 0 / 0.5072 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.1449, allocations: 60.81 kB / 0.5073 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.1452, allocations: 76.08 kB / 0.5073 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.1473, allocations: 1.703 MB / 0.509 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.1477, allocations: 51.7 kB / 0.5091 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.1477, allocations: 16.06 kB / 0.5091 GB, free: 4.578 MB / 382.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.0004818/0.1482, allocations: 274.4 kB / 0.5093 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1483, allocations: 67.58 kB / 0.5094 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.1493, allocations: 400.2 kB / 0.5098 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1493, allocations: 11.94 kB / 0.5098 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1493, allocations: 0 / 0.5098 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1493, allocations: 0 / 0.5098 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.1499, allocations: 464.3 kB / 0.5102 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1499, allocations: 0 / 0.5102 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.1502, allocations: 47.95 kB / 0.5103 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.1504, allocations: 56.81 kB / 0.5103 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1504, allocations: 4 kB / 0.5103 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.1523, allocations: 1.715 MB / 0.512 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1523, allocations: 0 / 0.512 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1536, allocations: 0.5484 MB / 0.5126 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.1538, allocations: 91.53 kB / 0.5126 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.1539, allocations: 4 kB / 0.5126 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1541, allocations: 23.97 kB / 0.5127 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.1542, allocations: 27.95 kB / 0.5127 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1542, allocations: 12 kB / 0.5127 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2584/0.4127, allocations: 0.6744 MB / 0.5134 GB, free: 26.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4127, allocations: 0 / 0.5134 GB, free: 26.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000845/0.4135, allocations: 130.7 kB / 0.5135 GB, free: 26.57 MB / 382.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.003963/0.4175, allocations: 1.649 MB / 0.5151 GB, free: 25.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.4185, allocations: 0.4891 MB / 0.5156 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4185, allocations: 2.5 kB / 0.5156 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.4189, allocations: 259.7 kB / 0.5158 GB, free: 25.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.4194, allocations: 91.2 kB / 0.5159 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/0.4276, allocations: 6.476 MB / 0.5222 GB, free: 23.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.428, allocations: 356.2 kB / 0.5226 GB, free: 23.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.4282, allocations: 82.08 kB / 0.5227 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.4285, allocations: 241.3 kB / 0.5229 GB, free: 23.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4285, allocations: 0 / 0.5229 GB, free: 23.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0494/0.4779, allocations: 14.68 MB / 0.5372 GB, free: 18.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.58, allocations: 1.281 kB / 0.5372 GB, free: 18.61 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.605754680000246] Failed to read output from testmodel.py, exit status != 0: 13.767062667990103 13.779148158 13.649268542 Calling exit ...