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: "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_latest_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.0007243/0.0007241, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004236/0.004236, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1437/0.1437, allocations: 8.034 MB / 299.5 MB, free: 3.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 12 kB / 362.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09634, allocations: 52.18 MB / 414.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0005879/0.09697, allocations: 212.8 kB / 414.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002848/0.09727, allocations: 95.64 kB / 415 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.0973, allocations: 0 / 415 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.066e-05/0.09736, allocations: 0 / 415 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.323e-05/0.09739, allocations: 0 / 415 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.09757, allocations: 23.97 kB / 415 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.09767, allocations: 27.98 kB / 415 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.09772, allocations: 7.984 kB / 415 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.09776, allocations: 23.86 kB / 415.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.0978, allocations: 15.98 kB / 415.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.09784, allocations: 8 kB / 415.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.09794, allocations: 27.97 kB / 415.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.09798, allocations: 15.94 kB / 415.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.09804, allocations: 45.61 kB / 415.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.09817, allocations: 59.81 kB / 415.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09818, allocations: 0 / 415.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.09819, allocations: 0 / 415.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.0982, allocations: 4 kB / 415.2 MB, free: 9.039 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.0003222/0.09853, allocations: 335.7 kB / 415.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.09857, allocations: 12.02 kB / 415.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.09862, allocations: 42.75 kB / 415.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.09865, allocations: 4.844 kB / 415.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.09876, allocations: 164.4 kB / 415.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.09878, allocations: 4.375 kB / 415.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.0988, allocations: 8.312 kB / 415.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.09899, allocations: 95.86 kB / 415.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.09901, allocations: 3.938 kB / 415.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.09902, allocations: 4 kB / 415.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/0.09906, allocations: 15.98 kB / 415.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.09915, allocations: 47.91 kB / 416 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.09957, allocations: 400.8 kB / 416.4 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.039e-05/0.09965, allocations: 53.08 kB / 416.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.09969, allocations: 25.89 kB / 416.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003421/0.1, allocations: 198.2 kB / 416.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1001, allocations: 42.56 kB / 416.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.535e-06/0.1001, allocations: 0 / 416.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002342/0.1003, allocations: 97.44 kB / 416.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1004, allocations: 81.11 kB / 416.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.1005, allocations: 122 kB / 417 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1005, allocations: 25.7 kB / 417 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.1005, allocations: 103.8 kB / 417.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1006, allocations: 31.55 kB / 417.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.1006, allocations: 21.7 kB / 417.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1007, allocations: 322.8 kB / 417.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.1008, allocations: 19.98 kB / 417.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1009, allocations: 125.7 kB / 417.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.101, allocations: 165.5 kB / 417.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.101, allocations: 0 / 417.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002157/0.1013, allocations: 161.6 kB / 417.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1013, allocations: 8.094 kB / 417.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1013, allocations: 7.984 kB / 417.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1013, allocations: 4 kB / 417.9 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.1036, allocations: 407.6 kB / 418.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.1059, allocations: 4.677 MB / 423 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.106, allocations: 19.81 kB / 423 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.106, allocations: 12 kB / 423 MB, free: 0.6523 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 0.0001222/0.1061, allocations: 129.9 kB / 423.2 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1062, allocations: 11.91 kB / 423.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1065, allocations: 126.1 kB / 423.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1065, allocations: 96 / 423.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1065, allocations: 0 / 423.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1065, allocations: 11.92 kB / 423.3 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1067, allocations: 169.7 kB / 423.5 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1068, allocations: 7.984 kB / 423.5 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1956/0.3024, allocations: 382.9 kB / 423.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.3025, allocations: 0 / 423.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.3025, allocations: 7.938 kB / 423.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.3038, allocations: 4.674 MB / 428.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3038, allocations: 4.938 kB / 428.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.304, allocations: 253.7 kB / 428.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.304, allocations: 82.8 kB / 428.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3041, allocations: 0 / 428.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.3041, allocations: 7.094 kB / 428.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.3042, allocations: 7.328 kB / 428.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.3042, allocations: 9.156 kB / 428.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.3042, allocations: 92.83 kB / 429 MB, free: 36.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3042, allocations: 0 / 429 MB, free: 36.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.3046, allocations: 19 kB / 429 MB, free: 36.71 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.000402/0.305, allocations: 0.7921 MB / 429.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002894/0.3079, allocations: 0.5035 MB / 430.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3079, allocations: 3.375 kB / 430.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.3105, allocations: 476.4 kB / 430.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3108, allocations: 4.328 kB / 430.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.3116, allocations: 289.9 kB / 431.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.3118, allocations: 0.6942 MB / 431.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.3118, allocations: 12.89 kB / 431.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.3119, allocations: 17.27 kB / 431.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3119, allocations: 0 / 431.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.3268, allocations: 2.633 MB / 434.4 MB, free: 34.85 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.327, allocations: 225.2 kB / 434.6 MB, free: 34.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.07, allocations: 0 / 434.6 MB, free: 34.59 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2_fmu --startTime=0.1 --stopTime=1.35 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)