Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_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.001226/0.001226, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003534, allocations: 11.98 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 63.47 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4379/0.5531, allocations: 155.9 MB / 0.6225 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.5642, allocations: 7.267 MB / 0.6296 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.5655, allocations: 27.75 kB / 0.6297 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.5667, allocations: 338.3 kB / 0.63 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005944/0.5727, allocations: 1.773 MB / 0.6317 GB, free: 15.81 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005643/0.5783, allocations: 1.564 MB / 0.6332 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.5807, allocations: 1.22 MB / 0.6344 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009031/0.5817, allocations: 0.4996 MB / 0.6349 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00402/0.5857, allocations: 1.407 MB / 0.6363 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.5869, allocations: 0.5998 MB / 0.6369 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.587, allocations: 48 kB / 0.6369 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009019/0.596, allocations: 4.365 MB / 0.6412 GB, free: 6.094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007633/0.5968, allocations: 355.1 kB / 0.6415 GB, free: 5.746 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005017/0.5974, allocations: 209.3 kB / 0.6417 GB, free: 5.535 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005384/0.6027, allocations: 2.356 MB / 0.644 GB, free: 3.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.6028, allocations: 3.938 kB / 0.644 GB, free: 3.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6028, allocations: 3.938 kB / 0.644 GB, free: 3.172 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.6028, allocations: 0 / 0.644 GB, free: 3.172 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.004058/0.6069, allocations: 1.509 MB / 0.6455 GB, free: 1.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.6069, allocations: 8.031 kB / 0.6455 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.6071, allocations: 130.5 kB / 0.6456 GB, free: 1.465 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.6075, allocations: 110.9 kB / 0.6457 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.6086, allocations: 0.5668 MB / 0.6463 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.6088, allocations: 125.3 kB / 0.6464 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.6089, allocations: 75.84 kB / 0.6465 GB, free: 0.543 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.6109, allocations: 1.147 MB / 0.6476 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.6109, allocations: 7.984 kB / 0.6476 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.6111, allocations: 31.98 kB / 0.6476 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-05/0.6111, allocations: 61.91 kB / 0.6477 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.6131, allocations: 1.159 MB / 0.6488 GB, free: 14.08 MB / 494.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.007468/0.6206, allocations: 5.005 MB / 0.6537 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.6223, allocations: 0.834 MB / 0.6545 GB, free: 7.891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.6237, allocations: 1.615 MB / 0.6561 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.6238, allocations: 43.12 kB / 0.6562 GB, free: 5.875 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.374e-06/0.6238, allocations: 0 / 0.6562 GB, free: 5.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.01401/0.6378, allocations: 4.147 MB / 0.6602 GB, free: 1.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.855e-05/0.6379, allocations: 111.5 kB / 0.6603 GB, free: 1.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6391, allocations: 0.6563 MB / 0.661 GB, free: 0.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.6393, allocations: 41.7 kB / 0.661 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/0.6396, allocations: 383.6 kB / 0.6614 GB, free: 460 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003331/0.64, allocations: 299.7 kB / 0.6616 GB, free: 156 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.64, allocations: 16 kB / 0.6617 GB, free: 140 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.6403, allocations: 394.7 kB / 0.662 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.6414, allocations: 497.7 kB / 0.6625 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.6427, allocations: 0.7484 MB / 0.6632 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.6439, allocations: 0.5847 MB / 0.6638 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.6439, allocations: 4 kB / 0.6638 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00401/0.648, allocations: 1.692 MB / 0.6655 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.648, allocations: 8 kB / 0.6655 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.6481, allocations: 8 kB / 0.6655 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007717/0.6558, allocations: 1.386 MB / 0.6668 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/0.6568, allocations: 159.8 kB / 0.667 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.6598, allocations: 1.537 MB / 0.6685 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.6611, allocations: 83.98 kB / 0.6686 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.6613, allocations: 59.97 kB / 0.6686 GB, free: 8.836 MB / 0.4981 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 (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.0009078/0.6622, allocations: 294 kB / 0.6689 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.6626, allocations: 86.97 kB / 0.669 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.6674, allocations: 1.697 MB / 0.6706 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.6674, allocations: 8 kB / 0.6707 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.6674, allocations: 4 kB / 0.6707 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.6675, allocations: 11.92 kB / 0.6707 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005923/0.6734, allocations: 2.645 MB / 0.6733 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.996e-06/0.6734, allocations: 0 / 0.6733 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.6748, allocations: 255.7 kB / 0.6735 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.6767, allocations: 396.5 kB / 0.6739 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/0.6768, allocations: 35.97 kB / 0.6739 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003055/0.6799, allocations: 2.273 MB / 0.6761 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.6799, allocations: 12.78 kB / 0.6761 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.6843, allocations: 2.1 MB / 0.6782 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007464/0.685, allocations: 307.8 kB / 0.6785 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.6853, allocations: 31.94 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.6864, allocations: 71.94 kB / 0.6786 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.6865, allocations: 64.86 kB / 0.6786 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.6867, allocations: 47.95 kB / 0.6787 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007184/0.6874, allocations: 483 kB / 0.6792 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6874, allocations: 0 / 0.6792 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002342/0.6898, allocations: 0.6869 MB / 0.6798 GB, free: 13 MB / 0.5137 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 (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.006567/0.6964, allocations: 3.783 MB / 0.6835 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002795/0.6992, allocations: 1.244 MB / 0.6847 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.6992, allocations: 0 / 0.6847 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.701, allocations: 0.729 MB / 0.6854 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.7035, allocations: 458 kB / 0.6859 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.7207, allocations: 11.9 MB / 0.6975 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009174/0.7217, allocations: 1.058 MB / 0.6985 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001574/0.7233, allocations: 355.5 kB / 0.6989 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.7239, allocations: 327.3 kB / 0.6992 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/0.7239, allocations: 0 / 0.6992 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3421/1.066, allocations: 40.81 MB / 0.739 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.066, allocations: 270.1 kB / 0.7393 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/4.202, allocations: 0 / 0.7393 GB, free: 178.4 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat