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.001695/0.001695, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2239/0.2239, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002389/0.002389, allocations: 80.77 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1199, allocations: 62.45 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4607/0.5806, allocations: 194 MB / 0.6584 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.592, allocations: 7.441 MB / 0.6657 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008959/0.593, allocations: 19.81 kB / 0.6657 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.5946, allocations: 437.5 kB / 0.6661 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006965/0.6015, allocations: 2.36 MB / 0.6684 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007962/0.6095, allocations: 2.307 MB / 0.6707 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003523/0.6131, allocations: 2.192 MB / 0.6728 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.6144, allocations: 0.6011 MB / 0.6734 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00455/0.619, allocations: 1.826 MB / 0.6752 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.6207, allocations: 0.8566 MB / 0.676 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.6211, allocations: 96 kB / 0.6761 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.6343, allocations: 5.194 MB / 0.6812 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/0.6355, allocations: 427 kB / 0.6816 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.6373, allocations: 0.5329 MB / 0.6821 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/0.6508, allocations: 3.816 MB / 0.6859 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6509, allocations: 4 kB / 0.6859 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6509, allocations: 0 / 0.6859 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.64e-05/0.6509, allocations: 0 / 0.6859 GB, free: 4.789 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.006926/0.6579, allocations: 1.737 MB / 0.6876 GB, free: 3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.6579, allocations: 8.031 kB / 0.6876 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002743/0.6582, allocations: 130.5 kB / 0.6877 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007488/0.659, allocations: 111.4 kB / 0.6878 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.6605, allocations: 0.5975 MB / 0.6884 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/0.6607, allocations: 117.4 kB / 0.6885 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.6609, allocations: 68 kB / 0.6886 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.6639, allocations: 1.162 MB / 0.6897 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.664, allocations: 0 / 0.6897 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.6642, allocations: 33.17 kB / 0.6897 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.6643, allocations: 69.91 kB / 0.6898 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.6675, allocations: 1.163 MB / 0.6909 GB, free: 15.43 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.01122/0.6787, allocations: 4.99 MB / 0.6958 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.6815, allocations: 0.8067 MB / 0.6966 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.6826, allocations: 429.4 kB / 0.697 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/0.6845, allocations: 1.626 MB / 0.6986 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.6846, allocations: 43.12 kB / 0.6986 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/0.6846, allocations: 4 kB / 0.6986 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.02126/0.7058, allocations: 4.005 MB / 0.7025 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.706, allocations: 115.5 kB / 0.7027 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.7072, allocations: 0.668 MB / 0.7033 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.7074, allocations: 45.7 kB / 0.7034 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.7079, allocations: 383.5 kB / 0.7037 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/0.7083, allocations: 291.9 kB / 0.704 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005129/0.7088, allocations: 190.5 kB / 0.7042 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002868/0.7091, allocations: 390.7 kB / 0.7045 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.7107, allocations: 0.4899 MB / 0.705 GB, free: 172 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2004/0.9112, allocations: 0.7452 MB / 0.7058 GB, free: 196.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.9138, allocations: 1.292 MB / 0.707 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.9138, allocations: 6 kB / 0.707 GB, free: 196.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003723/0.9175, allocations: 1.683 MB / 0.7087 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.9176, allocations: 9.594 kB / 0.7087 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.9176, allocations: 7.969 kB / 0.7087 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007378/0.925, allocations: 1.31 MB / 0.71 GB, free: 196 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.9257, allocations: 154.7 kB / 0.7101 GB, free: 196 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.9282, allocations: 1.527 MB / 0.7116 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009029/0.9291, allocations: 55.98 kB / 0.7117 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9293, allocations: 52.53 kB / 0.7117 GB, free: 195.1 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.0004996/0.9298, allocations: 291.9 kB / 0.712 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.93, allocations: 85.16 kB / 0.7121 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.9334, allocations: 1.682 MB / 0.7137 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/0.9334, allocations: 10.08 kB / 0.7137 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.9335, allocations: 0.7031 kB / 0.7137 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.9335, allocations: 7.406 kB / 0.7137 GB, free: 194.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.9384, allocations: 2.63 MB / 0.7163 GB, free: 193 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.9384, allocations: 3.641 kB / 0.7163 GB, free: 193 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.9398, allocations: 265.4 kB / 0.7165 GB, free: 193 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/0.9417, allocations: 366.1 kB / 0.7169 GB, free: 192.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.9419, allocations: 34.33 kB / 0.7169 GB, free: 192.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.9443, allocations: 2.361 MB / 0.7192 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.9443, allocations: 2.688 kB / 0.7192 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.9486, allocations: 2.028 MB / 0.7212 GB, free: 189.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/0.9492, allocations: 289.4 kB / 0.7215 GB, free: 189.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.9495, allocations: 23.56 kB / 0.7215 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009693/0.9505, allocations: 60.19 kB / 0.7216 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.9507, allocations: 63.83 kB / 0.7216 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.9508, allocations: 45.55 kB / 0.7217 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008729/0.9517, allocations: 0.4956 MB / 0.7222 GB, free: 189.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9517, allocations: 0 / 0.7222 GB, free: 189.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002459/0.9542, allocations: 0.685 MB / 0.7228 GB, free: 189.4 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.007039/0.9612, allocations: 3.309 MB / 0.7261 GB, free: 187.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003551/0.9648, allocations: 1.433 MB / 0.7275 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.9648, allocations: 1.375 kB / 0.7275 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.9666, allocations: 0.7145 MB / 0.7282 GB, free: 187.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.9694, allocations: 0.526 MB / 0.7287 GB, free: 187.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01508/0.9845, allocations: 10.06 MB / 0.7385 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.9851, allocations: 1.043 MB / 0.7395 GB, free: 179.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001209/0.9863, allocations: 374.2 kB / 0.7399 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000446/0.9867, allocations: 331.3 kB / 0.7402 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.9868, allocations: 0 / 0.7402 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06931/1.056, allocations: 43.66 MB / 0.7828 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/14.08, allocations: 0 / 0.7828 GB, free: 135.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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)