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: "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.0009838/0.0009838, allocations: 191.5 kB / 16.13 MB, free: 6.668 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1776/0.1776, allocations: 8.022 MB / 298 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 55.91 kB / 360 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09197, allocations: 51.19 MB / 411.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001486/0.09349, allocations: 0.5428 MB / 411.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002611/0.09376, allocations: 99.62 kB / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.76e-05/0.09379, allocations: 0 / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.694e-05/0.09385, allocations: 0 / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.427e-05/0.09388, allocations: 0 / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.09403, allocations: 19.98 kB / 411.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.09412, allocations: 43.89 kB / 411.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.09416, allocations: 4 kB / 411.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.09419, allocations: 11.94 kB / 412 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.021e-05/0.09422, allocations: 15.98 kB / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.09424, allocations: 4 kB / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.445e-05/0.09434, allocations: 31.97 kB / 412 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.492e-05/0.09438, allocations: 23.91 kB / 412 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.09442, allocations: 11.94 kB / 412 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.723e-05/0.09452, allocations: 59.81 kB / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09453, allocations: 3.984 kB / 412.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.09454, allocations: 4 kB / 412.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.09455, allocations: 0 / 412.1 MB, free: 10.6 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.0002986/0.09485, allocations: 347.7 kB / 412.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.09489, allocations: 8.031 kB / 412.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.414e-05/0.09493, allocations: 46.67 kB / 412.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.09496, allocations: 4.844 kB / 412.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.09505, allocations: 160.4 kB / 412.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.09507, allocations: 8.375 kB / 412.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.09509, allocations: 8.312 kB / 412.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.09526, allocations: 106.6 kB / 412.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.09527, allocations: 3.938 kB / 412.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.09529, allocations: 0 / 412.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.09532, allocations: 8 kB / 412.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.205e-05/0.09541, allocations: 51.89 kB / 412.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.0958, allocations: 392.9 kB / 413.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.09588, allocations: 57.17 kB / 413.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.09593, allocations: 33.7 kB / 413.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.09627, allocations: 198.3 kB / 413.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.0963, allocations: 42.5 kB / 413.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.09631, allocations: 0 / 413.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002262/0.09654, allocations: 93.5 kB / 413.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.09658, allocations: 77.11 kB / 413.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.09667, allocations: 121.8 kB / 413.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.09669, allocations: 29.7 kB / 413.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.09674, allocations: 103.8 kB / 414 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.09677, allocations: 31.55 kB / 414 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.09682, allocations: 29.72 kB / 414 MB, free: 8.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.09692, allocations: 322.8 kB / 414.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.09697, allocations: 19.98 kB / 414.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.09707, allocations: 125.7 kB / 414.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.09724, allocations: 161.5 kB / 414.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.09725, allocations: 4 kB / 414.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002083/0.09746, allocations: 161.2 kB / 414.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.09749, allocations: 10.03 kB / 414.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.0975, allocations: 7.984 kB / 414.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.09752, allocations: 4 kB / 414.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002508/0.1, allocations: 436.2 kB / 415.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.1019, allocations: 4.681 MB / 419.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.102, allocations: 23.78 kB / 420 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.102, allocations: 8 kB / 420 MB, free: 2.16 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 9.421e-05/0.1021, allocations: 138 kB / 420.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.1022, allocations: 7.906 kB / 420.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1024, allocations: 125.8 kB / 420.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1024, allocations: 0 / 420.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1024, allocations: 3.938 kB / 420.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1024, allocations: 7.938 kB / 420.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1026, allocations: 173.7 kB / 420.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1027, allocations: 0 / 420.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00236/0.105, allocations: 419.6 kB / 420.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.105, allocations: 0 / 420.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1051, allocations: 7.984 kB / 420.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.107, allocations: 4.685 MB / 425.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1071, allocations: 3.938 kB / 425.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1073, allocations: 250.6 kB / 425.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.1073, allocations: 89.23 kB / 425.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1073, allocations: 4 kB / 425.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.1074, allocations: 0 / 425.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.1074, allocations: 11.92 kB / 425.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1074, allocations: 4 kB / 425.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.658e-05/0.1075, allocations: 91.27 kB / 426 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1075, allocations: 0 / 426 MB, free: 11.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1078, allocations: 24 kB / 426 MB, free: 11.85 MB / 366.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.0004521/0.1083, allocations: 0.7902 MB / 426.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.1113, allocations: 0.5472 MB / 427.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1113, allocations: 0 / 427.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002821/0.1142, allocations: 0.4995 MB / 427.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1145, allocations: 11.88 kB / 427.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.1152, allocations: 283.8 kB / 428.1 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.1155, allocations: 0.6966 MB / 428.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.548e-05/0.1155, allocations: 16.53 kB / 428.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.1155, allocations: 15.44 kB / 428.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1155, allocations: 4 kB / 428.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.1288, allocations: 2.685 MB / 431.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.129, allocations: 225.1 kB / 431.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/1.781, allocations: 3.875 kB / 431.7 MB, free: 6.043 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2_fmu --startTime=0.1 --stopTime=1.35 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)