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.0007421/0.0007421, allocations: 86.56 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.0007668/0.0007668, 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.29/1.29, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1388/0.1388, allocations: 8.03 MB / 299.1 MB, free: 3.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002824, allocations: 8 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08276, allocations: 52.18 MB / 414 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0004766/0.08327, allocations: 207 kB / 414.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002191/0.0835, allocations: 85.42 kB / 414.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.08353, allocations: 0 / 414.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.08357, allocations: 0 / 414.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.416e-05/0.08361, allocations: 4 kB / 414.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.08377, allocations: 23.91 kB / 414.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.08385, allocations: 31.97 kB / 414.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.0839, allocations: 7.984 kB / 414.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.08393, allocations: 8 kB / 414.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.16e-05/0.08398, allocations: 23.92 kB / 414.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.084, allocations: 0 / 414.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.08409, allocations: 35.97 kB / 414.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.08412, allocations: 11.98 kB / 414.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.08416, allocations: 37.64 kB / 414.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.344e-05/0.08424, allocations: 31.95 kB / 414.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.08425, allocations: 0 / 414.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.08425, allocations: 0 / 414.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.08426, allocations: 4 kB / 414.5 MB, free: 9.57 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.0002671/0.08454, allocations: 343.5 kB / 414.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.08457, allocations: 8.031 kB / 414.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.08461, allocations: 15.89 kB / 414.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.682e-05/0.08469, allocations: 159.1 kB / 415 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.08471, allocations: 11.98 kB / 415 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.08473, allocations: 0 / 415 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.08491, allocations: 103.2 kB / 415.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.08493, allocations: 0 / 415.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.08494, allocations: 3.938 kB / 415.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.08497, allocations: 11.95 kB / 415.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.08507, allocations: 43.97 kB / 415.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.08547, allocations: 412.8 kB / 415.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/0.08555, allocations: 41.16 kB / 415.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.08559, allocations: 25.89 kB / 415.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/0.08594, allocations: 206.1 kB / 415.8 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.08598, allocations: 34.56 kB / 415.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.08599, allocations: 0 / 415.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002339/0.08623, allocations: 93.59 kB / 415.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.08628, allocations: 77.11 kB / 416 MB, free: 7.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.08636, allocations: 125.7 kB / 416.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.08638, allocations: 25.7 kB / 416.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.08644, allocations: 107.8 kB / 416.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.08647, allocations: 35.61 kB / 416.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.08648, allocations: 0 / 416.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.08657, allocations: 322.8 kB / 416.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.08662, allocations: 23.98 kB / 416.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.08672, allocations: 120.8 kB / 416.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.08679, allocations: 47.97 kB / 416.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.0868, allocations: 3.953 kB / 416.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002217/0.08703, allocations: 157.7 kB / 417 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.08705, allocations: 8.062 kB / 417 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.08706, allocations: 4 kB / 417 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.08708, allocations: 4 kB / 417 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.08932, allocations: 407.6 kB / 417.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.09124, allocations: 4.685 MB / 422.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.09131, allocations: 19.84 kB / 422.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.09133, allocations: 8 kB / 422.1 MB, free: 1.422 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 8.836e-05/0.09143, allocations: 129.7 kB / 422.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.09148, allocations: 8.094 kB / 422.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.09174, allocations: 130.1 kB / 422.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.09175, allocations: 4 kB / 422.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.09177, allocations: 0 / 422.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.09177, allocations: 3.938 kB / 422.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.09198, allocations: 169.7 kB / 422.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.09199, allocations: 0 / 422.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/0.09414, allocations: 391.6 kB / 422.9 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.09416, allocations: 4 kB / 422.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.09417, allocations: 0 / 422.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1522/0.2464, allocations: 4.678 MB / 427.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2464, allocations: 3.781 kB / 427.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.2466, allocations: 251 kB / 427.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.2466, allocations: 82.11 kB / 427.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.2466, allocations: 7.922 kB / 427.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.2467, allocations: 5.875 kB / 427.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.2467, allocations: 4.125 kB / 427.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2467, allocations: 3.375 kB / 427.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.2468, allocations: 96.8 kB / 428 MB, free: 37.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2468, allocations: 3.25 kB / 428 MB, free: 37.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.2471, allocations: 14.81 kB / 428.1 MB, free: 37.51 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.0001201/0.2473, allocations: 111.8 kB / 428.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002551/0.2498, allocations: 0.5056 MB / 428.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2498, allocations: 0 / 428.7 MB, free: 37.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.2521, allocations: 468.2 kB / 429.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2524, allocations: 9.531 kB / 429.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.2529, allocations: 238.2 kB / 429.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2531, allocations: 0.6933 MB / 430.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.2531, allocations: 12.12 kB / 430.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.224e-05/0.2531, allocations: 9.969 kB / 430.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2531, allocations: 0 / 430.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of Templates: time 0.003374/0.2565, allocations: 1.576 MB / 431.7 MB, free: 36.46 MB / 350.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)