Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2199/0.2199, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 79.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3715, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05657/0.4281, allocations: 44.1 MB / 0.5737 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007436/0.4356, allocations: 4.386 MB / 0.578 GB, free: 1.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008511/0.4365, allocations: 19.88 kB / 0.578 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.4378, allocations: 314 kB / 0.5783 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.4405, allocations: 0.8549 MB / 0.5791 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.4433, allocations: 0.8946 MB / 0.58 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.4459, allocations: 1.801 MB / 0.5818 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000793/0.4467, allocations: 457.4 kB / 0.5822 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1145/0.5613, allocations: 44.56 MB / 0.6257 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01968/0.581, allocations: 7.97 MB / 0.6335 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.5813, allocations: 60 kB / 0.6335 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02666/0.608, allocations: 10.68 MB / 0.644 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.6086, allocations: 259.3 kB / 0.6442 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000695/0.6093, allocations: 390.2 kB / 0.6446 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.6112, allocations: 1.098 MB / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6112, allocations: 0 / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6112, allocations: 0 / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.6112, allocations: 0 / 0.6457 GB, free: 11.03 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002227/0.6135, allocations: 1.07 MB / 0.6467 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6135, allocations: 8.031 kB / 0.6467 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/0.6136, allocations: 98.69 kB / 0.6468 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.614, allocations: 100.5 kB / 0.6469 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.6149, allocations: 0.5292 MB / 0.6474 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.615, allocations: 96.97 kB / 0.6475 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.6151, allocations: 59.91 kB / 0.6476 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6164, allocations: 0.8214 MB / 0.6484 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.6164, allocations: 3.984 kB / 0.6484 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/0.6165, allocations: 23.98 kB / 0.6484 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.6166, allocations: 36.98 kB / 0.6484 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.6177, allocations: 0.6516 MB / 0.6491 GB, free: 7.344 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.6228, allocations: 4.218 MB / 0.6532 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009253/0.6238, allocations: 416 kB / 0.6536 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003585/0.6242, allocations: 205.4 kB / 0.6538 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.6247, allocations: 0.499 MB / 0.6543 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.6248, allocations: 42.83 kB / 0.6543 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.6248, allocations: 0 / 0.6543 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003477/0.6283, allocations: 1.534 MB / 0.6558 GB, free: 15.97 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6284, allocations: 136.5 kB / 0.6559 GB, free: 15.8 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.6291, allocations: 0.5732 MB / 0.6565 GB, free: 15.22 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.928e-05/0.6292, allocations: 37.7 kB / 0.6565 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.6295, allocations: 363.8 kB / 0.6569 GB, free: 14.82 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.6297, allocations: 174.5 kB / 0.6571 GB, free: 14.64 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.6299, allocations: 138.6 kB / 0.6572 GB, free: 14.5 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6301, allocations: 382.7 kB / 0.6576 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.6305, allocations: 225.8 kB / 0.6578 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.6312, allocations: 0.5165 MB / 0.6583 GB, free: 13.25 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.6323, allocations: 0.7833 MB / 0.659 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.6323, allocations: 4 kB / 0.659 GB, free: 12.34 MB / 0.5138 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001891/0.6342, allocations: 0.9413 MB / 0.66 GB, free: 11.39 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6342, allocations: 8 kB / 0.66 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.6343, allocations: 8 kB / 0.66 GB, free: 11.37 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.6354, allocations: 265.3 kB / 0.6602 GB, free: 11.11 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.6358, allocations: 127.8 kB / 0.6604 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.6369, allocations: 0.8673 MB / 0.6612 GB, free: 10.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.6374, allocations: 24 kB / 0.6612 GB, free: 10.07 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.6374, allocations: 32 kB / 0.6613 GB, free: 10.04 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003463/0.6378, allocations: 256.5 kB / 0.6615 GB, free: 9.781 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6379, allocations: 67.58 kB / 0.6616 GB, free: 9.715 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.6394, allocations: 0.7074 MB / 0.6623 GB, free: 9.004 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.6395, allocations: 15.98 kB / 0.6623 GB, free: 8.988 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6395, allocations: 4.047 kB / 0.6623 GB, free: 8.984 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6395, allocations: 3.984 kB / 0.6623 GB, free: 8.98 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.6417, allocations: 1.401 MB / 0.6636 GB, free: 7.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6417, allocations: 4 kB / 0.6636 GB, free: 7.496 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.6428, allocations: 191.8 kB / 0.6638 GB, free: 7.309 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000254/0.643, allocations: 57.02 kB / 0.6639 GB, free: 7.25 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.6431, allocations: 19.98 kB / 0.6639 GB, free: 7.23 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.6458, allocations: 2.983 MB / 0.6668 GB, free: 3.969 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6458, allocations: 4.031 kB / 0.6668 GB, free: 3.965 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.6474, allocations: 1.005 MB / 0.6678 GB, free: 2.918 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.6477, allocations: 200.5 kB / 0.668 GB, free: 2.703 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.6478, allocations: 19.98 kB / 0.668 GB, free: 2.684 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.6482, allocations: 20.06 kB / 0.668 GB, free: 2.664 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.6483, allocations: 35.89 kB / 0.6681 GB, free: 2.629 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.6484, allocations: 19.98 kB / 0.6681 GB, free: 2.609 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0005271/0.6489, allocations: 419 kB / 0.6685 GB, free: 2.195 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.024e-06/0.6489, allocations: 0 / 0.6685 GB, free: 2.195 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0007493/0.6497, allocations: 211.8 kB / 0.6687 GB, free: 1.988 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002271/0.6519, allocations: 1.672 MB / 0.6703 GB, free: 276 kB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.6532, allocations: 0.601 MB / 0.6709 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6532, allocations: 0 / 0.6709 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.6544, allocations: 0.4905 MB / 0.6714 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.6561, allocations: 376.8 kB / 0.6717 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009931/0.6661, allocations: 6.557 MB / 0.6781 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.6667, allocations: 0.9346 MB / 0.6791 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007279/0.6675, allocations: 209.6 kB / 0.6793 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.6678, allocations: 231.4 kB / 0.6795 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.6678, allocations: 4 kB / 0.6795 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/0.7286, allocations: 22.21 MB / 0.7012 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.96, allocations: 8.125 kB / 0.7012 GB, free: 0.6016 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)