Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_main_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.001408/0.001408, allocations: 108 kB / 15.58 MB, free: 184 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.001517/0.001517, allocations: 196.2 kB / 16.5 MB, free: 6.699 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.8128/0.8128, allocations: 8.004 MB / 298.3 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 63.91 kB / 360.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0871/0.08829, allocations: 51.19 MB / 411.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001403/0.08972, allocations: 488.4 kB / 412.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002217/0.08996, allocations: 95.56 kB / 412.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.08999, allocations: 4 kB / 412.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.09004, allocations: 0 / 412.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.017e-05/0.09007, allocations: 0 / 412.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.09024, allocations: 23.91 kB / 412.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.09033, allocations: 43.89 kB / 412.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.09037, allocations: 8 kB / 412.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.09039, allocations: 8 kB / 412.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.031e-05/0.09042, allocations: 15.98 kB / 412.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.09044, allocations: 4 kB / 412.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.09053, allocations: 35.91 kB / 412.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.09057, allocations: 19.92 kB / 412.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.0906, allocations: 15.86 kB / 412.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.593e-05/0.0907, allocations: 59.88 kB / 412.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.09071, allocations: 0 / 412.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09072, allocations: 0 / 412.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.09073, allocations: 0 / 412.6 MB, free: 10.2 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.0002699/0.091, allocations: 359.7 kB / 413 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.09104, allocations: 8.031 kB / 413 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.09108, allocations: 38.75 kB / 413 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.0911, allocations: 4.844 kB / 413 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.09119, allocations: 172.3 kB / 413.2 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.0912, allocations: 4.375 kB / 413.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.09122, allocations: 12.3 kB / 413.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.09139, allocations: 91.94 kB / 413.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.09141, allocations: 3.938 kB / 413.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.09142, allocations: 4 kB / 413.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.09145, allocations: 11.98 kB / 413.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.09153, allocations: 47.91 kB / 413.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.0919, allocations: 396.9 kB / 413.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.323e-05/0.09198, allocations: 57.06 kB / 413.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.09202, allocations: 29.89 kB / 413.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.09234, allocations: 194.2 kB / 414 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.09237, allocations: 42.55 kB / 414.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.09238, allocations: 0 / 414.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002151/0.0926, allocations: 93.5 kB / 414.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.09264, allocations: 77.11 kB / 414.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.09272, allocations: 117.8 kB / 414.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.09274, allocations: 25.7 kB / 414.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.09279, allocations: 111.8 kB / 414.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.09282, allocations: 27.56 kB / 414.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.09286, allocations: 33.7 kB / 414.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.09296, allocations: 322.8 kB / 414.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.093, allocations: 19.98 kB / 414.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.0931, allocations: 125.7 kB / 415 MB, free: 7.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.09326, allocations: 161.5 kB / 415.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.09327, allocations: 4 kB / 415.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000218/0.0935, allocations: 165.3 kB / 415.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.09351, allocations: 4 kB / 415.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.09353, allocations: 4 kB / 415.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.09354, allocations: 7.938 kB / 415.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/0.09598, allocations: 448 kB / 415.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.09793, allocations: 4.677 MB / 420.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.098, allocations: 19.78 kB / 420.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.09802, allocations: 8 kB / 420.5 MB, free: 1.758 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.0001002/0.09813, allocations: 137.9 kB / 420.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.09818, allocations: 3.906 kB / 420.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.09842, allocations: 121.8 kB / 420.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.09843, allocations: 0 / 420.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.09844, allocations: 3.938 kB / 420.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.09845, allocations: 11.92 kB / 420.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.09865, allocations: 169.7 kB / 420.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.09866, allocations: 0 / 420.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/0.101, allocations: 431.6 kB / 421.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.101, allocations: 0 / 421.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.101, allocations: 4 kB / 421.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.1029, allocations: 4.681 MB / 426 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1029, allocations: 3.938 kB / 426 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.1031, allocations: 254.7 kB / 426.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.1032, allocations: 81.11 kB / 426.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1032, allocations: 0 / 426.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.1033, allocations: 4.562 kB / 426.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.1033, allocations: 11.92 kB / 426.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1033, allocations: 4 kB / 426.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.475e-05/0.1034, allocations: 91.27 kB / 426.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1034, allocations: 4 kB / 426.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.1037, allocations: 20 kB / 426.5 MB, free: 11.45 MB / 366.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.0004471/0.1042, allocations: 0.7941 MB / 427.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002915/0.1071, allocations: 0.5471 MB / 427.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1071, allocations: 0 / 427.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.1098, allocations: 0.4995 MB / 428.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1101, allocations: 11.94 kB / 428.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007025/0.1108, allocations: 283.4 kB / 428.6 MB, free: 9.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.111, allocations: 0.6889 MB / 429.3 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.003e-05/0.1111, allocations: 12.55 kB / 429.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.1111, allocations: 15.44 kB / 429.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1111, allocations: 0 / 429.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4804/0.5915, allocations: 2.885 MB / 432.2 MB, free: 5.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.73/27.32, allocations: 8 kB / 432.2 MB, free: 5.727 MB / 366.1 MB (rm -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2_fmu --startTime=0.1 --stopTime=1.35 --timeout=50 --tolerance=1e-06 EHPTlib_main_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)