Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 102.1 kB / 16.4 MB, free: 6.465 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.001331/0.001331, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.449/1.449, 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/package.mo): time 0.05333/0.05333, allocations: 8.028 MB / 299.2 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001838, allocations: 67.89 kB / 413.7 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.108, allocations: 51.18 MB / 464.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001621/0.1097, allocations: 499.8 kB / 465.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.11, allocations: 87.58 kB / 465.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.11, allocations: 3.938 kB / 465.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.1101, allocations: 3.984 kB / 465.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.1101, allocations: 4 kB / 465.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.1104, allocations: 19.92 kB / 465.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1105, allocations: 35.97 kB / 465.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.1105, allocations: 0 / 465.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.1106, allocations: 27.97 kB / 465.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.1106, allocations: 15.94 kB / 465.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1106, allocations: 0 / 465.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1108, allocations: 31.97 kB / 465.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.1108, allocations: 15.98 kB / 465.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1109, allocations: 19.86 kB / 465.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.111, allocations: 55.8 kB / 465.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.111, allocations: 0 / 465.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.111, allocations: 0 / 465.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.111, allocations: 0 / 465.7 MB, free: 2.258 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000426/0.1115, allocations: 367.2 kB / 466.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1115, allocations: 8.031 kB / 466.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.1115, allocations: 4.891 kB / 466.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1117, allocations: 172.3 kB / 466.3 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1117, allocations: 4.375 kB / 466.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.1117, allocations: 8.375 kB / 466.3 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1119, allocations: 91.88 kB / 466.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1119, allocations: 192 / 466.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.112, allocations: 3.938 kB / 466.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.112, allocations: 23.92 kB / 466.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.1121, allocations: 43.95 kB / 466.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.1126, allocations: 396.8 kB / 466.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.704e-05/0.1127, allocations: 53.47 kB / 466.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.1128, allocations: 33.89 kB / 466.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/0.1132, allocations: 198.3 kB / 467.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.1132, allocations: 42.5 kB / 467.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.1132, allocations: 0 / 467.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002683/0.1135, allocations: 97.55 kB / 467.2 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.1136, allocations: 77.11 kB / 467.3 MB, free: 428 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.1137, allocations: 121.8 kB / 467.4 MB, free: 296 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1137, allocations: 29.7 kB / 467.5 MB, free: 260 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.1138, allocations: 103.9 kB / 467.6 MB, free: 152 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1138, allocations: 27.75 kB / 467.6 MB, free: 124 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.1139, allocations: 37.7 kB / 467.6 MB, free: 80 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1141, allocations: 326.8 kB / 467.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.305e-05/0.1141, allocations: 19.98 kB / 468 MB, free: 15.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.1143, allocations: 129.2 kB / 468.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.1145, allocations: 169.5 kB / 468.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1145, allocations: 0 / 468.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002473/0.1147, allocations: 157.7 kB / 468.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1148, allocations: 4 kB / 468.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1148, allocations: 4 kB / 468.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1148, allocations: 8 kB / 468.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.1173, allocations: 439.7 kB / 468.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.1202, allocations: 4.692 MB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.1203, allocations: 19.83 kB / 473.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1203, allocations: 8 kB / 473.6 MB, free: 9.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.1204, allocations: 125.8 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.1205, allocations: 0 / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1208, allocations: 122 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1208, allocations: 3.984 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1208, allocations: 4 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1208, allocations: 3.938 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.1211, allocations: 173.6 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.1211, allocations: 0 / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/0.1234, allocations: 427.5 kB / 474.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1234, allocations: 0 / 474.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1234, allocations: 8 kB / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.1262, allocations: 4.685 MB / 479.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1263, allocations: 0 / 479.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1265, allocations: 250.8 kB / 479.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.1266, allocations: 92.94 kB / 479.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.1266, allocations: 8.406 kB / 479.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/0.1267, allocations: 7.984 kB / 479.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.1267, allocations: 12.03 kB / 479.5 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1267, allocations: 4 kB / 479.5 MB, free: 3.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.1268, allocations: 91.27 kB / 479.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1268, allocations: 0 / 479.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1272, allocations: 16 kB / 479.6 MB, free: 3.527 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.1274, allocations: 116.8 kB / 479.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002942/0.1303, allocations: 0.5471 MB / 480.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1303, allocations: 0 / 480.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002692/0.133, allocations: 0.4918 MB / 480.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.1333, allocations: 10.5 kB / 480.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.134, allocations: 266.8 kB / 481 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.1344, allocations: 0.6889 MB / 481.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.1344, allocations: 11.44 kB / 481.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1344, allocations: 0 / 481.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of Templates: time 0.006336/0.1407, allocations: 3.089 MB / 484.8 MB, free: 14.23 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)