Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001106/0.001106, allocations: 112 kB / 16.41 MB, free: 6.484 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.001099/0.001099, allocations: 183 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04792/0.04792, allocations: 8.036 MB / 299.2 MB, free: 6.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 413.7 MB, free: 22.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08782, allocations: 51.2 MB / 464.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001499/0.08937, allocations: 490.8 kB / 465.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.08965, allocations: 107.5 kB / 465.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.08969, allocations: 0 / 465.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.08975, allocations: 0 / 465.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.772e-05/0.08978, allocations: 0 / 465.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.09001, allocations: 23.91 kB / 465.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.09012, allocations: 39.95 kB / 465.6 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.09018, allocations: 4 kB / 465.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.164e-05/0.0902, allocations: 12 kB / 465.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.09025, allocations: 19.92 kB / 465.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.09027, allocations: 4 kB / 465.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.09037, allocations: 31.97 kB / 465.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.09042, allocations: 15.98 kB / 465.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.09045, allocations: 15.86 kB / 465.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.09058, allocations: 59.88 kB / 465.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.09059, allocations: 0 / 465.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.0906, allocations: 7.938 kB / 465.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.09061, allocations: 3.938 kB / 465.7 MB, free: 2.277 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.0003482/0.09097, allocations: 355.4 kB / 466.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.09101, allocations: 8.031 kB / 466.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.09105, allocations: 4.938 kB / 466.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.09114, allocations: 164.4 kB / 466.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.09116, allocations: 4.375 kB / 466.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.09118, allocations: 384 / 466.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.09137, allocations: 103.8 kB / 466.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.09138, allocations: 192 / 466.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.0914, allocations: 7.938 kB / 466.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/0.09143, allocations: 8 kB / 466.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.09153, allocations: 47.95 kB / 466.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.09198, allocations: 408.7 kB / 466.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.09207, allocations: 49.52 kB / 466.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.09212, allocations: 29.72 kB / 466.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.0925, allocations: 206.2 kB / 467.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.09253, allocations: 38.5 kB / 467.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.09254, allocations: 0 / 467.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002435/0.09279, allocations: 89.59 kB / 467.2 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.09284, allocations: 81.11 kB / 467.3 MB, free: 468 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.09294, allocations: 121.7 kB / 467.4 MB, free: 336 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.09296, allocations: 25.7 kB / 467.5 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.09301, allocations: 103.8 kB / 467.6 MB, free: 196 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.09304, allocations: 31.55 kB / 467.6 MB, free: 164 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.09309, allocations: 41.7 kB / 467.6 MB, free: 116 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.09321, allocations: 318.8 kB / 467.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.09325, allocations: 19.98 kB / 468 MB, free: 15.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.239e-05/0.09335, allocations: 121.7 kB / 468.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.09352, allocations: 165.5 kB / 468.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.09352, allocations: 0 / 468.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002129/0.09374, allocations: 161.6 kB / 468.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.09377, allocations: 8 kB / 468.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.09378, allocations: 7.984 kB / 468.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.0938, allocations: 4 kB / 468.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.09638, allocations: 443.6 kB / 468.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.09844, allocations: 4.685 MB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.09853, allocations: 15.78 kB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.09855, allocations: 12 kB / 473.6 MB, free: 9.879 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.0001038/0.09866, allocations: 129.8 kB / 473.7 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.09871, allocations: 11.84 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.09896, allocations: 118.1 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.09897, allocations: 4 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.09898, allocations: 0 / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.09899, allocations: 7.875 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.09924, allocations: 169.6 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.09925, allocations: 0 / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/0.1017, allocations: 423.6 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.1017, allocations: 4 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1018, allocations: 3.984 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.1038, allocations: 4.685 MB / 479.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1038, allocations: 3.984 kB / 479.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.104, allocations: 258.7 kB / 479.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.104, allocations: 81.02 kB / 479.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.1041, allocations: 4 kB / 479.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1041, allocations: 0 / 479.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.1042, allocations: 19.97 kB / 479.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.1042, allocations: 7.984 kB / 479.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.211e-05/0.1043, allocations: 87.28 kB / 479.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1043, allocations: 0 / 479.6 MB, free: 3.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.1046, allocations: 15.98 kB / 479.6 MB, free: 3.574 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.0001579/0.1048, allocations: 111.7 kB / 479.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003073/0.1078, allocations: 0.5553 MB / 480.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1079, allocations: 0 / 480.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.1107, allocations: 495.6 kB / 480.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.111, allocations: 7.984 kB / 480.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.1117, allocations: 263.8 kB / 481 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.112, allocations: 0.6889 MB / 481.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.112, allocations: 11.44 kB / 481.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.112, allocations: 0 / 481.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of Templates: time 0.00557/0.1176, allocations: 3.101 MB / 484.8 MB, free: 14.27 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)