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-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.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.00109/0.00109, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.0009799/0.00098, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04118/0.04118, allocations: 8.041 MB / 299.2 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.91 kB / 413.7 MB, free: 22.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08413/0.08527, allocations: 51.2 MB / 464.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001385/0.08669, allocations: 494.6 kB / 465.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.08696, allocations: 103.5 kB / 465.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.08701, allocations: 0 / 465.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.08706, allocations: 0 / 465.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.606e-05/0.08709, allocations: 0 / 465.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.0873, allocations: 27.89 kB / 465.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.08739, allocations: 31.98 kB / 465.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.08744, allocations: 7.984 kB / 465.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.08747, allocations: 8 kB / 465.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.08751, allocations: 27.91 kB / 465.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.08753, allocations: 4 kB / 465.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.08763, allocations: 31.97 kB / 465.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.08766, allocations: 12 kB / 465.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.0877, allocations: 15.86 kB / 465.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.08782, allocations: 55.88 kB / 465.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.08783, allocations: 4 kB / 465.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.08784, allocations: 0 / 465.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.08785, allocations: 3.938 kB / 465.7 MB, free: 2.273 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.0003086/0.08817, allocations: 359.3 kB / 466.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.08821, allocations: 12.03 kB / 466.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.08824, allocations: 8.922 kB / 466.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.776e-05/0.08833, allocations: 160.4 kB / 466.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.08835, allocations: 8.375 kB / 466.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.08837, allocations: 384 / 466.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.08854, allocations: 99.86 kB / 466.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.08856, allocations: 192 / 466.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.08857, allocations: 3.938 kB / 466.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.0886, allocations: 12 kB / 466.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.08e-05/0.08869, allocations: 47.91 kB / 466.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.08912, allocations: 412.6 kB / 466.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.613e-05/0.0892, allocations: 45.58 kB / 466.9 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.08924, allocations: 25.72 kB / 466.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/0.08958, allocations: 206.3 kB / 467.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.08962, allocations: 34.5 kB / 467.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.08963, allocations: 4 kB / 467.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002305/0.08987, allocations: 89.59 kB / 467.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.08992, allocations: 81.11 kB / 467.3 MB, free: 460 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.09001, allocations: 117.8 kB / 467.4 MB, free: 332 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.09003, allocations: 29.69 kB / 467.5 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.09008, allocations: 107.9 kB / 467.6 MB, free: 184 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.09011, allocations: 31.55 kB / 467.6 MB, free: 152 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.09016, allocations: 33.72 kB / 467.6 MB, free: 112 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.09028, allocations: 326.8 kB / 467.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.854e-05/0.09032, allocations: 19.98 kB / 468 MB, free: 15.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.781e-05/0.09042, allocations: 117.7 kB / 468.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.09059, allocations: 169.5 kB / 468.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.0906, allocations: 0 / 468.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000222/0.09083, allocations: 157.7 kB / 468.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.09085, allocations: 12.03 kB / 468.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.09086, allocations: 4 kB / 468.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.09089, allocations: 4 kB / 468.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.09338, allocations: 439.5 kB / 468.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.09549, allocations: 4.692 MB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.09556, allocations: 15.78 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.09559, allocations: 12 kB / 473.6 MB, free: 9.867 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.0001047/0.0957, allocations: 129.8 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.09575, allocations: 7.906 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.09598, allocations: 122.3 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.096, allocations: 4 kB / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09601, allocations: 0 / 473.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.09602, allocations: 3.938 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.09624, allocations: 169.6 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.09625, allocations: 3.984 kB / 474 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/0.09865, allocations: 423.6 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.09867, allocations: 4 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.09868, allocations: 4 kB / 474.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.1008, allocations: 4.681 MB / 479.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1008, allocations: 4.062 kB / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.101, allocations: 258.7 kB / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1011, allocations: 85 kB / 479.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1011, allocations: 7.938 kB / 479.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.1012, allocations: 0 / 479.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.1012, allocations: 11.94 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1012, allocations: 11.98 kB / 479.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.427e-05/0.1013, allocations: 87.28 kB / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1013, allocations: 0 / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1016, allocations: 15.98 kB / 479.6 MB, free: 3.562 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.0001351/0.1017, allocations: 111.7 kB / 479.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.1048, allocations: 0.5549 MB / 480.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1048, allocations: 0 / 480.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/0.1076, allocations: 499.6 kB / 480.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1079, allocations: 4 kB / 480.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.1085, allocations: 263.6 kB / 481 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1087, allocations: 0.6889 MB / 481.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.1088, allocations: 11.44 kB / 481.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1088, allocations: 0 / 481.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Templates: time 0.005365/0.1141, allocations: 3.097 MB / 484.8 MB, free: 14.26 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)