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.004716/0.004716, allocations: 97.39 kB / 15.73 MB, free: 6.035 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.001211/0.001211, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1435/0.1435, allocations: 8.024 MB / 298.6 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 75.88 kB / 413.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2143, allocations: 51.19 MB / 464.3 MB, free: 18.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001315/0.2156, allocations: 487.1 kB / 464.7 MB, free: 17.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002302/0.2159, allocations: 92.73 kB / 464.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.2159, allocations: 0 / 464.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.2159, allocations: 0.6094 kB / 464.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.545e-05/0.216, allocations: 5.953 kB / 464.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.2162, allocations: 27.02 kB / 464.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.2163, allocations: 35.53 kB / 464.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.2163, allocations: 5.922 kB / 464.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.2163, allocations: 18.66 kB / 464.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.304e-05/0.2164, allocations: 15.64 kB / 464.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2164, allocations: 3.062 kB / 464.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.477e-05/0.2165, allocations: 28.84 kB / 465 MB, free: 17.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.2165, allocations: 22.66 kB / 465 MB, free: 17.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.2166, allocations: 13.78 kB / 465 MB, free: 17.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.2167, allocations: 56.61 kB / 465 MB, free: 17.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2167, allocations: 0 / 465 MB, free: 17.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2167, allocations: 5.219 kB / 465.1 MB, free: 17.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2167, allocations: 0 / 465.1 MB, free: 17.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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0002221/0.2169, allocations: 356.5 kB / 465.4 MB, free: 17.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.217, allocations: 13.09 kB / 465.4 MB, free: 17.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.217, allocations: 7.047 kB / 465.4 MB, free: 17.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.068e-05/0.2171, allocations: 170.8 kB / 465.6 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.2171, allocations: 2.438 kB / 465.6 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2171, allocations: 3.75 kB / 465.6 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.2173, allocations: 97.81 kB / 465.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.2173, allocations: 1.281 kB / 465.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2173, allocations: 12.7 kB / 465.7 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.2173, allocations: 12.66 kB / 465.7 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.533e-05/0.2174, allocations: 44.59 kB / 465.8 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.2177, allocations: 397.7 kB / 466.1 MB, free: 16.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.753e-05/0.2178, allocations: 56.48 kB / 466.2 MB, free: 16.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.2178, allocations: 25.75 kB / 466.2 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.2181, allocations: 202.5 kB / 466.4 MB, free: 16.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2181, allocations: 33.75 kB / 466.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2181, allocations: 0 / 466.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002116/0.2184, allocations: 97.03 kB / 466.6 MB, free: 16.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.2184, allocations: 78.2 kB / 466.6 MB, free: 16.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.2185, allocations: 114.6 kB / 466.7 MB, free: 16.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.2185, allocations: 29.7 kB / 466.8 MB, free: 16.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.2185, allocations: 113.7 kB / 466.9 MB, free: 16.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.2185, allocations: 30.14 kB / 466.9 MB, free: 16.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.2186, allocations: 34.06 kB / 466.9 MB, free: 16.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.2186, allocations: 323.1 kB / 467.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.2187, allocations: 26.77 kB / 467.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.2187, allocations: 125.5 kB / 467.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.2189, allocations: 165.7 kB / 467.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2189, allocations: 1.797 kB / 467.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001982/0.2191, allocations: 159.7 kB / 467.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2191, allocations: 9.656 kB / 467.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2191, allocations: 4.562 kB / 467.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2191, allocations: 4.844 kB / 467.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.2214, allocations: 444.3 kB / 468.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.2225, allocations: 4.68 MB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.2226, allocations: 21.94 kB / 472.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.2226, allocations: 10.34 kB / 472.9 MB, free: 10.52 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 6.66e-05/0.2227, allocations: 135.5 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.2227, allocations: 3.156 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.2229, allocations: 120 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2229, allocations: 1.25 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2229, allocations: 5.438 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.223, allocations: 8.688 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.2231, allocations: 178.5 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2231, allocations: 0 / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.2253, allocations: 417.7 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2253, allocations: 1.594 kB / 473.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2253, allocations: 7.016 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.2264, allocations: 4.68 MB / 478.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2264, allocations: 8.406 kB / 478.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2265, allocations: 245.3 kB / 478.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.2266, allocations: 88.67 kB / 478.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2266, allocations: 9.188 kB / 478.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.2267, allocations: 0.6562 kB / 478.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.2267, allocations: 10.02 kB / 478.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2267, allocations: 4.781 kB / 478.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.659e-05/0.2267, allocations: 95.77 kB / 478.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2267, allocations: 3.938 kB / 478.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.2271, allocations: 22.11 kB / 478.9 MB, free: 4.914 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.0001285/0.2272, allocations: 122.1 kB / 479 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00282/0.23, allocations: 0.5406 MB / 479.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.23, allocations: 0 / 479.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.2326, allocations: 0.4928 MB / 480.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.2329, allocations: 11.62 kB / 480.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.2334, allocations: 225 kB / 480.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.2335, allocations: 0.6893 MB / 481 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.087e-05/0.2335, allocations: 19.58 kB / 481 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.134e-05/0.2336, allocations: 10.25 kB / 481 MB, free: 3.848 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2336, allocations: 3.938 kB / 481 MB, free: 3.844 MB / 350.1 MB Notification: Performance of Templates: time 0.003876/0.2375, allocations: 1.767 MB / 482.8 MB, free: 3.691 MB / 350.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)