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.0007342/0.0007341, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004341/0.004341, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1544/0.1544, allocations: 8.024 MB / 299.5 MB, free: 3.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002798/0.0002798, allocations: 4 kB / 362.5 MB, free: 13.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09094, allocations: 52.19 MB / 414.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0004895/0.09146, allocations: 212.7 kB / 414.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002589/0.09173, allocations: 95.64 kB / 415 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.09176, allocations: 0 / 415 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.09181, allocations: 0 / 415 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.34e-05/0.09184, allocations: 4 kB / 415 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.092, allocations: 23.92 kB / 415 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.09209, allocations: 31.97 kB / 415 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.09213, allocations: 4 kB / 415 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.09216, allocations: 23.91 kB / 415.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.0922, allocations: 12 kB / 415.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.09222, allocations: 4 kB / 415.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.09232, allocations: 27.97 kB / 415.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.09236, allocations: 19.92 kB / 415.1 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.09241, allocations: 41.62 kB / 415.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.09253, allocations: 67.8 kB / 415.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09254, allocations: 0 / 415.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09254, allocations: 0 / 415.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.09255, allocations: 0 / 415.2 MB, free: 9.043 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.0002571/0.09281, allocations: 339.7 kB / 415.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.09285, allocations: 8.031 kB / 415.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.0929, allocations: 42.73 kB / 415.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.09292, allocations: 4.844 kB / 415.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.09301, allocations: 168.3 kB / 415.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.09302, allocations: 4.375 kB / 415.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.09304, allocations: 8.375 kB / 415.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.09321, allocations: 95.16 kB / 415.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.09322, allocations: 3.938 kB / 415.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.09324, allocations: 4 kB / 415.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.09327, allocations: 8 kB / 415.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.09335, allocations: 51.89 kB / 416 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.09373, allocations: 404.8 kB / 416.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.212e-05/0.0938, allocations: 49.17 kB / 416.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.09384, allocations: 25.72 kB / 416.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.09419, allocations: 206.4 kB / 416.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.09422, allocations: 38.56 kB / 416.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.505e-06/0.09423, allocations: 0 / 416.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002153/0.09445, allocations: 101.4 kB / 416.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.0945, allocations: 81.11 kB / 416.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.09458, allocations: 121.8 kB / 417 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.0946, allocations: 25.7 kB / 417 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.09465, allocations: 103.8 kB / 417.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.09468, allocations: 31.55 kB / 417.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.09472, allocations: 25.66 kB / 417.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.09482, allocations: 322.8 kB / 417.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.09486, allocations: 19.98 kB / 417.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.09496, allocations: 121.7 kB / 417.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.09512, allocations: 165.5 kB / 417.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.09513, allocations: 4 kB / 417.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002339/0.09537, allocations: 157.2 kB / 417.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.09539, allocations: 4 kB / 417.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.0954, allocations: 4 kB / 417.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.09542, allocations: 4.5 kB / 417.9 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/0.09772, allocations: 419.5 kB / 418.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.09974, allocations: 4.677 MB / 423 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/0.09983, allocations: 19.78 kB / 423 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.09986, allocations: 12 kB / 423.1 MB, free: 0.6484 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.0001052/0.09997, allocations: 129.7 kB / 423.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.1, allocations: 7.906 kB / 423.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1003, allocations: 121.9 kB / 423.3 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1003, allocations: 0 / 423.3 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1003, allocations: 0 / 423.3 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1003, allocations: 3.938 kB / 423.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1005, allocations: 169.6 kB / 423.5 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1006, allocations: 4 kB / 423.5 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1507/0.2513, allocations: 391.2 kB / 423.9 MB, free: 42.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2513, allocations: 3.906 kB / 423.9 MB, free: 42.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2513, allocations: 0 / 423.9 MB, free: 42.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.2523, allocations: 4.68 MB / 428.5 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2523, allocations: 1.5 kB / 428.5 MB, free: 37.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.2525, allocations: 254.1 kB / 428.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.2525, allocations: 83.11 kB / 428.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2525, allocations: 1 kB / 428.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.2526, allocations: 6.375 kB / 428.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.2526, allocations: 11.58 kB / 428.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2526, allocations: 6.594 kB / 428.9 MB, free: 37.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.011e-05/0.2527, allocations: 93.19 kB / 429 MB, free: 37.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2527, allocations: 0 / 429 MB, free: 37.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.253, allocations: 19.92 kB / 429 MB, free: 37.3 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.0002764/0.2533, allocations: 0.7903 MB / 429.8 MB, free: 36.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.2559, allocations: 0.5112 MB / 430.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2559, allocations: 0.9375 kB / 430.3 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002485/0.2584, allocations: 470 kB / 430.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2587, allocations: 7.75 kB / 430.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.2593, allocations: 286.9 kB / 431.1 MB, free: 36.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2594, allocations: 0.692 MB / 431.8 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.305e-05/0.2595, allocations: 20.67 kB / 431.8 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.2595, allocations: 15.88 kB / 431.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2595, allocations: 0 / 431.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.2718, allocations: 2.619 MB / 434.4 MB, free: 35.4 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.272, allocations: 217.5 kB / 434.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.893, allocations: 4 kB / 434.6 MB, free: 35.15 MB / 350.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)