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.004546/0.004546, allocations: 99.42 kB / 15.73 MB, free: 6.039 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.001084/0.001084, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1544/0.1544, allocations: 8.03 MB / 298.6 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.89 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2322, allocations: 51.19 MB / 463.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001362/0.2336, allocations: 484.7 kB / 464.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.2338, allocations: 106.2 kB / 464.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.136e-05/0.2338, allocations: 1.062 kB / 464.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.488e-05/0.2339, allocations: 0.5625 kB / 464.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.2339, allocations: 1.062 kB / 464.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.2341, allocations: 27.27 kB / 464.4 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.2342, allocations: 39.77 kB / 464.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.2343, allocations: 3.141 kB / 464.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.2343, allocations: 13.16 kB / 464.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.2343, allocations: 16.66 kB / 464.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2344, allocations: 6.344 kB / 464.4 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.2345, allocations: 32.27 kB / 464.5 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.169e-05/0.2345, allocations: 14.48 kB / 464.5 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.2345, allocations: 18.28 kB / 464.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.2346, allocations: 61 kB / 464.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2347, allocations: 0.7969 kB / 464.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2347, allocations: 0 / 464.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.2347, allocations: 0 / 464.6 MB, free: 17.55 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.000244/0.2349, allocations: 352.4 kB / 464.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.235, allocations: 13.75 kB / 464.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.235, allocations: 39 kB / 465 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.235, allocations: 7.203 kB / 465 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.744e-05/0.2351, allocations: 166.8 kB / 465.1 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2351, allocations: 2.594 kB / 465.1 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.2351, allocations: 6.625 kB / 465.1 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.2353, allocations: 95.06 kB / 465.2 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2353, allocations: 3.938 kB / 465.2 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2353, allocations: 4.656 kB / 465.2 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.2353, allocations: 13.39 kB / 465.3 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.2354, allocations: 52.98 kB / 465.3 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.2358, allocations: 401.5 kB / 465.7 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.2358, allocations: 51.03 kB / 465.7 MB, free: 16.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.2359, allocations: 31.11 kB / 465.8 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.2362, allocations: 194.8 kB / 466 MB, free: 16.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.2362, allocations: 40.27 kB / 466 MB, free: 16.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2362, allocations: 0 / 466 MB, free: 16.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002333/0.2365, allocations: 93.86 kB / 466.1 MB, free: 16.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.2365, allocations: 82.08 kB / 466.2 MB, free: 16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.2366, allocations: 118.8 kB / 466.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2366, allocations: 25.7 kB / 466.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.2366, allocations: 109.9 kB / 466.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2366, allocations: 29.92 kB / 466.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.2367, allocations: 42.28 kB / 466.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.2367, allocations: 323.2 kB / 466.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.375e-05/0.2368, allocations: 22.86 kB / 466.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.2369, allocations: 124.2 kB / 467 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.237, allocations: 169.7 kB / 467.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.237, allocations: 1.219 kB / 467.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002094/0.2372, allocations: 161.7 kB / 467.3 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2372, allocations: 7.812 kB / 467.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2373, allocations: 3.594 kB / 467.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2373, allocations: 4.719 kB / 467.3 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.2397, allocations: 437.2 kB / 467.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.2409, allocations: 4.684 MB / 472.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.201e-05/0.241, allocations: 21.48 kB / 472.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.241, allocations: 10.08 kB / 472.4 MB, free: 10.22 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 6.555e-05/0.2411, allocations: 131 kB / 472.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.2411, allocations: 2.844 kB / 472.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.2414, allocations: 124.7 kB / 472.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2414, allocations: 1.703 kB / 472.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2414, allocations: 0 / 472.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2414, allocations: 5.734 kB / 472.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2416, allocations: 177.9 kB / 472.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2416, allocations: 0 / 472.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/0.2439, allocations: 422.6 kB / 473.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2439, allocations: 0 / 473.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.2439, allocations: 7.672 kB / 473.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.2451, allocations: 4.684 MB / 478 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2451, allocations: 5.156 kB / 478 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2452, allocations: 240.8 kB / 478.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.2453, allocations: 87.52 kB / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2453, allocations: 2.172 kB / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.2454, allocations: 1.219 kB / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.2454, allocations: 14.44 kB / 478.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2454, allocations: 7.906 kB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.425e-05/0.2454, allocations: 99.31 kB / 478.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2454, allocations: 0 / 478.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.2458, allocations: 23.06 kB / 478.4 MB, free: 4.617 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.0005162/0.2463, allocations: 0.8104 MB / 479.3 MB, free: 19.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.2493, allocations: 0.5438 MB / 479.8 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2493, allocations: 0 / 479.8 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.252, allocations: 0.4931 MB / 480.3 MB, free: 19.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2524, allocations: 15.7 kB / 480.3 MB, free: 19.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.2531, allocations: 270.2 kB / 480.6 MB, free: 19.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.2534, allocations: 0.6897 MB / 481.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.391e-05/0.2534, allocations: 18.61 kB / 481.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.2534, allocations: 15.48 kB / 481.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.2534, allocations: 0 / 481.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.2734, allocations: 2.98 MB / 484.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.56, allocations: 12.98 kB / 484.3 MB, free: 18.32 MB / 366.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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2_res.csv --start-time 0.1 --stop-time 1.35 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0005 EHPTlib_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)