Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.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 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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.TestIceT01,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceT01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceT01,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceT01",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.004776/0.004776, allocations: 101.3 kB / 15.73 MB, free: 6.055 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.001275/0.001275, allocations: 189.8 kB / 16.67 MB, free: 5.965 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04175/0.04175, allocations: 8.32 MB / 298.9 MB, free: 6.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.89 kB / 413 MB, free: 22.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08184, allocations: 51.26 MB / 464.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT01): time 0.005001/0.08688, allocations: 3.349 MB / 467.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.08943, allocations: 1.62 MB / 469.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.08962, allocations: 11.94 kB / 469.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005482/0.09018, allocations: 314.9 kB / 469.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.09071, allocations: 266.8 kB / 469.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008012/0.09153, allocations: 385.1 kB / 470.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000568/0.09211, allocations: 0.507 MB / 470.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.0924, allocations: 173.4 kB / 470.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.09267, allocations: 231.2 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.09309, allocations: 311 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.09317, allocations: 40 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.09338, allocations: 123.8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.0936, allocations: 207.4 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.09388, allocations: 310 kB / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008804/0.09477, allocations: 0.809 MB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.09479, allocations: 3.938 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09479, allocations: 3.938 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.09481, allocations: 4 kB / 472.9 MB, free: 10.54 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001682/0.0965, allocations: 1.114 MB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.09654, allocations: 8.031 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.006e-05/0.09663, allocations: 70.72 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.09676, allocations: 80.42 kB / 474.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.09759, allocations: 0.5824 MB / 474.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.09763, allocations: 24.56 kB / 474.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.09769, allocations: 28 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.09845, allocations: 363.8 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.09848, allocations: 7.953 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.09852, allocations: 12 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.09853, allocations: 8 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.09927, allocations: 254 kB / 475.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.1014, allocations: 1.51 MB / 476.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/0.1023, allocations: 271.6 kB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.1026, allocations: 104.8 kB / 477.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.1026, allocations: 7.984 kB / 477.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/0.1031, allocations: 163.2 kB / 477.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.1031, allocations: 4 kB / 477.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.00135/0.1045, allocations: 0.4897 MB / 477.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.1046, allocations: 136.5 kB / 478.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.1059, allocations: 1.137 MB / 479.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1059, allocations: 29.7 kB / 479.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.1062, allocations: 364.5 kB / 479.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.1063, allocations: 79.36 kB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.1064, allocations: 57.88 kB / 479.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1065, allocations: 314 kB / 480 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.1069, allocations: 109.5 kB / 480.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.1073, allocations: 181.8 kB / 480.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006718/0.108, allocations: 291.5 kB / 480.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.108, allocations: 0 / 480.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009651/0.1089, allocations: 419.4 kB / 481 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.303e-05/0.109, allocations: 33.7 kB / 481.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.109, allocations: 4 kB / 481.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.1092, allocations: 20.84 kB / 481.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.1094, allocations: 55.89 kB / 481.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1106, allocations: 1.383 MB / 482.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.1109, allocations: 47.86 kB / 482.6 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1109, allocations: 12 kB / 482.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005411/0.1115, allocations: 324.2 kB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003502/0.1118, allocations: 181.7 kB / 483.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005785/0.1124, allocations: 271.1 kB / 483.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.433e-06/0.1124, allocations: 0 / 483.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0008434/0.1133, allocations: 391.4 kB / 483.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1133, allocations: 33.7 kB / 483.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1133, allocations: 4 kB / 483.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.082e-05/0.1134, allocations: 29.06 kB / 483.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.1136, allocations: 47.91 kB / 483.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.1147, allocations: 1.386 MB / 485.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.115, allocations: 35.86 kB / 485.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.115, allocations: 8 kB / 485.3 MB, free: 13.38 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 (27): * Single equations (assignments): 25 * 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.000164/0.1152, allocations: 204.2 kB / 485.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.1153, allocations: 75.56 kB / 485.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008865/0.1161, allocations: 348.7 kB / 485.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1162, allocations: 4 kB / 485.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1162, allocations: 0 / 485.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1162, allocations: 0 / 485.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.1167, allocations: 0.5128 MB / 486.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1167, allocations: 0 / 486.4 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.117, allocations: 47.95 kB / 486.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.506e-05/0.1171, allocations: 16.8 kB / 486.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.1171, allocations: 11.98 kB / 486.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.1181, allocations: 1.367 MB / 487.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1182, allocations: 4.031 kB / 487.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.1193, allocations: 479.6 kB / 488.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.1195, allocations: 168.6 kB / 488.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.1195, allocations: 11.94 kB / 488.5 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1198, allocations: 23.97 kB / 488.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.1199, allocations: 19.97 kB / 488.5 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1199, allocations: 4 kB / 488.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009649/0.1209, allocations: 0.8309 MB / 489.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1209, allocations: 0 / 489.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006375/0.1215, allocations: 199.6 kB / 489.5 MB, free: 8.832 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.tokgFuel.y,loadTorque.phi) * 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 (18): * Single equations (assignments): 15 * 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.003775/0.1253, allocations: 1.561 MB / 491.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.1269, allocations: 0.6996 MB / 491.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.1269, allocations: 8 kB / 491.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004831/0.1274, allocations: 238.4 kB / 492 MB, free: 6.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.1279, allocations: 102.5 kB / 492.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/0.1376, allocations: 6.466 MB / 498.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.1383, allocations: 0.949 MB / 499.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.1385, allocations: 75.25 kB / 499.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.1388, allocations: 239.3 kB / 499.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1389, allocations: 0 / 499.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0504/0.1893, allocations: 14.38 MB / 0.5022 GB, free: 196 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.27, allocations: 4 kB / 0.5022 GB, free: 192 kB / 382.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceT01_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceT01.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT01.pipe 2>&1)