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.001452/0.001452, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001622/0.001622, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04099/0.04099, allocations: 8.038 MB / 299.2 MB, free: 6.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 71.88 kB / 413.8 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08556, allocations: 51.18 MB / 464.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004497/0.0901, allocations: 3.183 MB / 468.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.09146, allocations: 0.799 MB / 468.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.09164, allocations: 11.88 kB / 468.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.0921, allocations: 287 kB / 469.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.09252, allocations: 215 kB / 469.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.09312, allocations: 296.6 kB / 469.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.09359, allocations: 495.1 kB / 470.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.09392, allocations: 210.7 kB / 470.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.09414, allocations: 203.3 kB / 470.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.09444, allocations: 291 kB / 470.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.09451, allocations: 40 kB / 470.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.09463, allocations: 71.97 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.09481, allocations: 183.4 kB / 471.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.09504, allocations: 298.1 kB / 471.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.09574, allocations: 0.7118 MB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.09576, allocations: 4 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09577, allocations: 0 / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.09579, allocations: 4 kB / 472.2 MB, free: 11.79 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.001494/0.09729, allocations: 1.025 MB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.09733, allocations: 16.03 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.09746, allocations: 76.42 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006671/0.09814, allocations: 0.5476 MB / 473.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.09817, allocations: 24.59 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.09824, allocations: 32 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.09897, allocations: 385.2 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.099, allocations: 3.953 kB / 474.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.09904, allocations: 12 kB / 474.3 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.09905, allocations: 11.94 kB / 474.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007036/0.09976, allocations: 266.4 kB / 474.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.1018, allocations: 1.659 MB / 476.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.1027, allocations: 290.5 kB / 476.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.103, allocations: 108.7 kB / 476.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.103, allocations: 7.938 kB / 476.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.1034, allocations: 163.3 kB / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.1035, allocations: 0 / 476.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001898/0.1054, allocations: 0.642 MB / 477.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.1054, allocations: 89.09 kB / 477.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/0.1064, allocations: 0.965 MB / 478.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1064, allocations: 33.69 kB / 478.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.1067, allocations: 348.3 kB / 478.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.794e-05/0.1068, allocations: 75.36 kB / 478.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.1069, allocations: 61.59 kB / 479 MB, free: 4.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.107, allocations: 378.8 kB / 479.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.1074, allocations: 117 kB / 479.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.1078, allocations: 188.2 kB / 479.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.1085, allocations: 320.5 kB / 480 MB, free: 3.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1085, allocations: 0 / 480 MB, free: 3.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001222/0.1097, allocations: 0.5031 MB / 480.5 MB, free: 3.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.1098, allocations: 37.69 kB / 480.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.1098, allocations: 7.938 kB / 480.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.11, allocations: 56.83 kB / 480.6 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.1103, allocations: 56.11 kB / 480.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.1126, allocations: 1.974 MB / 482.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.1129, allocations: 43.83 kB / 482.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.113, allocations: 15.98 kB / 482.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005097/0.1135, allocations: 312.3 kB / 483 MB, free: 440 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003305/0.1139, allocations: 187.3 kB / 483.1 MB, free: 216 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006058/0.1145, allocations: 301.8 kB / 483.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.763e-06/0.1145, allocations: 4 kB / 483.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008953/0.1154, allocations: 433.7 kB / 483.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.1154, allocations: 33.7 kB / 483.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1154, allocations: 7.938 kB / 483.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.1156, allocations: 53.08 kB / 484 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1158, allocations: 55.89 kB / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.1172, allocations: 1.756 MB / 485.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.1175, allocations: 47.75 kB / 485.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1175, allocations: 8 kB / 485.8 MB, free: 13.34 MB / 366.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.0001481/0.1177, allocations: 208.7 kB / 486 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.1178, allocations: 63.69 kB / 486.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.1188, allocations: 391.8 kB / 486.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1188, allocations: 4 kB / 486.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1188, allocations: 0 / 486.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1188, allocations: 3.984 kB / 486.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.1193, allocations: 493.1 kB / 487 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1193, allocations: 0 / 487 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.1195, allocations: 35.97 kB / 487 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.1198, allocations: 72.75 kB / 487.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.1198, allocations: 8 kB / 487.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.122, allocations: 1.951 MB / 489 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.122, allocations: 0 / 489 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1233, allocations: 0.519 MB / 489.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.1235, allocations: 152.7 kB / 489.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.1235, allocations: 4 kB / 489.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.1238, allocations: 31.91 kB / 489.7 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.1239, allocations: 31.84 kB / 489.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1239, allocations: 8 kB / 489.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007619/0.1247, allocations: 0.7021 MB / 490.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1247, allocations: 0 / 490.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007445/0.1254, allocations: 195.6 kB / 490.7 MB, free: 8.254 MB / 366.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.0007992/0.1262, allocations: 370.4 kB / 491 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.128, allocations: 0.8007 MB / 491.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.128, allocations: 0 / 491.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006557/0.1286, allocations: 291.3 kB / 492.1 MB, free: 6.867 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.1291, allocations: 89.36 kB / 492.2 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1312, allocations: 1.383 MB / 493.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.1318, allocations: 0.9217 MB / 494.5 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.1319, allocations: 31.44 kB / 494.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1319, allocations: 4 kB / 494.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of Templates: time 0.01324/0.1451, allocations: 9.324 MB / 0.492 GB, free: 11.06 MB / 382.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)