Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001905/0.001905, allocations: 191 kB / 16.14 MB, free: 6.688 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1748/0.1748, allocations: 8.026 MB / 298 MB, free: 2.422 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 71.89 kB / 359.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1034, allocations: 51.2 MB / 411.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004674/0.1081, allocations: 3.204 MB / 414.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1095, allocations: 0.8028 MB / 415.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1097, allocations: 7.938 kB / 415.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.1101, allocations: 271.3 kB / 415.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.1105, allocations: 199.3 kB / 415.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.111, allocations: 255.2 kB / 415.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.1114, allocations: 463.1 kB / 416.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.1118, allocations: 178.7 kB / 416.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.112, allocations: 195.2 kB / 416.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.1122, allocations: 267.1 kB / 416.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.1123, allocations: 27.98 kB / 417 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1124, allocations: 51.94 kB / 417 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.1126, allocations: 167.4 kB / 417.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.1129, allocations: 270.2 kB / 417.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.1134, allocations: 0.6695 MB / 418.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1135, allocations: 0 / 418.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1135, allocations: 3.938 kB / 418.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1135, allocations: 4 kB / 418.1 MB, free: 4.566 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001544/0.115, allocations: 1.017 MB / 419.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1151, allocations: 8.031 kB / 419.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1152, allocations: 76 kB / 419.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.1158, allocations: 0.5314 MB / 419.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.1158, allocations: 28.59 kB / 419.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/0.1159, allocations: 32 kB / 419.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.1167, allocations: 381.2 kB / 420.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1167, allocations: 3.906 kB / 420.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.1167, allocations: 16 kB / 420.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1167, allocations: 12 kB / 420.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.1175, allocations: 262.3 kB / 420.5 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.1196, allocations: 1.667 MB / 422.1 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.1204, allocations: 298.5 kB / 422.4 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1879/0.3083, allocations: 100.7 kB / 422.5 MB, free: 44.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.3084, allocations: 7.891 kB / 422.5 MB, free: 44.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006686/0.3091, allocations: 159.8 kB / 422.7 MB, free: 44.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.926e-06/0.3091, allocations: 0 / 422.7 MB, free: 44.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002675/0.3118, allocations: 0.6435 MB / 423.3 MB, free: 44.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3119, allocations: 80.27 kB / 423.4 MB, free: 44.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.3132, allocations: 0.9721 MB / 424.4 MB, free: 44.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.3133, allocations: 33.39 kB / 424.4 MB, free: 44.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.3136, allocations: 339 kB / 424.8 MB, free: 44.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.3137, allocations: 74.34 kB / 424.8 MB, free: 44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.3138, allocations: 55.3 kB / 424.9 MB, free: 43.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3139, allocations: 376.1 kB / 425.2 MB, free: 43.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.3144, allocations: 122 kB / 425.4 MB, free: 43.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.3149, allocations: 185.8 kB / 425.5 MB, free: 43.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008467/0.3157, allocations: 320 kB / 425.9 MB, free: 43.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3157, allocations: 1.531 kB / 425.9 MB, free: 43.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001524/0.3173, allocations: 0.5036 MB / 426.4 MB, free: 43.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.3173, allocations: 39.17 kB / 426.4 MB, free: 43.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3173, allocations: 3.094 kB / 426.4 MB, free: 43.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.3177, allocations: 59.52 kB / 426.5 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.318, allocations: 53.45 kB / 426.5 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.3204, allocations: 1.777 MB / 428.3 MB, free: 41.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.3209, allocations: 45.52 kB / 428.3 MB, free: 41.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.3209, allocations: 17.41 kB / 428.4 MB, free: 41.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006015/0.3215, allocations: 313.3 kB / 428.7 MB, free: 41.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004086/0.3219, allocations: 182.8 kB / 428.8 MB, free: 41.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007604/0.3227, allocations: 307.5 kB / 429.1 MB, free: 41.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.3227, allocations: 2.688 kB / 429.1 MB, free: 41.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.001255/0.324, allocations: 429.9 kB / 429.6 MB, free: 41.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.324, allocations: 31.45 kB / 429.6 MB, free: 41.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3241, allocations: 2.938 kB / 429.6 MB, free: 41.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.3242, allocations: 53.28 kB / 429.6 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3245, allocations: 46.11 kB / 429.7 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.3258, allocations: 1.588 MB / 431.3 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.3263, allocations: 42.2 kB / 431.3 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.3263, allocations: 14.28 kB / 431.3 MB, free: 39.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.3264, allocations: 195.5 kB / 431.5 MB, free: 39.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.3265, allocations: 64.52 kB / 431.6 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3279, allocations: 395.2 kB / 432 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3279, allocations: 6.75 kB / 432 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.3279, allocations: 3 kB / 432 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3279, allocations: 0 / 432 MB, free: 39.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.3284, allocations: 489.3 kB / 432.5 MB, free: 39.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3284, allocations: 0 / 432.5 MB, free: 39.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.3288, allocations: 36 kB / 432.5 MB, free: 39.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.3291, allocations: 74.95 kB / 432.6 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.3291, allocations: 4 kB / 432.6 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.3313, allocations: 1.766 MB / 434.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3314, allocations: 4.062 kB / 434.3 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.333, allocations: 0.5134 MB / 434.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.3332, allocations: 151.1 kB / 435 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.3333, allocations: 7.031 kB / 435 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.3336, allocations: 27.06 kB / 435 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.3337, allocations: 27.77 kB / 435.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3337, allocations: 6.406 kB / 435.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000887/0.3346, allocations: 0.7048 MB / 435.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3347, allocations: 0 / 435.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001141/0.3358, allocations: 192.1 kB / 436 MB, free: 36.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,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 (15): * Single equations (assignments): 12 * 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.001104/0.3369, allocations: 362.7 kB / 436.3 MB, free: 36.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3388, allocations: 0.7966 MB / 437.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3388, allocations: 4.188 kB / 437.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.3395, allocations: 291.1 kB / 437.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.3401, allocations: 84.3 kB / 437.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3421, allocations: 1.528 MB / 439 MB, free: 35.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3425, allocations: 0.924 MB / 439.9 MB, free: 34.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.3427, allocations: 65.27 kB / 440 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3429, allocations: 26.56 kB / 440 MB, free: 34.45 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3429, allocations: 0 / 440 MB, free: 34.45 MB / 350.1 MB Notification: Performance of Templates: time 0.01381/0.3567, allocations: 6.031 MB / 446.1 MB, free: 34.01 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)