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) 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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008805/0.0008804, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.005254/0.005254, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.442/1.442, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1621/0.1621, allocations: 8.927 MB / 300.4 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.0003068, allocations: 8 kB / 363.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1098, allocations: 52.49 MB / 416.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00452/0.1143, allocations: 3.376 MB / 419.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1162, allocations: 1.04 MB / 420.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.1164, allocations: 11.94 kB / 420.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.1169, allocations: 315.1 kB / 420.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.1174, allocations: 263 kB / 421 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.1181, allocations: 319.2 kB / 421.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.1188, allocations: 0.6082 MB / 422 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.1193, allocations: 255.2 kB / 422.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1196, allocations: 222.9 kB / 422.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.12, allocations: 318.6 kB / 422.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.1201, allocations: 16 kB / 422.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1202, allocations: 83.97 kB / 422.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.1205, allocations: 267 kB / 423.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.1209, allocations: 426.8 kB / 423.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1812/0.3021, allocations: 1.063 MB / 424.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3022, allocations: 0 / 424.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3022, allocations: 0 / 424.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.3022, allocations: 0 / 424.6 MB, free: 36.3 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001845/0.3041, allocations: 1.225 MB / 425.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3041, allocations: 7.969 kB / 425.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3042, allocations: 121.4 kB / 425.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.3051, allocations: 0.8253 MB / 426.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.3051, allocations: 30.12 kB / 426.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.3052, allocations: 48.59 kB / 426.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.3059, allocations: 443.7 kB / 427.3 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.306, allocations: 7.531 kB / 427.3 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.306, allocations: 17.38 kB / 427.3 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.306, allocations: 11 kB / 427.3 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007154/0.3068, allocations: 338.4 kB / 427.6 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.3091, allocations: 2.02 MB / 429.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.3098, allocations: 342 kB / 430 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.3101, allocations: 137.6 kB / 430.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.3102, allocations: 3.219 kB / 430.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.3106, allocations: 195.1 kB / 430.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.774e-06/0.3106, allocations: 3.844 kB / 430.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001539/0.3122, allocations: 0.6819 MB / 431 MB, free: 34.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3122, allocations: 54.38 kB / 431.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.3139, allocations: 1.647 MB / 432.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.3139, allocations: 31.73 kB / 432.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3142, allocations: 486.4 kB / 433.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.3143, allocations: 87.12 kB / 433.3 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3143, allocations: 46.23 kB / 433.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.3144, allocations: 320 kB / 433.7 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.3147, allocations: 138.8 kB / 433.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.3151, allocations: 204.4 kB / 434 MB, free: 33.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.3158, allocations: 370.1 kB / 434.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3158, allocations: 0 / 434.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001013/0.3168, allocations: 0.5705 MB / 434.9 MB, free: 32.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.3168, allocations: 37.86 kB / 435 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3169, allocations: 3.156 kB / 435 MB, free: 32.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.3171, allocations: 63.55 kB / 435 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3174, allocations: 77.22 kB / 435.1 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3187, allocations: 1.646 MB / 436.7 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.319, allocations: 55.33 kB / 436.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3191, allocations: 13.78 kB / 436.8 MB, free: 31.5 MB / 350.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.0003405/0.3194, allocations: 379.8 kB / 437.2 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.3195, allocations: 96.62 kB / 437.3 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009151/0.3204, allocations: 481.9 kB / 437.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3204, allocations: 3.125 kB / 437.7 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3204, allocations: 2.906 kB / 437.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3204, allocations: 0 / 437.8 MB, free: 31.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.321, allocations: 0.6947 MB / 438.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.321, allocations: 0 / 438.4 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.3213, allocations: 54.92 kB / 438.5 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001813/0.3214, allocations: 64.64 kB / 438.6 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.3215, allocations: 3.688 kB / 438.6 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.3226, allocations: 1.646 MB / 440.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3226, allocations: 0 / 440.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.3237, allocations: 0.6144 MB / 440.8 MB, free: 29.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.3239, allocations: 220 kB / 441 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.324, allocations: 3.625 kB / 441 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.3243, allocations: 26.31 kB / 441.1 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.3243, allocations: 36.89 kB / 441.1 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3244, allocations: 6.688 kB / 441.1 MB, free: 29.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.3255, allocations: 1.185 MB / 442.3 MB, free: 29.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.3255, allocations: 0 / 442.3 MB, free: 29.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.326, allocations: 162.9 kB / 442.5 MB, free: 29.23 MB / 350.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.002292/0.3283, allocations: 0.5956 MB / 443.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000923/0.3293, allocations: 0.5015 MB / 443.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3293, allocations: 0 / 443.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.3297, allocations: 278.8 kB / 443.8 MB, free: 28.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.3303, allocations: 106.6 kB / 443.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.3326, allocations: 2.292 MB / 446.2 MB, free: 27.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.3331, allocations: 1.093 MB / 447.3 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002505/0.3334, allocations: 143.6 kB / 447.5 MB, free: 26.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3335, allocations: 46.81 kB / 447.5 MB, free: 26.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3335, allocations: 0 / 447.5 MB, free: 26.53 MB / 350.1 MB Notification: Performance of Templates: time 0.01288/0.3464, allocations: 7.85 MB / 455.4 MB, free: 25.95 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile (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 & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1)