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.007881/0.007881, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001825/0.001825, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04305/0.04305, allocations: 8.047 MB / 298.6 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 63.91 kB / 412.6 MB, free: 22.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08927, allocations: 51.2 MB / 463.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001594/0.0909, allocations: 487.8 kB / 464.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.09121, allocations: 91.58 kB / 464.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.09125, allocations: 4 kB / 464.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.09131, allocations: 0 / 464.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.09137, allocations: 4 kB / 464.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.09161, allocations: 39.83 kB / 464.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.09173, allocations: 35.91 kB / 464.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.09178, allocations: 4 kB / 464.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.09182, allocations: 8 kB / 464.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.09186, allocations: 27.91 kB / 464.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.09188, allocations: 0 / 464.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.092, allocations: 31.97 kB / 464.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.09205, allocations: 19.98 kB / 464.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.09209, allocations: 15.88 kB / 464.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.09222, allocations: 55.88 kB / 464.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09224, allocations: 0 / 464.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09224, allocations: 0 / 464.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.09226, allocations: 0 / 464.6 MB, free: 2.777 MB / 334.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.0003399/0.0926, allocations: 358.2 kB / 464.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.09266, allocations: 12.03 kB / 464.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.09271, allocations: 34.75 kB / 465 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.09274, allocations: 8.922 kB / 465 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.09285, allocations: 168.9 kB / 465.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.09287, allocations: 4.375 kB / 465.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.09288, allocations: 4.375 kB / 465.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.09306, allocations: 91.92 kB / 465.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.09308, allocations: 7.938 kB / 465.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.0931, allocations: 0 / 465.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.09314, allocations: 8 kB / 465.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.09323, allocations: 43.91 kB / 465.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.09368, allocations: 413 kB / 465.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.09379, allocations: 49.44 kB / 465.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.09384, allocations: 33.89 kB / 465.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003878/0.09424, allocations: 198.2 kB / 466 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.09428, allocations: 34.56 kB / 466 MB, free: 1.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.09428, allocations: 0 / 466 MB, free: 1.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002462/0.09454, allocations: 97.92 kB / 466.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.09459, allocations: 81.11 kB / 466.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.09469, allocations: 113.8 kB / 466.3 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.09472, allocations: 33.7 kB / 466.3 MB, free: 0.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.09477, allocations: 103.9 kB / 466.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.0948, allocations: 31.55 kB / 466.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.09485, allocations: 33.72 kB / 466.5 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.09497, allocations: 322.8 kB / 466.8 MB, free: 256 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.746e-05/0.09502, allocations: 27.98 kB / 466.8 MB, free: 228 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.09511, allocations: 123.7 kB / 466.9 MB, free: 56 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.09531, allocations: 165.5 kB / 467.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.09532, allocations: 8 kB / 467.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002247/0.09555, allocations: 153.2 kB / 467.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.09557, allocations: 8.5 kB / 467.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.09559, allocations: 7.984 kB / 467.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.09561, allocations: 8 kB / 467.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/0.09805, allocations: 443.5 kB / 467.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.1002, allocations: 4.681 MB / 472.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.1003, allocations: 23.78 kB / 472.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1003, allocations: 11.98 kB / 472.4 MB, free: 10.32 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.0001054/0.1004, allocations: 125.7 kB / 472.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.1005, allocations: 7.906 kB / 472.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1007, allocations: 129.5 kB / 472.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1008, allocations: 0 / 472.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1008, allocations: 0 / 472.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1008, allocations: 3.938 kB / 472.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.101, allocations: 169.7 kB / 472.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.101, allocations: 4 kB / 472.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/0.1034, allocations: 419.6 kB / 473.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.1034, allocations: 0 / 473.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.1035, allocations: 4 kB / 473.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.1055, allocations: 4.681 MB / 478 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1056, allocations: 7.969 kB / 478 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1058, allocations: 254.9 kB / 478.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.1058, allocations: 81.11 kB / 478.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1058, allocations: 7.984 kB / 478.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.722e-05/0.1059, allocations: 0 / 478.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.106, allocations: 7.938 kB / 478.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.106, allocations: 4 kB / 478.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.413e-05/0.106, allocations: 95.33 kB / 478.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.106, allocations: 4 kB / 478.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000336/0.1064, allocations: 20 kB / 478.4 MB, free: 4.023 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.0004743/0.1069, allocations: 0.798 MB / 479.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.1099, allocations: 0.5549 MB / 479.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.11, allocations: 0 / 479.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/0.1127, allocations: 499.6 kB / 480.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.1131, allocations: 7.938 kB / 480.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.1138, allocations: 276 kB / 480.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1141, allocations: 0.6966 MB / 481.3 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.1141, allocations: 12.55 kB / 481.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.1142, allocations: 23.42 kB / 481.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1142, allocations: 0 / 481.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.1349, allocations: 2.968 MB / 484.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.22, allocations: 4.062 kB / 484.3 MB, free: 14.21 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)