Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_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.0009809/0.0009806, allocations: 97.67 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001047, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002659, allocations: 4 kB / 418 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4406/0.5599, allocations: 127.9 MB / 0.5952 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.5715, allocations: 8.793 MB / 0.6038 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.5718, allocations: 4 kB / 0.6038 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.5722, allocations: 63.67 kB / 0.6038 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006645/0.5789, allocations: 2.135 MB / 0.6059 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.5793, allocations: 150.5 kB / 0.606 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.5801, allocations: 335.9 kB / 0.6064 GB, free: 9.789 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.5802, allocations: 20.39 kB / 0.6064 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.5807, allocations: 223.3 kB / 0.6066 GB, free: 9.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.5814, allocations: 335.3 kB / 0.6069 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.5814, allocations: 8 kB / 0.6069 GB, free: 9.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007595/0.589, allocations: 3.913 MB / 0.6107 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5892, allocations: 87.75 kB / 0.6108 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.5893, allocations: 81.58 kB / 0.6109 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.5924, allocations: 1.457 MB / 0.6123 GB, free: 3.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5924, allocations: 4 kB / 0.6123 GB, free: 3.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5924, allocations: 0 / 0.6123 GB, free: 3.668 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.5924, allocations: 0 / 0.6123 GB, free: 3.668 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002306/0.5947, allocations: 1.011 MB / 0.6133 GB, free: 2.609 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5948, allocations: 8.031 kB / 0.6133 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.5949, allocations: 70.53 kB / 0.6134 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.595, allocations: 35.7 kB / 0.6134 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.5954, allocations: 242.7 kB / 0.6137 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.5955, allocations: 135.4 kB / 0.6138 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.5956, allocations: 29 kB / 0.6138 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.5964, allocations: 0.5564 MB / 0.6144 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5965, allocations: 0 / 0.6144 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.5965, allocations: 19.95 kB / 0.6144 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.5966, allocations: 24.55 kB / 0.6144 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.598, allocations: 1.263 MB / 0.6156 GB, free: 136 kB / 446.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.002558/0.6005, allocations: 2.031 MB / 0.6176 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.6012, allocations: 256.2 kB / 0.6179 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003419/0.6046, allocations: 3.177 MB / 0.621 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.6047, allocations: 42.45 kB / 0.621 GB, free: 9.938 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 1.944e-06/0.6047, allocations: 0 / 0.621 GB, free: 9.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.001814/0.6065, allocations: 0.7833 MB / 0.6218 GB, free: 9.109 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.6066, allocations: 59.41 kB / 0.6218 GB, free: 9.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.6068, allocations: 206.1 kB / 0.622 GB, free: 8.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.6068, allocations: 29.7 kB / 0.6221 GB, free: 8.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.607, allocations: 195.8 kB / 0.6222 GB, free: 8.598 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.6071, allocations: 153.8 kB / 0.6224 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.6071, allocations: 12 kB / 0.6224 GB, free: 8.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6073, allocations: 334.8 kB / 0.6227 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.6074, allocations: 105.2 kB / 0.6228 GB, free: 7.996 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.6078, allocations: 409.6 kB / 0.6232 GB, free: 7.445 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.6081, allocations: 173.5 kB / 0.6234 GB, free: 7.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6081, allocations: 4 kB / 0.6234 GB, free: 7.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008577/0.609, allocations: 0.5437 MB / 0.6239 GB, free: 6.723 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.609, allocations: 8 kB / 0.6239 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.609, allocations: 12 kB / 0.6239 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.6091, allocations: 16.78 kB / 0.6239 GB, free: 6.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.6097, allocations: 196.3 kB / 0.6241 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006657/0.6104, allocations: 1.199 MB / 0.6253 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.6107, allocations: 24.17 kB / 0.6253 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.6108, allocations: 55.98 kB / 0.6254 GB, free: 5.172 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.611, allocations: 173.6 kB / 0.6255 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.6111, allocations: 35.59 kB / 0.6256 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.6123, allocations: 0.6416 MB / 0.6262 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.6124, allocations: 4 kB / 0.6262 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6124, allocations: 0 / 0.6262 GB, free: 4.277 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6124, allocations: 7.938 kB / 0.6262 GB, free: 4.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.6134, allocations: 0.8289 MB / 0.627 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6134, allocations: 0 / 0.627 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.6139, allocations: 95.88 kB / 0.6271 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6139, allocations: 4 kB / 0.6271 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.6139, allocations: 15.94 kB / 0.6271 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000544/0.6145, allocations: 1.172 MB / 0.6283 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6145, allocations: 0 / 0.6283 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.6149, allocations: 388.5 kB / 0.6287 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.6151, allocations: 156.6 kB / 0.6288 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.6152, allocations: 7.984 kB / 0.6288 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6154, allocations: 19.98 kB / 0.6288 GB, free: 1.387 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.6155, allocations: 19.97 kB / 0.6289 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.6155, allocations: 19.98 kB / 0.6289 GB, free: 1.348 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.6157, allocations: 168.5 kB / 0.629 GB, free: 1.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6157, allocations: 0 / 0.629 GB, free: 1.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001387/0.6171, allocations: 499.5 kB / 0.6295 GB, free: 0.6914 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/0.6195, allocations: 1.748 MB / 0.6312 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008342/0.6203, allocations: 361 kB / 0.6316 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6203, allocations: 0 / 0.6316 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.6208, allocations: 149.1 kB / 0.6317 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.6213, allocations: 103.2 kB / 0.6318 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.627, allocations: 9.057 MB / 0.6406 GB, free: 4.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.6273, allocations: 0.7737 MB / 0.6414 GB, free: 4.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007464/0.6281, allocations: 190.8 kB / 0.6416 GB, free: 3.988 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.6283, allocations: 127.4 kB / 0.6417 GB, free: 3.863 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6283, allocations: 0 / 0.6417 GB, free: 3.863 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/0.6672, allocations: 17.19 MB / 0.6585 GB, free: 2.867 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.6675, allocations: 250.1 kB / 0.6587 GB, free: 2.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.241, allocations: 0 / 0.6587 GB, free: 2.574 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat