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.001283/0.001283, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001343, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2238/0.2238, allocations: 46.1 MB / 344.2 MB, free: 11.6 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.00224/0.002241, allocations: 71.88 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1176, allocations: 62.47 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2483/0.3659, allocations: 44.09 MB / 0.512 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005518/0.3715, allocations: 4.374 MB / 0.5163 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.3722, allocations: 24.22 kB / 0.5163 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.3732, allocations: 310.6 kB / 0.5166 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.3754, allocations: 0.8509 MB / 0.5174 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.3781, allocations: 0.9078 MB / 0.5183 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.3807, allocations: 1.793 MB / 0.5201 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006634/0.3813, allocations: 458.8 kB / 0.5205 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1099/0.4913, allocations: 44.57 MB / 0.564 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02003/0.5114, allocations: 7.961 MB / 0.5718 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.5117, allocations: 60 kB / 0.5719 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02845/0.5401, allocations: 10.68 MB / 0.5823 GB, free: 9.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005852/0.5407, allocations: 257.1 kB / 0.5826 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.5416, allocations: 393.1 kB / 0.5829 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.5435, allocations: 1.074 MB / 0.584 GB, free: 7.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.5435, allocations: 0 / 0.584 GB, free: 7.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5435, allocations: 0 / 0.584 GB, free: 7.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.5435, allocations: 0 / 0.584 GB, free: 7.93 MB / 430.1 MB 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.002249/0.5458, allocations: 1.059 MB / 0.585 GB, free: 6.832 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5458, allocations: 12.03 kB / 0.585 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.546, allocations: 100.6 kB / 0.5851 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.5464, allocations: 84.09 kB / 0.5852 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.5472, allocations: 0.4995 MB / 0.5857 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.5473, allocations: 102.8 kB / 0.5858 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.5474, allocations: 50.36 kB / 0.5858 GB, free: 5.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5487, allocations: 0.8223 MB / 0.5866 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.5488, allocations: 0 / 0.5866 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.5488, allocations: 26.73 kB / 0.5867 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.589e-05/0.5489, allocations: 44.97 kB / 0.5867 GB, free: 4.988 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.55, allocations: 0.6478 MB / 0.5873 GB, free: 4.34 MB / 430.1 MB 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.005031/0.5551, allocations: 4.229 MB / 0.5915 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009283/0.556, allocations: 415.9 kB / 0.5919 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.5564, allocations: 209.4 kB / 0.5921 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/0.5569, allocations: 0.4981 MB / 0.5926 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.557, allocations: 47.14 kB / 0.5926 GB, free: 14.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.004e-06/0.557, allocations: 0 / 0.5926 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003296/0.5603, allocations: 1.521 MB / 0.5941 GB, free: 12.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.5604, allocations: 136.5 kB / 0.5942 GB, free: 12.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.5611, allocations: 0.5654 MB / 0.5948 GB, free: 12.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.297e-05/0.5611, allocations: 37.7 kB / 0.5948 GB, free: 12.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.5614, allocations: 357.1 kB / 0.5951 GB, free: 11.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.5616, allocations: 164.3 kB / 0.5953 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.5618, allocations: 154.4 kB / 0.5954 GB, free: 11.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.562, allocations: 370.7 kB / 0.5958 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.5624, allocations: 225.9 kB / 0.596 GB, free: 10.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.563, allocations: 0.5201 MB / 0.5965 GB, free: 10.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.5641, allocations: 0.7757 MB / 0.5973 GB, free: 9.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5641, allocations: 4 kB / 0.5973 GB, free: 9.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001844/0.566, allocations: 0.9338 MB / 0.5982 GB, free: 8.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.566, allocations: 15.94 kB / 0.5982 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.918e-05/0.5661, allocations: 9.125 kB / 0.5982 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.5672, allocations: 265.3 kB / 0.5985 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.5676, allocations: 131.8 kB / 0.5986 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.5686, allocations: 0.8739 MB / 0.5995 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.5691, allocations: 20 kB / 0.5995 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.5692, allocations: 36 kB / 0.5995 GB, free: 7.078 MB / 446.1 MB 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.0003431/0.5695, allocations: 257 kB / 0.5998 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5697, allocations: 67.25 kB / 0.5998 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.5711, allocations: 0.7157 MB / 0.6005 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5711, allocations: 4 kB / 0.6005 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5711, allocations: 0.8125 kB / 0.6005 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5711, allocations: 0 / 0.6005 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.5734, allocations: 1.41 MB / 0.6019 GB, free: 4.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.5734, allocations: 3.984 kB / 0.6019 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.5744, allocations: 187.8 kB / 0.6021 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.5747, allocations: 57.02 kB / 0.6021 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.5747, allocations: 20.86 kB / 0.6022 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.5773, allocations: 2.982 MB / 0.6051 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5774, allocations: 8.094 kB / 0.6051 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.5791, allocations: 0.9956 MB / 0.606 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.5794, allocations: 200.1 kB / 0.6062 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.834e-05/0.5795, allocations: 15.98 kB / 0.6063 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.5799, allocations: 12 kB / 0.6063 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.58, allocations: 43.95 kB / 0.6063 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.58, allocations: 19.98 kB / 0.6063 GB, free: 15.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008119/0.5809, allocations: 427 kB / 0.6067 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5809, allocations: 0 / 0.6067 GB, free: 15.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000802/0.5817, allocations: 208 kB / 0.6069 GB, free: 15.05 MB / 462.1 MB 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.002323/0.584, allocations: 1.674 MB / 0.6086 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.5854, allocations: 0.6632 MB / 0.6092 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5855, allocations: 0 / 0.6092 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.5867, allocations: 483 kB / 0.6097 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.5886, allocations: 372.5 kB / 0.61 GB, free: 11.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.5988, allocations: 6.765 MB / 0.6166 GB, free: 4.691 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.5994, allocations: 0.9346 MB / 0.6175 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008102/0.6003, allocations: 214.7 kB / 0.6178 GB, free: 3.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.6006, allocations: 231.4 kB / 0.618 GB, free: 3.309 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6006, allocations: 0 / 0.618 GB, free: 3.309 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/0.6567, allocations: 21.94 MB / 0.6394 GB, free: 13.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.17, allocations: 7.469 kB / 0.6394 GB, free: 13.69 MB / 494.1 MB (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)