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.001211/0.001211, allocations: 92.16 kB / 16.02 MB, free: 80 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.001831/0.001831, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1884/0.1884, allocations: 8.016 MB / 300.1 MB, free: 3.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 8 kB / 363.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.0975, allocations: 52.19 MB / 415.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003708/0.1012, allocations: 2.834 MB / 418.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.1026, allocations: 0.7718 MB / 418.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.1028, allocations: 11.94 kB / 418.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.1032, allocations: 271.3 kB / 419.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.1036, allocations: 195.3 kB / 419.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.1042, allocations: 255 kB / 419.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.1046, allocations: 467.1 kB / 420 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.105, allocations: 178.7 kB / 420.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.1052, allocations: 179.2 kB / 420.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1055, allocations: 239.2 kB / 420.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.1056, allocations: 15.94 kB / 420.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1057, allocations: 47.92 kB / 420.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.1058, allocations: 155.5 kB / 420.8 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.1061, allocations: 283.9 kB / 421.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004906/0.1066, allocations: 0.5221 MB / 421.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1066, allocations: 7.984 kB / 421.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1066, allocations: 0 / 421.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1066, allocations: 0 / 421.6 MB, free: 3.281 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.001456/0.1081, allocations: 0.9162 MB / 422.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1081, allocations: 8.031 kB / 422.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1083, allocations: 76 kB / 422.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.1089, allocations: 0.5275 MB / 423.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.109, allocations: 28.59 kB / 423.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.109, allocations: 39.91 kB / 423.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007611/0.1098, allocations: 393.2 kB / 423.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1098, allocations: 0 / 423.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.1099, allocations: 19.94 kB / 423.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1099, allocations: 8 kB / 423.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007889/0.1107, allocations: 306.3 kB / 423.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.193/0.3037, allocations: 1.678 MB / 425.6 MB, free: 40.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/0.3046, allocations: 324.1 kB / 425.9 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.305, allocations: 128.7 kB / 426.1 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.305, allocations: 5.297 kB / 426.1 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.3055, allocations: 180.3 kB / 426.2 MB, free: 40.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.445e-06/0.3055, allocations: 0 / 426.2 MB, free: 40.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001964/0.3075, allocations: 0.7401 MB / 427 MB, free: 40.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3075, allocations: 89.28 kB / 427.1 MB, free: 40.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.3084, allocations: 0.9666 MB / 428 MB, free: 40.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3085, allocations: 32.08 kB / 428.1 MB, free: 40.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3087, allocations: 342.1 kB / 428.4 MB, free: 40.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.3088, allocations: 75.66 kB / 428.5 MB, free: 40.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3088, allocations: 26.66 kB / 428.5 MB, free: 40.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.3089, allocations: 380 kB / 428.9 MB, free: 39.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.3092, allocations: 125.8 kB / 429 MB, free: 39.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.3096, allocations: 205.5 kB / 429.2 MB, free: 39.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.3103, allocations: 353.2 kB / 429.5 MB, free: 39.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3103, allocations: 0 / 429.5 MB, free: 39.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001213/0.3115, allocations: 0.5625 MB / 430.1 MB, free: 39.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/0.3116, allocations: 186.3 kB / 430.3 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3116, allocations: 6.938 kB / 430.3 MB, free: 39.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/0.3119, allocations: 64.28 kB / 430.3 MB, free: 39.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.3121, allocations: 62.16 kB / 430.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/0.314, allocations: 1.851 MB / 432.3 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3144, allocations: 57.58 kB / 432.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.3144, allocations: 12.62 kB / 432.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.3144, allocations: 3.438 kB / 432.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007496/0.3152, allocations: 382.3 kB / 432.7 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3152, allocations: 3.656 kB / 432.7 MB, free: 37.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.3153, allocations: 49.38 kB / 432.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.3155, allocations: 60.75 kB / 432.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009868/0.3165, allocations: 1.585 MB / 434.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.3168, allocations: 41.22 kB / 434.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.3168, allocations: 12.28 kB / 434.4 MB, free: 36.54 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.0003242/0.3172, allocations: 343.5 kB / 434.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.3172, allocations: 60.66 kB / 434.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009886/0.3182, allocations: 444.4 kB / 435.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.3183, allocations: 3.281 kB / 435.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3183, allocations: 9.688 kB / 435.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.3183, allocations: 3.422 kB / 435.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.3187, allocations: 488.5 kB / 435.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3187, allocations: 0 / 435.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.319, allocations: 48.83 kB / 435.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/0.3192, allocations: 87.31 kB / 435.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.3193, allocations: 2.375 kB / 435.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.321, allocations: 1.832 MB / 437.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.321, allocations: 0 / 437.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.3223, allocations: 0.5848 MB / 438.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.3225, allocations: 152 kB / 438.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.3225, allocations: 10.75 kB / 438.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3228, allocations: 35.12 kB / 438.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.3229, allocations: 31.81 kB / 438.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3229, allocations: 4.5 kB / 438.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006594/0.3236, allocations: 0.7064 MB / 439.3 MB, free: 34.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3236, allocations: 3.828 kB / 439.3 MB, free: 34.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007814/0.3244, allocations: 191.9 kB / 439.4 MB, free: 34.27 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.0008876/0.3253, allocations: 360.8 kB / 439.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.327, allocations: 0.8612 MB / 440.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3271, allocations: 3.781 kB / 440.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.3277, allocations: 320.9 kB / 441 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.3282, allocations: 83.92 kB / 441.1 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3303, allocations: 1.63 MB / 442.7 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3307, allocations: 0.9177 MB / 443.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.871e-05/0.3308, allocations: 33.09 kB / 443.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.3308, allocations: 0 / 443.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of Templates: time 0.01135/0.3421, allocations: 9.167 MB / 452.8 MB, free: 30.79 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)