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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.001898/0.001898, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 191.3 kB / 16.67 MB, free: 6.57 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.1579/0.1579, allocations: 8.017 MB / 298.6 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.12 kB / 412.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2485, allocations: 51.19 MB / 463.7 MB, free: 18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001435/0.2499, allocations: 493.5 kB / 464.2 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002624/0.2502, allocations: 98.77 kB / 464.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.2503, allocations: 0 / 464.3 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.428e-05/0.2503, allocations: 5.953 kB / 464.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.682e-05/0.2504, allocations: 0 / 464.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2506, allocations: 23.66 kB / 464.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.435e-05/0.2507, allocations: 43.19 kB / 464.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.2507, allocations: 2.969 kB / 464.4 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.2508, allocations: 17.3 kB / 464.4 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.2508, allocations: 17.36 kB / 464.4 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.2508, allocations: 1.125 kB / 464.4 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2509, allocations: 36.94 kB / 464.5 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.251, allocations: 15.11 kB / 464.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/0.251, allocations: 18.77 kB / 464.5 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2511, allocations: 55.56 kB / 464.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2512, allocations: 0.6562 kB / 464.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2512, allocations: 1.281 kB / 464.6 MB, free: 17.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.2512, 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.0002424/0.2514, allocations: 356.2 kB / 464.9 MB, free: 17.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2515, allocations: 9.906 kB / 464.9 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.2515, allocations: 43.67 kB / 465 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2515, allocations: 7.172 kB / 465 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.852e-05/0.2516, allocations: 167 kB / 465.1 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2516, allocations: 5.375 kB / 465.1 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2516, allocations: 3.781 kB / 465.1 MB, free: 16.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.2518, allocations: 98.41 kB / 465.2 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2518, allocations: 3.938 kB / 465.2 MB, free: 16.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2518, allocations: 1.156 kB / 465.2 MB, free: 16.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.2519, allocations: 12.48 kB / 465.2 MB, free: 16.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.252, allocations: 49.83 kB / 465.3 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.2523, allocations: 401.1 kB / 465.7 MB, free: 16.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.099e-05/0.2524, allocations: 47.03 kB / 465.7 MB, free: 16.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.2524, allocations: 26.41 kB / 465.8 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/0.2527, allocations: 203.4 kB / 466 MB, free: 16.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2528, allocations: 32.34 kB / 466 MB, free: 16.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.2528, allocations: 4 kB / 466 MB, free: 16.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002315/0.253, allocations: 93.89 kB / 466.1 MB, free: 16.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.253, allocations: 78.58 kB / 466.2 MB, free: 16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.2531, allocations: 117.8 kB / 466.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2531, allocations: 26.73 kB / 466.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.2532, allocations: 109.2 kB / 466.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2532, allocations: 34.31 kB / 466.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.2532, allocations: 34.14 kB / 466.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.2533, allocations: 335.4 kB / 466.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.2533, allocations: 19.3 kB / 466.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.2534, allocations: 125.7 kB / 466.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2535, allocations: 165.8 kB / 467.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2536, allocations: 1.094 kB / 467.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002085/0.2538, allocations: 161.5 kB / 467.3 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2538, allocations: 11.31 kB / 467.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2538, allocations: 4.453 kB / 467.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2538, allocations: 4.344 kB / 467.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/0.2561, allocations: 440.8 kB / 467.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.2573, allocations: 4.685 MB / 472.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.2573, allocations: 16.64 kB / 472.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.2574, allocations: 10.95 kB / 472.4 MB, free: 10.21 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.601e-05/0.2574, allocations: 132.9 kB / 472.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.2575, allocations: 4.375 kB / 472.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.2577, allocations: 124.1 kB / 472.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2577, allocations: 1.844 kB / 472.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2577, allocations: 1.219 kB / 472.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2577, allocations: 8.547 kB / 472.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.2579, allocations: 169.9 kB / 472.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2579, allocations: 0 / 472.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/0.2601, allocations: 426.4 kB / 473.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2601, allocations: 1.344 kB / 473.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2601, allocations: 3.344 kB / 473.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.2612, allocations: 4.676 MB / 478 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2612, allocations: 9.156 kB / 478 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2614, allocations: 256 kB / 478.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.2614, allocations: 83.91 kB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2614, allocations: 2.156 kB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.2615, allocations: 1.5 kB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.2615, allocations: 14.92 kB / 478.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.2615, allocations: 7.906 kB / 478.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.2616, allocations: 91.41 kB / 478.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2616, allocations: 0 / 478.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.2619, allocations: 17.56 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.0004515/0.2624, allocations: 0.8068 MB / 479.2 MB, free: 19.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002828/0.2652, allocations: 0.5434 MB / 479.8 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2652, allocations: 4.938 kB / 479.8 MB, free: 19.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/0.2678, allocations: 0.4933 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.000284/0.2681, allocations: 17.81 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.000677/0.2688, allocations: 270.5 kB / 480.6 MB, free: 19.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2691, allocations: 0.6933 MB / 481.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.318e-05/0.2691, allocations: 18.89 kB / 481.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.2691, allocations: 15.42 kB / 481.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2691, allocations: 1.281 kB / 481.3 MB, free: 18.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.2893, allocations: 2.97 MB / 484.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.95, allocations: 9.281 kB / 484.3 MB, free: 18.31 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)