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.007257/0.007262, allocations: 99.56 kB / 15.73 MB, free: 6.035 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.001727/0.001727, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1363/0.1363, allocations: 8.028 MB / 298.6 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.91 kB / 412.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.225, allocations: 51.18 MB / 463.7 MB, free: 18.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001384/0.2265, allocations: 492.8 kB / 464.2 MB, free: 17.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.2267, allocations: 97.8 kB / 464.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.2268, allocations: 0 / 464.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/0.2268, allocations: 2.609 kB / 464.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.728e-05/0.2269, allocations: 5 kB / 464.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.2271, allocations: 26.97 kB / 464.4 MB, free: 17.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.2272, allocations: 38.16 kB / 464.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.2272, allocations: 3.906 kB / 464.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.2272, allocations: 13.28 kB / 464.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.475e-05/0.2273, allocations: 21 kB / 464.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2273, allocations: 1.344 kB / 464.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.705e-05/0.2274, allocations: 32.61 kB / 464.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.2274, allocations: 18.7 kB / 464.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.2275, allocations: 14.67 kB / 464.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2276, allocations: 66.42 kB / 464.6 MB, free: 17.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2276, allocations: 1.312 kB / 464.6 MB, free: 17.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2276, allocations: 4 kB / 464.6 MB, free: 17.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.2276, allocations: 0 / 464.6 MB, free: 17.59 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.0002514/0.2279, allocations: 351.2 kB / 464.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2279, allocations: 9.094 kB / 464.9 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.228, allocations: 38.67 kB / 465 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.228, allocations: 8.344 kB / 465 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.97e-05/0.2281, allocations: 166.3 kB / 465.1 MB, free: 16.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2281, allocations: 6.656 kB / 465.1 MB, free: 16.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.2281, allocations: 6.641 kB / 465.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.2283, allocations: 98.06 kB / 465.2 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2283, allocations: 4.594 kB / 465.2 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2283, allocations: 1.188 kB / 465.2 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.2283, allocations: 12.97 kB / 465.3 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.2284, allocations: 48.34 kB / 465.3 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.2288, allocations: 406.2 kB / 465.7 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/0.2288, allocations: 47.22 kB / 465.7 MB, free: 16.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.2289, allocations: 27.27 kB / 465.8 MB, free: 16.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003347/0.2292, allocations: 197.8 kB / 466 MB, free: 16.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.2293, allocations: 36.17 kB / 466 MB, free: 16.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2293, allocations: 1.188 kB / 466 MB, free: 16.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002414/0.2295, allocations: 93.06 kB / 466.1 MB, free: 16.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.2296, allocations: 78.23 kB / 466.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.2296, allocations: 122.1 kB / 466.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.2297, allocations: 30.86 kB / 466.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.2297, allocations: 109.9 kB / 466.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2297, allocations: 29.14 kB / 466.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.2298, allocations: 38.95 kB / 466.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.2298, allocations: 318.6 kB / 466.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.2299, allocations: 23.19 kB / 466.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.2299, allocations: 123.3 kB / 466.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.2301, allocations: 168.8 kB / 467.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2301, allocations: 2.156 kB / 467.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002182/0.2303, allocations: 160.8 kB / 467.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2303, allocations: 11.56 kB / 467.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2303, allocations: 3.531 kB / 467.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2304, allocations: 4.406 kB / 467.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.2329, allocations: 445.1 kB / 467.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.2341, allocations: 4.68 MB / 472.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.2342, allocations: 23.5 kB / 472.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.2343, allocations: 8.531 kB / 472.4 MB, free: 10.26 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.183e-05/0.2343, allocations: 134.8 kB / 472.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.2344, allocations: 7.547 kB / 472.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.2346, allocations: 115.9 kB / 472.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2347, allocations: 1.719 kB / 472.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2347, allocations: 5.062 kB / 472.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2347, allocations: 6.125 kB / 472.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.2349, allocations: 172 kB / 472.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2349, allocations: 0.5156 kB / 472.9 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/0.2373, allocations: 422.9 kB / 473.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2373, allocations: 0 / 473.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.2373, allocations: 11.95 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.2384, allocations: 4.679 MB / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.2385, allocations: 5.188 kB / 478 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.2386, allocations: 253.3 kB / 478.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.2386, allocations: 83.59 kB / 478.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2387, allocations: 2.078 kB / 478.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.2387, allocations: 1.406 kB / 478.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.2388, allocations: 11.11 kB / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.2388, allocations: 6.906 kB / 478.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.2388, allocations: 86.83 kB / 478.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2388, allocations: 0 / 478.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.2392, allocations: 24.36 kB / 478.4 MB, free: 4.668 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.0005002/0.2397, allocations: 0.809 MB / 479.2 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.2428, allocations: 0.5522 MB / 479.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2428, allocations: 1 kB / 479.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.2457, allocations: 0.4889 MB / 480.3 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.246, allocations: 16.27 kB / 480.3 MB, free: 19.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007591/0.2467, allocations: 274.3 kB / 480.6 MB, free: 19.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.247, allocations: 0.6904 MB / 481.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.498e-05/0.2471, allocations: 14.06 kB / 481.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.2471, allocations: 16.38 kB / 481.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2471, allocations: 7.875 kB / 481.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.2664, allocations: 2.977 MB / 484.3 MB, free: 18.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.14, allocations: 4.156 kB / 484.3 MB, free: 18.34 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 & python3 -m fmpy simulate --output-file EHPTlib_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_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)