Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) 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.TestIceT,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007438/0.007438, allocations: 97.66 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 195.8 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04088/0.04088, allocations: 8.428 MB / 299 MB, free: 6.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 413.3 MB, free: 22.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 51.36 MB / 464.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006571/0.1142, allocations: 3.629 MB / 468.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.1174, allocations: 1.717 MB / 470 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.1178, allocations: 11.94 kB / 470 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.1186, allocations: 330.8 kB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007182/0.1193, allocations: 290.6 kB / 470.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009913/0.1203, allocations: 408.7 kB / 471 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.1211, allocations: 0.655 MB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.1215, allocations: 222.6 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.1219, allocations: 275 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005099/0.1224, allocations: 366.7 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.841e-05/0.1225, allocations: 56 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002742/0.1228, allocations: 128 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.1231, allocations: 307 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004286/0.1235, allocations: 465.1 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.1249, allocations: 1.163 MB / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1249, allocations: 0 / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1249, allocations: 0 / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.1249, allocations: 0 / 474.6 MB, free: 8.629 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002463/0.1274, allocations: 1.446 MB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1275, allocations: 11.89 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.134e-05/0.1276, allocations: 74.66 kB / 476.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.1278, allocations: 116.2 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.129, allocations: 0.8459 MB / 477.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.1291, allocations: 32.94 kB / 477.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.1292, allocations: 39.95 kB / 477.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009456/0.1301, allocations: 434.4 kB / 477.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1302, allocations: 0 / 477.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.1302, allocations: 12 kB / 477.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1302, allocations: 12 kB / 477.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.1311, allocations: 307.7 kB / 477.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.1342, allocations: 1.958 MB / 479.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.1352, allocations: 322.8 kB / 480.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1356, allocations: 120.8 kB / 480.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.1356, allocations: 4 kB / 480.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004971/0.1361, allocations: 192.7 kB / 480.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.1361, allocations: 0 / 480.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001633/0.1378, allocations: 0.5717 MB / 481.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.1379, allocations: 136.5 kB / 481.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.1402, allocations: 1.67 MB / 482.9 MB, free: 36 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.1402, allocations: 33.86 kB / 482.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.1407, allocations: 484.8 kB / 483.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.1408, allocations: 87.28 kB / 483.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.141, allocations: 77.69 kB / 483.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1411, allocations: 318 kB / 483.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.1415, allocations: 140.7 kB / 484 MB, free: 14.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.142, allocations: 221.3 kB / 484.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008144/0.1428, allocations: 360.5 kB / 484.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1428, allocations: 0 / 484.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001292/0.1441, allocations: 0.5225 MB / 485.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.451e-05/0.1442, allocations: 36.14 kB / 485.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1442, allocations: 4 kB / 485.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.1444, allocations: 24.84 kB / 485.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.1447, allocations: 75.88 kB / 485.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.146, allocations: 1.379 MB / 486.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.1464, allocations: 51.94 kB / 486.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1465, allocations: 16 kB / 486.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000849/0.1473, allocations: 459.9 kB / 487.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004199/0.1478, allocations: 213.2 kB / 487.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007166/0.1485, allocations: 327.9 kB / 487.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.1485, allocations: 3.938 kB / 487.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.00112/0.1496, allocations: 0.5064 MB / 488.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.1497, allocations: 33.69 kB / 488.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1497, allocations: 4 kB / 488.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.646e-05/0.1498, allocations: 24.84 kB / 488.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.1501, allocations: 80.02 kB / 488.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.1513, allocations: 1.367 MB / 489.7 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.1517, allocations: 43.84 kB / 489.7 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1517, allocations: 16 kB / 489.7 MB, free: 8.707 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.1519, allocations: 200.5 kB / 489.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1521, allocations: 103.3 kB / 490 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.1532, allocations: 424 kB / 490.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1533, allocations: 4 kB / 490.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1533, allocations: 0 / 490.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1533, allocations: 0 / 490.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009437/0.1542, allocations: 0.6911 MB / 491.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1542, allocations: 0 / 491.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.1545, allocations: 55.95 kB / 491.2 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.622e-05/0.1546, allocations: 20.91 kB / 491.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.1547, allocations: 7.969 kB / 491.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.1558, allocations: 1.371 MB / 492.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.1558, allocations: 3.984 kB / 492.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.1571, allocations: 0.5598 MB / 493.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.1574, allocations: 220.3 kB / 493.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.1575, allocations: 8 kB / 493.4 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.1578, allocations: 31.95 kB / 493.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.1579, allocations: 23.97 kB / 493.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1579, allocations: 4 kB / 493.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00166/0.1596, allocations: 1.207 MB / 494.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1596, allocations: 3.938 kB / 494.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008165/0.1604, allocations: 267.4 kB / 494.9 MB, free: 3.273 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003995/0.1644, allocations: 1.645 MB / 496.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001827/0.1662, allocations: 0.823 MB / 497.4 MB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1663, allocations: 4.125 kB / 497.4 MB, free: 1.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.1668, allocations: 254.5 kB / 497.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007909/0.1676, allocations: 119.4 kB / 497.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.1824, allocations: 9.662 MB / 0.4955 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/0.1834, allocations: 1.079 MB / 0.4966 GB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004176/0.1838, allocations: 157 kB / 0.4967 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.1843, allocations: 347.3 kB / 0.4971 GB, free: 5.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1843, allocations: 0 / 0.4971 GB, free: 5.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2587/0.443, allocations: 19.59 MB / 0.5162 GB, free: 41.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.29, allocations: 8.047 kB / 0.5162 GB, free: 41.89 MB / 382.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT_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_TestIceT.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1)