Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 210.4 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.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2268/0.2268, allocations: 46.13 MB / 344.2 MB, free: 11.58 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.002221/0.002221, allocations: 79.17 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1185, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4218/0.5403, allocations: 194 MB / 0.6584 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.5509, allocations: 7.451 MB / 0.6657 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006475/0.5517, allocations: 19.88 kB / 0.6657 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5528, allocations: 437.5 kB / 0.6661 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005821/0.5586, allocations: 2.36 MB / 0.6684 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005735/0.5644, allocations: 2.302 MB / 0.6707 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002972/0.5674, allocations: 2.192 MB / 0.6728 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5684, allocations: 0.6028 MB / 0.6734 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004372/0.5728, allocations: 1.826 MB / 0.6752 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.5743, allocations: 0.8644 MB / 0.6761 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.5746, allocations: 100 kB / 0.6762 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.5857, allocations: 5.191 MB / 0.6812 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.5868, allocations: 430.9 kB / 0.6816 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009581/0.5878, allocations: 0.533 MB / 0.6822 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008566/0.5964, allocations: 3.812 MB / 0.6859 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5964, allocations: 4 kB / 0.6859 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5964, allocations: 0 / 0.6859 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.5965, allocations: 0 / 0.6859 GB, free: 4.828 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004044/0.6005, allocations: 1.73 MB / 0.6876 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6006, allocations: 8.031 kB / 0.6876 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/0.6007, allocations: 131 kB / 0.6877 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.6012, allocations: 110.8 kB / 0.6878 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009892/0.6022, allocations: 0.5936 MB / 0.6884 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.6023, allocations: 117.4 kB / 0.6885 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.6025, allocations: 72.48 kB / 0.6886 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.6043, allocations: 1.162 MB / 0.6897 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.6044, allocations: 4 kB / 0.6897 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6045, allocations: 28 kB / 0.6897 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.122e-05/0.6046, allocations: 65.89 kB / 0.6898 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.6065, allocations: 1.159 MB / 0.6909 GB, free: 15.48 MB / 0.5294 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.006964/0.6135, allocations: 4.99 MB / 0.6958 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.6153, allocations: 0.82 MB / 0.6966 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.616, allocations: 423.2 kB / 0.697 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.6175, allocations: 1.626 MB / 0.6986 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.6175, allocations: 51.06 kB / 0.6986 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.996e-06/0.6175, allocations: 0 / 0.6986 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.01421/0.6317, allocations: 4.004 MB / 0.7026 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.6319, allocations: 115.5 kB / 0.7027 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.6328, allocations: 0.664 MB / 0.7033 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.6329, allocations: 41.7 kB / 0.7033 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.6332, allocations: 383.5 kB / 0.7037 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.6335, allocations: 295.9 kB / 0.704 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.6338, allocations: 202.4 kB / 0.7042 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.634, allocations: 386.8 kB / 0.7046 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.6351, allocations: 489.7 kB / 0.705 GB, free: 224 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2143/0.8494, allocations: 0.7553 MB / 0.7058 GB, free: 197 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.852, allocations: 1.286 MB / 0.707 GB, free: 196.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.852, allocations: 6.438 kB / 0.707 GB, free: 196.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0037/0.8557, allocations: 1.679 MB / 0.7087 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.8558, allocations: 8.906 kB / 0.7087 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.8558, allocations: 10.27 kB / 0.7087 GB, free: 196.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007076/0.8629, allocations: 1.303 MB / 0.71 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.8636, allocations: 157.2 kB / 0.7101 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.8662, allocations: 1.524 MB / 0.7116 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.8672, allocations: 53.47 kB / 0.7116 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.8673, allocations: 57.38 kB / 0.7117 GB, free: 195.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0004801/0.8678, allocations: 296.9 kB / 0.712 GB, free: 195 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.868, allocations: 88.72 kB / 0.7121 GB, free: 195 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/0.8716, allocations: 1.687 MB / 0.7137 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/0.8716, allocations: 9.984 kB / 0.7137 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.8717, allocations: 0.9062 kB / 0.7137 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.8717, allocations: 4.172 kB / 0.7137 GB, free: 194.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.8769, allocations: 2.634 MB / 0.7163 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.8769, allocations: 1.625 kB / 0.7163 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.8783, allocations: 258.9 kB / 0.7165 GB, free: 193.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.8801, allocations: 384 kB / 0.7169 GB, free: 193 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.8802, allocations: 29.89 kB / 0.7169 GB, free: 193 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.8824, allocations: 2.35 MB / 0.7192 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8825, allocations: 2.312 kB / 0.7192 GB, free: 190.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0046/0.8871, allocations: 2.034 MB / 0.7212 GB, free: 190 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.8876, allocations: 286.7 kB / 0.7215 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.8878, allocations: 24.12 kB / 0.7215 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.8886, allocations: 53.31 kB / 0.7216 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.8888, allocations: 67.41 kB / 0.7216 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.889, allocations: 46.41 kB / 0.7217 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006483/0.8896, allocations: 0.5 MB / 0.7222 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.532e-06/0.8896, allocations: 0 / 0.7222 GB, free: 189.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002256/0.8919, allocations: 0.6841 MB / 0.7228 GB, free: 189.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00567/0.8976, allocations: 3.298 MB / 0.7261 GB, free: 188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003123/0.9007, allocations: 1.428 MB / 0.7275 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.9007, allocations: 1.625 kB / 0.7275 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.9024, allocations: 0.7228 MB / 0.7282 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/0.9047, allocations: 0.5155 MB / 0.7287 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.9185, allocations: 10.07 MB / 0.7385 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.919, allocations: 1.043 MB / 0.7395 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001157/0.9201, allocations: 373.8 kB / 0.7399 GB, free: 179 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/0.9205, allocations: 331.3 kB / 0.7402 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.52e-07/0.9205, allocations: 0 / 0.7402 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07213/0.9927, allocations: 43.67 MB / 0.7828 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.26, allocations: 0 / 0.7828 GB, free: 135.3 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_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_Air_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1)