Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.0011/0.0011, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1408/0.1408, allocations: 8.027 MB / 298.6 MB, free: 2.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 360.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09922, allocations: 51.19 MB / 411.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004543/0.1038, allocations: 3.223 MB / 415 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1052, allocations: 0.7795 MB / 415.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1055, allocations: 11.94 kB / 415.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.106, allocations: 271.3 kB / 416.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.1064, allocations: 191.3 kB / 416.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.107, allocations: 267.2 kB / 416.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.1074, allocations: 471.1 kB / 417 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.1077, allocations: 174.7 kB / 417.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.108, allocations: 191.3 kB / 417.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.1083, allocations: 271 kB / 417.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.1083, allocations: 20 kB / 417.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1084, allocations: 59.97 kB / 417.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1086, allocations: 167.4 kB / 417.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.1089, allocations: 274.2 kB / 418.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.1093, allocations: 0.5341 MB / 418.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1094, allocations: 0 / 418.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1094, allocations: 0 / 418.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1094, allocations: 0 / 418.6 MB, free: 4.691 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.001537/0.1109, allocations: 1.021 MB / 419.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.111, allocations: 12.03 kB / 419.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1111, allocations: 75.94 kB / 419.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.1117, allocations: 0.5275 MB / 420.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.1118, allocations: 28.59 kB / 420.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.1118, allocations: 31.98 kB / 420.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.1126, allocations: 381.2 kB / 420.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1126, allocations: 3.906 kB / 420.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.1126, allocations: 12 kB / 420.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1126, allocations: 8 kB / 420.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007213/0.1134, allocations: 270.4 kB / 421 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.1156, allocations: 1.663 MB / 422.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.1165, allocations: 290.5 kB / 422.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.1168, allocations: 108.8 kB / 423.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.1169, allocations: 0 / 423.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.194/0.3109, allocations: 167.5 kB / 423.2 MB, free: 44.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 4.168e-06/0.3109, allocations: 0.5312 kB / 423.2 MB, free: 44.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001933/0.3129, allocations: 0.6303 MB / 423.8 MB, free: 44.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3129, allocations: 90.14 kB / 423.9 MB, free: 44.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3139, allocations: 0.9696 MB / 424.9 MB, free: 44.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.314, allocations: 31.7 kB / 424.9 MB, free: 44.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.3143, allocations: 334.7 kB / 425.3 MB, free: 44.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.3143, allocations: 72.66 kB / 425.3 MB, free: 44.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.3144, allocations: 64.88 kB / 425.4 MB, free: 44.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.3145, allocations: 372.2 kB / 425.8 MB, free: 43.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3148, allocations: 118.6 kB / 425.9 MB, free: 43.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.3151, allocations: 193.7 kB / 426.1 MB, free: 43.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005688/0.3157, allocations: 317.3 kB / 426.4 MB, free: 43.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3157, allocations: 0 / 426.4 MB, free: 43.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00107/0.3168, allocations: 0.5006 MB / 426.9 MB, free: 43.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.3169, allocations: 35.55 kB / 426.9 MB, free: 43.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3169, allocations: 0 / 426.9 MB, free: 43.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.3171, allocations: 69.89 kB / 427 MB, free: 43.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.3173, allocations: 46.34 kB / 427 MB, free: 43.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.3191, allocations: 1.786 MB / 428.8 MB, free: 42.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.3194, allocations: 49.75 kB / 428.9 MB, free: 42.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.3194, allocations: 9.969 kB / 428.9 MB, free: 42.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004384/0.3199, allocations: 309.8 kB / 429.2 MB, free: 41.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000266/0.3202, allocations: 189.4 kB / 429.4 MB, free: 41.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004797/0.3207, allocations: 305.2 kB / 429.7 MB, free: 41.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/0.3207, allocations: 0 / 429.7 MB, free: 41.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007492/0.3214, allocations: 435 kB / 430.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.3215, allocations: 38.17 kB / 430.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3215, allocations: 0.5625 kB / 430.1 MB, free: 41.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.3216, allocations: 46.69 kB / 430.2 MB, free: 41.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.3218, allocations: 60.02 kB / 430.2 MB, free: 41.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009521/0.3228, allocations: 1.582 MB / 431.8 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.323, allocations: 42.09 kB / 431.8 MB, free: 39.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3231, allocations: 9.344 kB / 431.9 MB, free: 39.8 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.0001146/0.3232, allocations: 197.8 kB / 432 MB, free: 39.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.3233, allocations: 59.81 kB / 432.1 MB, free: 39.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009058/0.3242, allocations: 398.5 kB / 432.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3242, allocations: 0 / 432.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3242, allocations: 3.781 kB / 432.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3242, allocations: 5.156 kB / 432.5 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3246, allocations: 485.4 kB / 433 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3246, allocations: 0 / 433 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.3248, allocations: 40.7 kB / 433 MB, free: 39.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/0.325, allocations: 71.5 kB / 433.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.3251, allocations: 7.625 kB / 433.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.3267, allocations: 1.774 MB / 434.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3267, allocations: 1.484 kB / 434.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3278, allocations: 0.5098 MB / 435.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.3279, allocations: 153 kB / 435.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.3279, allocations: 3.938 kB / 435.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3282, allocations: 27.56 kB / 435.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.3283, allocations: 27.45 kB / 435.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3283, allocations: 10.41 kB / 435.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006345/0.3289, allocations: 0.7004 MB / 436.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3289, allocations: 0 / 436.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007477/0.3297, allocations: 196.3 kB / 436.5 MB, free: 36.93 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.0008785/0.3306, allocations: 366.3 kB / 436.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.3321, allocations: 0.7982 MB / 437.6 MB, free: 36.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3321, allocations: 4.062 kB / 437.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.3326, allocations: 289.2 kB / 437.9 MB, free: 36.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3331, allocations: 87.97 kB / 438 MB, free: 36.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.335, allocations: 1.566 MB / 439.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3353, allocations: 0.9214 MB / 440.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3354, allocations: 36.03 kB / 440.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3355, allocations: 0 / 440.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of Templates: time 0.01121/0.3467, allocations: 9.274 MB / 449.8 MB, free: 33.33 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)