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.007323/0.007323, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001462/0.001463, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1705/0.1705, allocations: 8.027 MB / 298.6 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 67.89 kB / 412.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2653, allocations: 51.18 MB / 463.8 MB, free: 17.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001589/0.267, allocations: 498.9 kB / 464.2 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003135/0.2673, allocations: 89.34 kB / 464.3 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.2673, allocations: 0 / 464.3 MB, free: 17.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.078e-05/0.2674, allocations: 5.625 kB / 464.3 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.2675, allocations: 1.797 kB / 464.3 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2677, allocations: 21.69 kB / 464.4 MB, free: 17.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2679, allocations: 40.52 kB / 464.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.352e-05/0.2679, allocations: 6.344 kB / 464.4 MB, free: 17.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.847e-05/0.268, allocations: 17.72 kB / 464.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.268, allocations: 21.25 kB / 464.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.268, allocations: 1.062 kB / 464.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2682, allocations: 30.06 kB / 464.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.2682, allocations: 14.22 kB / 464.5 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.2683, allocations: 18.16 kB / 464.5 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.2684, allocations: 57.06 kB / 464.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2684, allocations: 0 / 464.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2684, allocations: 0 / 464.6 MB, free: 17.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2684, allocations: 5.469 kB / 464.6 MB, free: 17.5 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.0003267/0.2688, allocations: 357.2 kB / 464.9 MB, free: 17.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.2688, allocations: 9.547 kB / 464.9 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.2689, allocations: 42.45 kB / 465 MB, free: 17.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.2689, allocations: 7.625 kB / 465 MB, free: 17.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.156e-05/0.269, allocations: 165.9 kB / 465.1 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.269, allocations: 3.219 kB / 465.1 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.2691, allocations: 7.625 kB / 465.1 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.2693, allocations: 101.6 kB / 465.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2693, allocations: 4.719 kB / 465.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2693, allocations: 1.156 kB / 465.2 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.2693, allocations: 12.55 kB / 465.3 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.2694, allocations: 44.55 kB / 465.3 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.2699, allocations: 402.4 kB / 465.7 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.03e-05/0.2699, allocations: 50.92 kB / 465.7 MB, free: 16.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.27, allocations: 26.8 kB / 465.8 MB, free: 16.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/0.2704, allocations: 198.5 kB / 466 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2704, allocations: 36.2 kB / 466 MB, free: 16.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.2704, allocations: 0 / 466 MB, free: 16.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002422/0.2706, allocations: 90.11 kB / 466.1 MB, free: 16.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.2707, allocations: 82.91 kB / 466.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.2708, allocations: 120.9 kB / 466.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2708, allocations: 26.73 kB / 466.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.2708, allocations: 110.3 kB / 466.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2709, allocations: 30.44 kB / 466.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.2709, allocations: 33.34 kB / 466.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.361e-05/0.271, allocations: 327 kB / 466.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.271, allocations: 22.75 kB / 466.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.2711, allocations: 129.4 kB / 466.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.2713, allocations: 169 kB / 467.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2713, allocations: 1.156 kB / 467.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002263/0.2715, allocations: 157.3 kB / 467.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2715, allocations: 6.812 kB / 467.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2715, allocations: 3.406 kB / 467.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2715, allocations: 5.547 kB / 467.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.2741, allocations: 445.2 kB / 467.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/0.2758, allocations: 4.681 MB / 472.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.309e-05/0.2759, allocations: 17.16 kB / 472.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2759, allocations: 14.2 kB / 472.4 MB, free: 10.17 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.0001062/0.2761, allocations: 125.2 kB / 472.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.2761, allocations: 7.594 kB / 472.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.2764, allocations: 120.8 kB / 472.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2764, allocations: 1.375 kB / 472.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2764, allocations: 1.375 kB / 472.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.2764, allocations: 4.594 kB / 472.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2767, allocations: 172.9 kB / 472.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.2767, allocations: 5.375 kB / 472.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/0.2791, allocations: 425.3 kB / 473.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2791, allocations: 1.891 kB / 473.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2791, allocations: 2.344 kB / 473.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2805, allocations: 4.68 MB / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2805, allocations: 5.469 kB / 478 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.2806, allocations: 252.8 kB / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.2807, allocations: 84.5 kB / 478.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.2807, allocations: 6.031 kB / 478.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.2808, allocations: 9.219 kB / 478.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.2808, allocations: 13.89 kB / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2808, allocations: 4.406 kB / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.2809, allocations: 95.39 kB / 478.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2809, allocations: 0 / 478.4 MB, free: 4.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.2812, allocations: 22.23 kB / 478.4 MB, free: 4.566 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.0006534/0.2819, allocations: 0.7991 MB / 479.2 MB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003129/0.285, allocations: 0.5439 MB / 479.8 MB, free: 19.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.285, allocations: 4.062 kB / 479.8 MB, free: 19.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/0.2879, allocations: 0.4934 MB / 480.3 MB, free: 19.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.2882, allocations: 12.98 kB / 480.3 MB, free: 19.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.289, allocations: 264.2 kB / 480.6 MB, free: 19.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.2893, allocations: 0.6934 MB / 481.2 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.374e-05/0.2893, allocations: 14.53 kB / 481.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.2894, allocations: 19.91 kB / 481.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2894, allocations: 0 / 481.3 MB, free: 18.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.3094, allocations: 2.989 MB / 484.3 MB, free: 18.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.1, allocations: 8.922 kB / 484.3 MB, free: 18.29 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 & /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)