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.004904/0.004904, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001229/0.001229, allocations: 193.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.371/1.371, 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.1501/0.1501, allocations: 8.022 MB / 298.6 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.91 kB / 412.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2725, allocations: 51.19 MB / 463.8 MB, free: 18.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001519/0.2741, allocations: 485.9 kB / 464.2 MB, free: 17.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.2744, allocations: 98.78 kB / 464.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.2744, allocations: 0 / 464.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.325e-05/0.2745, allocations: 0.5625 kB / 464.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.704e-05/0.2745, allocations: 1.781 kB / 464.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.2748, allocations: 31.17 kB / 464.4 MB, free: 17.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2749, allocations: 39.48 kB / 464.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.2749, allocations: 1.75 kB / 464.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.275, allocations: 14.59 kB / 464.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.275, allocations: 16.39 kB / 464.4 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.275, allocations: 3.969 kB / 464.4 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2751, allocations: 31.33 kB / 464.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.2752, allocations: 19.42 kB / 464.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.2752, allocations: 17.42 kB / 464.5 MB, free: 17.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.2754, allocations: 60.31 kB / 464.6 MB, free: 17.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2754, allocations: 5.953 kB / 464.6 MB, free: 17.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2754, allocations: 0 / 464.6 MB, free: 17.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2754, allocations: 0 / 464.6 MB, free: 17.58 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.000319/0.2757, allocations: 348.6 kB / 464.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2758, allocations: 10.09 kB / 464.9 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.787e-05/0.2758, allocations: 38.75 kB / 465 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.2758, allocations: 11.06 kB / 465 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.2759, allocations: 170.7 kB / 465.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.2759, allocations: 3.062 kB / 465.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.2759, allocations: 3.656 kB / 465.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2761, allocations: 106.3 kB / 465.2 MB, free: 16.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2761, allocations: 3.938 kB / 465.2 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2762, allocations: 1.219 kB / 465.2 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.2762, allocations: 11.56 kB / 465.3 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.2763, allocations: 45.59 kB / 465.3 MB, free: 16.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.2767, allocations: 401.8 kB / 465.7 MB, free: 16.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.2767, allocations: 46.98 kB / 465.7 MB, free: 16.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.2768, allocations: 31.25 kB / 465.8 MB, free: 16.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/0.2771, allocations: 198.4 kB / 466 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.2772, allocations: 31.78 kB / 466 MB, free: 16.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2772, allocations: 1.156 kB / 466 MB, free: 16.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002555/0.2774, allocations: 93.92 kB / 466.1 MB, free: 16.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.2775, allocations: 83.36 kB / 466.2 MB, free: 16.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.612e-05/0.2776, allocations: 128.3 kB / 466.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.2776, allocations: 31.2 kB / 466.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.2776, allocations: 96.92 kB / 466.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.2776, allocations: 34.3 kB / 466.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.2777, allocations: 33.03 kB / 466.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.2778, allocations: 323.8 kB / 466.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.2778, allocations: 22.88 kB / 466.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.2779, allocations: 133.3 kB / 467 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.278, allocations: 165.1 kB / 467.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.278, allocations: 1.156 kB / 467.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002218/0.2783, allocations: 161.4 kB / 467.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2783, allocations: 6.406 kB / 467.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2783, allocations: 4.844 kB / 467.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2783, allocations: 4.531 kB / 467.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.2808, allocations: 441 kB / 467.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2821, allocations: 4.68 MB / 472.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.2822, allocations: 21.53 kB / 472.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.2822, allocations: 10.48 kB / 472.4 MB, free: 10.25 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 7.759e-05/0.2823, allocations: 131 kB / 472.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.2824, allocations: 6.656 kB / 472.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.2826, allocations: 119.4 kB / 472.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2826, allocations: 3.828 kB / 472.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2826, allocations: 4 kB / 472.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2826, allocations: 6.062 kB / 472.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2828, allocations: 172.8 kB / 472.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2828, allocations: 0 / 472.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/0.2852, allocations: 417.5 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.2852, allocations: 5.016 kB / 473.3 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2852, allocations: 11.36 kB / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.2865, allocations: 4.681 MB / 478 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2865, allocations: 5.531 kB / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.2866, allocations: 251.4 kB / 478.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.2867, allocations: 84.03 kB / 478.3 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2867, allocations: 5.875 kB / 478.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.355e-05/0.2868, allocations: 1.344 kB / 478.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2868, allocations: 9.906 kB / 478.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2868, allocations: 4.531 kB / 478.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.2869, allocations: 95.34 kB / 478.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.2869, allocations: 0 / 478.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.2872, allocations: 27.25 kB / 478.4 MB, free: 4.648 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.0005351/0.2877, allocations: 0.7984 MB / 479.2 MB, free: 19.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.2909, allocations: 0.5441 MB / 479.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2909, allocations: 0 / 479.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002848/0.2938, allocations: 0.4969 MB / 480.3 MB, free: 19.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2941, allocations: 13.03 kB / 480.3 MB, free: 19.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007628/0.2948, allocations: 266.6 kB / 480.6 MB, free: 19.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2951, allocations: 0.6935 MB / 481.2 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.432e-05/0.2952, allocations: 15.22 kB / 481.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.2952, allocations: 19.19 kB / 481.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2952, allocations: 0 / 481.3 MB, free: 18.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.3149, allocations: 2.988 MB / 484.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.42, allocations: 8.875 kB / 484.3 MB, free: 18.32 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2_fmu --startTime=0.1 --stopTime=1.35 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)