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.00122/0.00122, allocations: 108 kB / 15.61 MB, free: 152 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.001205/0.001205, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.724/1.724, 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.1601/0.1601, allocations: 8.029 MB / 298.4 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 59.91 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09635, allocations: 51.19 MB / 411.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001714/0.09811, allocations: 493.4 kB / 412.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003104/0.09844, allocations: 87.64 kB / 412.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.09848, allocations: 0 / 412.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.864e-05/0.09854, allocations: 0 / 412.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.0986, allocations: 3.938 kB / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.09884, allocations: 27.91 kB / 412.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.09898, allocations: 47.89 kB / 412.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.09904, allocations: 0 / 412.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.09908, allocations: 12 kB / 412.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.09912, allocations: 19.98 kB / 412.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.09914, allocations: 0 / 412.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.09924, allocations: 27.97 kB / 412.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.09929, allocations: 19.92 kB / 412.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.09934, allocations: 23.86 kB / 412.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.09946, allocations: 55.88 kB / 412.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.09947, allocations: 0 / 412.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09948, allocations: 0 / 412.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.09949, allocations: 4 kB / 412.7 MB, free: 10.18 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.0003384/0.09983, allocations: 355.7 kB / 413.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.09989, allocations: 15.97 kB / 413.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.56e-05/0.09993, allocations: 34.75 kB / 413.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.09996, allocations: 8.844 kB / 413.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1001, allocations: 168.3 kB / 413.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1001, allocations: 384 / 413.3 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1001, allocations: 4.375 kB / 413.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1003, allocations: 99.92 kB / 413.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1003, allocations: 7.875 kB / 413.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1003, allocations: 0 / 413.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.1004, allocations: 11.98 kB / 413.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.1005, allocations: 43.97 kB / 413.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.1009, allocations: 400.9 kB / 413.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.581e-05/0.101, allocations: 57.08 kB / 413.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.1011, allocations: 21.89 kB / 413.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00044/0.1015, allocations: 210.1 kB / 414.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1016, allocations: 30.56 kB / 414.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.1016, allocations: 0 / 414.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002736/0.1019, allocations: 93.5 kB / 414.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.1019, allocations: 85.05 kB / 414.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.102, allocations: 113.8 kB / 414.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1021, allocations: 25.7 kB / 414.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.1021, allocations: 111.8 kB / 414.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.1022, allocations: 27.56 kB / 414.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.1023, allocations: 37.7 kB / 414.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1024, allocations: 322.8 kB / 415 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.1025, allocations: 23.98 kB / 415 MB, free: 7.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.1026, allocations: 120.4 kB / 415.1 MB, free: 7.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1028, allocations: 169.5 kB / 415.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1028, allocations: 0 / 415.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002572/0.1031, allocations: 157.2 kB / 415.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1031, allocations: 8 kB / 415.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1031, allocations: 4 kB / 415.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1031, allocations: 4 kB / 415.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/0.1056, allocations: 444 kB / 415.9 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.1081, allocations: 4.677 MB / 420.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.1082, allocations: 15.78 kB / 420.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1082, allocations: 16 kB / 420.6 MB, free: 1.742 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.0001137/0.1083, allocations: 134 kB / 420.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.1084, allocations: 7.906 kB / 420.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1086, allocations: 121.8 kB / 420.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.1087, allocations: 7.938 kB / 420.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1087, allocations: 4 kB / 420.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1087, allocations: 11.92 kB / 420.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1089, allocations: 165.7 kB / 421 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1089, allocations: 0 / 421 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/0.1112, allocations: 431.5 kB / 421.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1112, allocations: 4 kB / 421.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1112, allocations: 0 / 421.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.1136, allocations: 4.681 MB / 426.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.899e-05/0.1137, allocations: 3.938 kB / 426.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.1139, allocations: 254.7 kB / 426.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.1139, allocations: 77.3 kB / 426.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.114, allocations: 8 kB / 426.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.114, allocations: 4 kB / 426.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.1141, allocations: 11.92 kB / 426.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1141, allocations: 4 kB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.976e-05/0.1141, allocations: 99.27 kB / 426.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1141, allocations: 0 / 426.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1145, allocations: 16 kB / 426.6 MB, free: 11.43 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.0005076/0.115, allocations: 0.7981 MB / 427.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00291/0.1179, allocations: 0.5471 MB / 427.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1179, allocations: 4.062 kB / 427.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002596/0.1205, allocations: 0.4956 MB / 428.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1208, allocations: 13.97 kB / 428.5 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.1217, allocations: 287.6 kB / 428.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.122, allocations: 0.6927 MB / 429.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.1221, allocations: 12.55 kB / 429.4 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.1221, allocations: 19.42 kB / 429.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1221, allocations: 0 / 429.5 MB, free: 8.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.144, allocations: 2.866 MB / 432.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.59, allocations: 8.047 kB / 432.3 MB, free: 5.672 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)