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.007568/0.007568, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001359/0.001359, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2226/0.2226, allocations: 8.027 MB / 298.6 MB, free: 2.355 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 413 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2652, allocations: 51.19 MB / 464.2 MB, free: 18.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001384/0.2667, allocations: 0.4919 MB / 464.7 MB, free: 17.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002606/0.2669, allocations: 88.31 kB / 464.8 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.267, allocations: 0 / 464.8 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.773e-05/0.267, allocations: 5.609 kB / 464.8 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.2671, allocations: 1.812 kB / 464.8 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.2673, allocations: 34.17 kB / 464.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.2674, allocations: 39.2 kB / 464.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.2674, allocations: 3.734 kB / 464.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.349e-05/0.2675, allocations: 13.47 kB / 464.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.2675, allocations: 20.69 kB / 464.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.2675, allocations: 1.25 kB / 464.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.2676, allocations: 29.55 kB / 465 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.2677, allocations: 14.28 kB / 465 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.2677, allocations: 22.16 kB / 465 MB, free: 17.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2679, allocations: 61.53 kB / 465.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2679, allocations: 0 / 465.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2679, allocations: 0 / 465.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2679, allocations: 1.094 kB / 465.1 MB, free: 17.82 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.0003176/0.2682, allocations: 356.5 kB / 465.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2683, allocations: 9 kB / 465.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.2683, allocations: 4.016 kB / 465.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.208e-05/0.2684, allocations: 162.1 kB / 465.6 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2684, allocations: 6.656 kB / 465.6 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.2684, allocations: 10.84 kB / 465.6 MB, free: 17.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.2686, allocations: 91.41 kB / 465.7 MB, free: 17.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2686, allocations: 192 / 465.7 MB, free: 17.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2686, allocations: 8.969 kB / 465.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.2687, allocations: 8.812 kB / 465.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.2687, allocations: 49.23 kB / 465.8 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.2691, allocations: 403.2 kB / 466.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.283e-05/0.2692, allocations: 50.88 kB / 466.2 MB, free: 16.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.2692, allocations: 27.11 kB / 466.2 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/0.2695, allocations: 198 kB / 466.4 MB, free: 16.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.2696, allocations: 37.52 kB / 466.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2696, allocations: 0 / 466.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002425/0.2698, allocations: 94.05 kB / 466.5 MB, free: 16.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.2699, allocations: 78.81 kB / 466.6 MB, free: 16.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.146e-05/0.2699, allocations: 129.2 kB / 466.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.27, allocations: 26.77 kB / 466.8 MB, free: 16.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.27, allocations: 105.6 kB / 466.9 MB, free: 16.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.27, allocations: 29.56 kB / 466.9 MB, free: 16.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.2701, allocations: 33.7 kB / 466.9 MB, free: 16.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.2701, allocations: 320.1 kB / 467.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.2702, allocations: 27.23 kB / 467.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.2702, allocations: 131.7 kB / 467.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2704, allocations: 169.4 kB / 467.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2704, allocations: 1.688 kB / 467.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002142/0.2706, allocations: 164.1 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2706, allocations: 7.891 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2707, allocations: 4.219 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2707, allocations: 4.688 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.2732, allocations: 437.5 kB / 468.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.2746, allocations: 4.68 MB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/0.2747, allocations: 21.59 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.2747, allocations: 14 kB / 472.9 MB, free: 10.54 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 8.673e-05/0.2748, allocations: 131.4 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.2749, allocations: 6.844 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2751, allocations: 120.8 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2751, allocations: 6.219 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2752, allocations: 0 / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2752, allocations: 5.25 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2753, allocations: 168.1 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2753, allocations: 2.125 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/0.2777, allocations: 422.2 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.2777, allocations: 5.344 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2777, allocations: 1.781 kB / 473.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.279, allocations: 4.677 MB / 478.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.279, allocations: 1.469 kB / 478.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.2792, allocations: 263 kB / 478.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.2792, allocations: 84.06 kB / 478.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2793, allocations: 2.859 kB / 478.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.2793, allocations: 0 / 478.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2794, allocations: 10.25 kB / 478.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2794, allocations: 4.859 kB / 478.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.37e-05/0.2794, allocations: 91.62 kB / 478.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2795, allocations: 0 / 478.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.2798, allocations: 22.84 kB / 478.9 MB, free: 4.953 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.0001697/0.28, allocations: 117.2 kB / 479 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.2831, allocations: 0.5444 MB / 479.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2831, allocations: 0 / 479.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.286, allocations: 0.5049 MB / 480 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.2863, allocations: 3.438 kB / 480.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.2869, allocations: 229.9 kB / 480.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2872, allocations: 0.6895 MB / 481 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.685e-05/0.2873, allocations: 18.98 kB / 481 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.616e-05/0.2873, allocations: 10.47 kB / 481 MB, free: 19.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2873, allocations: 3.938 kB / 481 MB, free: 19.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004717/0.292, allocations: 1.767 MB / 482.8 MB, free: 19.72 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)