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.004383/0.004383, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001019/0.00102, allocations: 195 kB / 16.67 MB, free: 5.977 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.219/1.219, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03727/0.03727, allocations: 8.043 MB / 298.6 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.14 kB / 413.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.08043, allocations: 51.19 MB / 464.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004229/0.08469, allocations: 3.187 MB / 467.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.08584, allocations: 0.7989 MB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.08599, allocations: 8 kB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.08639, allocations: 287 kB / 468.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.08676, allocations: 215 kB / 468.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.08728, allocations: 293 kB / 469 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.08773, allocations: 495.2 kB / 469.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.08803, allocations: 206.7 kB / 469.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.08823, allocations: 215.3 kB / 469.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.08851, allocations: 279 kB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.08858, allocations: 40 kB / 470.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.0887, allocations: 71.98 kB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.08887, allocations: 187.4 kB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.08909, allocations: 290.2 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.08973, allocations: 0.7196 MB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.08975, allocations: 4 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08975, allocations: 0 / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.08977, allocations: 0 / 471.5 MB, free: 11.81 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.001373/0.09115, allocations: 1.028 MB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.09118, allocations: 12.03 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.0913, allocations: 88.36 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.09191, allocations: 0.5359 MB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.09194, allocations: 28.59 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.092, allocations: 40 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.09268, allocations: 377.2 kB / 473.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.09271, allocations: 7.953 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.09274, allocations: 12 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.09276, allocations: 8 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.09343, allocations: 262.4 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.09533, allocations: 1.659 MB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008385/0.09618, allocations: 290.5 kB / 475.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.09649, allocations: 112.7 kB / 475.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.09653, allocations: 4 kB / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00039/0.09692, allocations: 171.2 kB / 476.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.09693, allocations: 0 / 476.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001781/0.09872, allocations: 0.6537 MB / 476.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.09877, allocations: 77.11 kB / 476.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/0.0997, allocations: 0.965 MB / 477.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.09973, allocations: 25.7 kB / 477.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.09998, allocations: 348.3 kB / 478.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.1, allocations: 79.36 kB / 478.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.1001, allocations: 53.66 kB / 478.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1003, allocations: 378.8 kB / 478.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1006, allocations: 113.1 kB / 478.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.101, allocations: 200.1 kB / 479 MB, free: 3.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.1017, allocations: 316.6 kB / 479.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1017, allocations: 0 / 479.3 MB, free: 3.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001103/0.1028, allocations: 0.4992 MB / 479.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.1028, allocations: 33.7 kB / 479.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1028, allocations: 7.938 kB / 479.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.1031, allocations: 68.97 kB / 479.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1033, allocations: 47.97 kB / 479.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.1055, allocations: 1.978 MB / 481.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1057, allocations: 39.8 kB / 481.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.1058, allocations: 20.06 kB / 482 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004459/0.1062, allocations: 312.3 kB / 482.3 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003072/0.1065, allocations: 183.3 kB / 482.4 MB, free: 240 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005473/0.1071, allocations: 301.7 kB / 482.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.956e-06/0.1071, allocations: 3.984 kB / 482.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008222/0.1079, allocations: 437.9 kB / 483.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.108, allocations: 37.73 kB / 483.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.108, allocations: 7.938 kB / 483.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.1081, allocations: 48.83 kB / 483.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1083, allocations: 47.91 kB / 483.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1096, allocations: 1.76 MB / 485.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1099, allocations: 47.75 kB / 485.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1099, allocations: 8 kB / 485.1 MB, free: 13.36 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.0001262/0.11, allocations: 205.3 kB / 485.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.1101, allocations: 59.62 kB / 485.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/0.111, allocations: 399.8 kB / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.111, allocations: 3.938 kB / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.111, allocations: 0 / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1111, allocations: 4 kB / 485.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1115, allocations: 489.1 kB / 486.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1115, allocations: 0 / 486.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.1117, allocations: 39.95 kB / 486.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.1119, allocations: 68.81 kB / 486.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.112, allocations: 8 kB / 486.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.1139, allocations: 1.951 MB / 488.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1139, allocations: 0 / 488.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.1152, allocations: 0.5268 MB / 488.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.1153, allocations: 148.7 kB / 489 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.1154, allocations: 8 kB / 489 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1156, allocations: 23.97 kB / 489 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.1157, allocations: 31.8 kB / 489.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1157, allocations: 19.98 kB / 489.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006828/0.1164, allocations: 0.6982 MB / 489.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1164, allocations: 0 / 489.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006503/0.1171, allocations: 195.6 kB / 490 MB, free: 8.27 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.0007738/0.1178, allocations: 372.6 kB / 490.3 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.1194, allocations: 0.8 MB / 491.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1194, allocations: 0 / 491.1 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000602/0.1201, allocations: 294.6 kB / 491.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.1205, allocations: 77.47 kB / 491.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.1224, allocations: 1.343 MB / 492.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.1229, allocations: 0.9217 MB / 493.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.1231, allocations: 67.25 kB / 493.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.1232, allocations: 27.44 kB / 493.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1232, allocations: 0 / 493.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of Templates: time 0.01215/0.1353, allocations: 6.529 MB / 0.4886 GB, free: 13.89 MB / 382.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)