Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 97.53 kB / 15.69 MB, free: 488 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.001503/0.001503, allocations: 170.4 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3563/0.3563, allocations: 43.55 MB / 314.5 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004881, allocations: 15.98 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 58.85 MB / 442.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4034/0.5251, allocations: 155.7 MB / 0.5845 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.5414, allocations: 10.65 MB / 0.5949 GB, free: 4.984 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.5426, allocations: 27.81 kB / 0.595 GB, free: 4.957 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5438, allocations: 346.3 kB / 0.5953 GB, free: 4.617 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007045/0.5508, allocations: 1.981 MB / 0.5972 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00535/0.5562, allocations: 1.704 MB / 0.5989 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.5582, allocations: 1.228 MB / 0.6001 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007656/0.5589, allocations: 0.5002 MB / 0.6006 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.5621, allocations: 1.383 MB / 0.6019 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009366/0.563, allocations: 0.6037 MB / 0.6025 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.5631, allocations: 48 kB / 0.6026 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008151/0.5713, allocations: 4.49 MB / 0.6069 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006446/0.572, allocations: 351.1 kB / 0.6073 GB, free: 8.328 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.5724, allocations: 209.3 kB / 0.6075 GB, free: 8.117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00483/0.5772, allocations: 2.403 MB / 0.6098 GB, free: 5.715 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5772, allocations: 0 / 0.6098 GB, free: 5.715 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5773, allocations: 0 / 0.6098 GB, free: 5.715 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.5773, allocations: 0 / 0.6098 GB, free: 5.715 MB / 478.1 MB 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.003575/0.5809, allocations: 1.541 MB / 0.6113 GB, free: 4.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5809, allocations: 12.02 kB / 0.6113 GB, free: 4.109 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.5811, allocations: 127.2 kB / 0.6115 GB, free: 3.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003616/0.5815, allocations: 118.8 kB / 0.6116 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.5825, allocations: 0.5744 MB / 0.6121 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.5827, allocations: 125.3 kB / 0.6123 GB, free: 3.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.5828, allocations: 64 kB / 0.6123 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.5846, allocations: 1.162 MB / 0.6135 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5846, allocations: 0 / 0.6135 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.5847, allocations: 31.98 kB / 0.6135 GB, free: 1.801 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.55e-05/0.5848, allocations: 69.09 kB / 0.6135 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.5866, allocations: 1.159 MB / 0.6147 GB, free: 0.5781 MB / 478.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.007075/0.5937, allocations: 5.033 MB / 0.6196 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.5955, allocations: 0.8333 MB / 0.6204 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.5969, allocations: 1.556 MB / 0.6219 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/0.597, allocations: 55.05 kB / 0.622 GB, free: 8.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 3.016e-06/0.597, allocations: 4 kB / 0.622 GB, free: 8.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.01426/0.6113, allocations: 4.142 MB / 0.626 GB, free: 4.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.6114, allocations: 111.5 kB / 0.6261 GB, free: 4.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.6122, allocations: 0.6525 MB / 0.6268 GB, free: 3.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.966e-05/0.6123, allocations: 45.7 kB / 0.6268 GB, free: 3.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.6126, allocations: 383.5 kB / 0.6272 GB, free: 3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.6128, allocations: 291.8 kB / 0.6275 GB, free: 2.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.6129, allocations: 20 kB / 0.6275 GB, free: 2.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.613, allocations: 390.8 kB / 0.6279 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.614, allocations: 497.7 kB / 0.6283 GB, free: 1.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.615, allocations: 0.7561 MB / 0.6291 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.6161, allocations: 0.5885 MB / 0.6296 GB, free: 364 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6161, allocations: 4 kB / 0.6296 GB, free: 360 kB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.2199/0.836, allocations: 1.687 MB / 0.6313 GB, free: 151 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.8361, allocations: 9.344 kB / 0.6313 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.8361, allocations: 9.781 kB / 0.6313 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008087/0.8442, allocations: 1.392 MB / 0.6327 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.8449, allocations: 161.4 kB / 0.6328 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.8472, allocations: 1.55 MB / 0.6343 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009974/0.8482, allocations: 80.25 kB / 0.6344 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.8484, allocations: 65.86 kB / 0.6345 GB, free: 150.5 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0004819/0.8489, allocations: 301.2 kB / 0.6348 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.849, allocations: 88.03 kB / 0.6348 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/0.8519, allocations: 1.658 MB / 0.6365 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.852, allocations: 9 kB / 0.6365 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.852, allocations: 4.578 kB / 0.6365 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.852, allocations: 7.266 kB / 0.6365 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.856, allocations: 2.567 MB / 0.639 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.8561, allocations: 2.094 kB / 0.639 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.8573, allocations: 268.4 kB / 0.6393 GB, free: 149.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.8591, allocations: 400 kB / 0.6396 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.8592, allocations: 35.14 kB / 0.6397 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.8612, allocations: 2.267 MB / 0.6419 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8613, allocations: 2.781 kB / 0.6419 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.8645, allocations: 2.087 MB / 0.6439 GB, free: 147.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/0.8651, allocations: 302.1 kB / 0.6442 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.8652, allocations: 28.53 kB / 0.6442 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.866, allocations: 87.89 kB / 0.6443 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.8662, allocations: 61.11 kB / 0.6444 GB, free: 146.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.652e-05/0.8663, allocations: 57.62 kB / 0.6444 GB, free: 146.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005077/0.8668, allocations: 486.3 kB / 0.6449 GB, free: 146.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8668, allocations: 0 / 0.6449 GB, free: 146.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001778/0.8686, allocations: 0.694 MB / 0.6456 GB, free: 146.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005265/0.8739, allocations: 3.754 MB / 0.6492 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.8762, allocations: 1.253 MB / 0.6505 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.8762, allocations: 3.906 kB / 0.6505 GB, free: 144.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.8777, allocations: 0.7167 MB / 0.6512 GB, free: 144.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.8797, allocations: 467.1 kB / 0.6516 GB, free: 143.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.8916, allocations: 11.91 MB / 0.6632 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.8923, allocations: 1.058 MB / 0.6643 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001272/0.8936, allocations: 309.1 kB / 0.6646 GB, free: 134.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.8941, allocations: 336.4 kB / 0.6649 GB, free: 134.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8941, allocations: 4 kB / 0.6649 GB, free: 134.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07728/0.9714, allocations: 41.93 MB / 0.7059 GB, free: 110.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.9716, allocations: 259.6 kB / 0.7061 GB, free: 110.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/4.314, allocations: 4 kB / 0.7061 GB, free: 110.3 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat