Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.000811/0.000811, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008705/0.0008707, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1493/0.1493, allocations: 8.02 MB / 299.1 MB, free: 3.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 12 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09327, allocations: 52.18 MB / 414 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0004558/0.09377, allocations: 207 kB / 414.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002252/0.09401, allocations: 81.42 kB / 414.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.09403, allocations: 0 / 414.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.09408, allocations: 3.984 kB / 414.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.242e-05/0.09411, allocations: 3.938 kB / 414.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.09428, allocations: 27.91 kB / 414.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.09436, allocations: 31.97 kB / 414.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.0944, allocations: 0 / 414.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.045e-05/0.09443, allocations: 12 kB / 414.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.09448, allocations: 27.91 kB / 414.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.0945, allocations: 4 kB / 414.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.428e-05/0.09459, allocations: 31.97 kB / 414.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.09462, allocations: 11.98 kB / 414.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.09466, allocations: 37.64 kB / 414.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.334e-05/0.09474, allocations: 31.95 kB / 414.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09475, allocations: 0 / 414.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.09475, allocations: 0 / 414.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.09476, allocations: 0 / 414.5 MB, free: 9.578 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.0002551/0.09502, allocations: 351.5 kB / 414.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.09506, allocations: 12.03 kB / 414.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.09509, allocations: 7.906 kB / 414.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.09518, allocations: 159.1 kB / 415 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.0952, allocations: 4 kB / 415 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.09521, allocations: 4 kB / 415 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.09538, allocations: 99.3 kB / 415.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.0954, allocations: 3.938 kB / 415.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.09541, allocations: 3.984 kB / 415.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.09545, allocations: 15.95 kB / 415.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.09553, allocations: 43.97 kB / 415.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.09593, allocations: 400.7 kB / 415.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.096, allocations: 45.23 kB / 415.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.09605, allocations: 25.72 kB / 415.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.0964, allocations: 210.3 kB / 415.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.09643, allocations: 34.56 kB / 415.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.09644, allocations: 4 kB / 415.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002208/0.09667, allocations: 89.92 kB / 416 MB, free: 7.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.09671, allocations: 77.11 kB / 416 MB, free: 7.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.0968, allocations: 121.8 kB / 416.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.09682, allocations: 29.69 kB / 416.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.09687, allocations: 103.8 kB / 416.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.09691, allocations: 31.55 kB / 416.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.09692, allocations: 0 / 416.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.09702, allocations: 322.8 kB / 416.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.09706, allocations: 27.97 kB / 416.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.09716, allocations: 124.6 kB / 416.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.09723, allocations: 39.97 kB / 416.8 MB, free: 6.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.09725, allocations: 7.953 kB / 416.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002183/0.09747, allocations: 157.6 kB / 417 MB, free: 6.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.09749, allocations: 8 kB / 417 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.0975, allocations: 4 kB / 417 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.09752, allocations: 4.047 kB / 417 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/0.0997, allocations: 415.7 kB / 417.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.1016, allocations: 4.681 MB / 422.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.1017, allocations: 15.84 kB / 422.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1017, allocations: 12 kB / 422.1 MB, free: 1.43 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 (linear and non-linear blocks): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.1018, allocations: 134 kB / 422.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.1019, allocations: 7.906 kB / 422.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.1021, allocations: 125.7 kB / 422.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1022, allocations: 4 kB / 422.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1022, allocations: 0 / 422.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1022, allocations: 0 / 422.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.1024, allocations: 181.6 kB / 422.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1024, allocations: 0 / 422.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002057/0.1045, allocations: 387.6 kB / 422.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1045, allocations: 0 / 422.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1045, allocations: 8 kB / 422.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1792/0.2837, allocations: 4.677 MB / 427.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2837, allocations: 3.781 kB / 427.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.2839, allocations: 245.3 kB / 427.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.2839, allocations: 87.05 kB / 427.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.284, allocations: 2.734 kB / 427.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.2841, allocations: 2.656 kB / 427.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.2841, allocations: 9.547 kB / 428 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2841, allocations: 2.812 kB / 428 MB, free: 37.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.231e-05/0.2841, allocations: 92.03 kB / 428 MB, free: 37.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2841, allocations: 0 / 428 MB, free: 37.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.2845, allocations: 21.62 kB / 428.1 MB, free: 37.53 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 (linear and non-linear blocks): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.2846, allocations: 108.1 kB / 428.2 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00252/0.2871, allocations: 0.5088 MB / 428.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2872, allocations: 0 / 428.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.2894, allocations: 468.8 kB / 429.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2897, allocations: 6.344 kB / 429.1 MB, free: 37.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.2902, allocations: 241.8 kB / 429.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.2903, allocations: 0.6898 MB / 430.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.2903, allocations: 15.56 kB / 430.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.2903, allocations: 10.84 kB / 430.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2904, allocations: 0 / 430.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of Templates: time 0.003377/0.2937, allocations: 1.58 MB / 431.7 MB, free: 36.47 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)