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.0008578/0.0008578, allocations: 97.86 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008239/0.000824, allocations: 190.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 45.92 MB / 344.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003928, allocations: 7.984 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 63.47 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5094/0.6597, allocations: 138.1 MB / 0.6052 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01171/0.6715, allocations: 9.681 MB / 0.6146 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.6718, allocations: 0 / 0.6146 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.6722, allocations: 55.64 kB / 0.6147 GB, free: 2.359 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006918/0.6791, allocations: 2.12 MB / 0.6168 GB, free: 240 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.6795, allocations: 147.5 kB / 0.6169 GB, free: 96 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008086/0.6803, allocations: 0.6388 MB / 0.6175 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.07e-05/0.6804, allocations: 24.39 kB / 0.6176 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.6807, allocations: 215.2 kB / 0.6178 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007418/0.6815, allocations: 405.4 kB / 0.6181 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.6815, allocations: 16 kB / 0.6182 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007649/0.6892, allocations: 3.69 MB / 0.6218 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.6894, allocations: 95.67 kB / 0.6219 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.6895, allocations: 77.58 kB / 0.6219 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.6928, allocations: 1.485 MB / 0.6234 GB, free: 9.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.6929, allocations: 0 / 0.6234 GB, free: 9.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6929, allocations: 0 / 0.6234 GB, free: 9.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.6929, allocations: 0 / 0.6234 GB, free: 9.441 MB / 462.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.002415/0.6953, allocations: 1.003 MB / 0.6244 GB, free: 8.391 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.6954, allocations: 8.031 kB / 0.6244 GB, free: 8.383 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.032e-05/0.6955, allocations: 70.53 kB / 0.6244 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.6956, allocations: 35.7 kB / 0.6245 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.6959, allocations: 246.7 kB / 0.6247 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.6961, allocations: 131.5 kB / 0.6248 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.6961, allocations: 28 kB / 0.6249 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008225/0.6969, allocations: 0.5564 MB / 0.6254 GB, free: 7.223 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.697, allocations: 7.938 kB / 0.6254 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/0.697, allocations: 19.89 kB / 0.6254 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.6971, allocations: 28.55 kB / 0.6255 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.6984, allocations: 1.259 MB / 0.6267 GB, free: 5.906 MB / 462.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.002247/0.7007, allocations: 1.973 MB / 0.6286 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.7013, allocations: 256.2 kB / 0.6289 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.7015, allocations: 122 kB / 0.629 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003158/0.7047, allocations: 3.103 MB / 0.632 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.7047, allocations: 38.56 kB / 0.632 GB, free: 15.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.7047, allocations: 0 / 0.632 GB, free: 15.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001806/0.7066, allocations: 0.7073 MB / 0.6327 GB, free: 14.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.7066, allocations: 59.41 kB / 0.6328 GB, free: 14.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.7068, allocations: 202.1 kB / 0.633 GB, free: 14.71 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.7069, allocations: 29.7 kB / 0.633 GB, free: 14.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.707, allocations: 195.7 kB / 0.6332 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.7071, allocations: 153.8 kB / 0.6333 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.7071, allocations: 12 kB / 0.6334 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7073, allocations: 334.8 kB / 0.6337 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.7075, allocations: 101.2 kB / 0.6338 GB, free: 13.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.7079, allocations: 413.6 kB / 0.6342 GB, free: 13.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.7082, allocations: 179.7 kB / 0.6343 GB, free: 13.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7082, allocations: 0 / 0.6343 GB, free: 13.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008637/0.7091, allocations: 0.5433 MB / 0.6349 GB, free: 12.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.7091, allocations: 15.94 kB / 0.6349 GB, free: 12.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.7091, allocations: 8.844 kB / 0.6349 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.7092, allocations: 16 kB / 0.6349 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.7098, allocations: 203.7 kB / 0.6351 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000613/0.7104, allocations: 1.191 MB / 0.6363 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.7108, allocations: 36.12 kB / 0.6363 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.7108, allocations: 51.98 kB / 0.6363 GB, free: 11.05 MB / 478.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.0001727/0.711, allocations: 169.6 kB / 0.6365 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.7111, allocations: 27.72 kB / 0.6365 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.7123, allocations: 0.6376 MB / 0.6372 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.7124, allocations: 11.94 kB / 0.6372 GB, free: 10.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.7124, allocations: 3.953 kB / 0.6372 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.7124, allocations: 3.984 kB / 0.6372 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.7136, allocations: 0.8055 MB / 0.638 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7136, allocations: 4 kB / 0.638 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.714, allocations: 104 kB / 0.6381 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.714, allocations: 7.938 kB / 0.6381 GB, free: 9.137 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.7141, allocations: 18.94 kB / 0.6381 GB, free: 9.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006577/0.7147, allocations: 1.168 MB / 0.6392 GB, free: 7.906 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7147, allocations: 4.188 kB / 0.6392 GB, free: 7.902 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.7152, allocations: 351.3 kB / 0.6396 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.7154, allocations: 136.6 kB / 0.6397 GB, free: 7.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.7154, allocations: 12 kB / 0.6397 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.7157, allocations: 15.98 kB / 0.6397 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.7157, allocations: 27.86 kB / 0.6398 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.7158, allocations: 19.98 kB / 0.6398 GB, free: 7.309 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.7159, allocations: 168.5 kB / 0.6399 GB, free: 7.145 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7159, allocations: 0 / 0.6399 GB, free: 7.145 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001563/0.7175, allocations: 499.6 kB / 0.6404 GB, free: 6.656 MB / 478.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.00244/0.7199, allocations: 1.495 MB / 0.6419 GB, free: 5.137 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008876/0.7208, allocations: 370.9 kB / 0.6422 GB, free: 4.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7209, allocations: 0 / 0.6422 GB, free: 4.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.7212, allocations: 148.3 kB / 0.6424 GB, free: 4.633 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.7218, allocations: 92.88 kB / 0.6425 GB, free: 4.543 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.7327, allocations: 7.257 MB / 0.6495 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.733, allocations: 0.7699 MB / 0.6503 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006988/0.7337, allocations: 202.9 kB / 0.6505 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.734, allocations: 123.4 kB / 0.6506 GB, free: 11.95 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.734, allocations: 0 / 0.6506 GB, free: 11.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.7714, allocations: 17.3 MB / 0.6675 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.7717, allocations: 257.6 kB / 0.6677 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/3.625, allocations: 3.938 kB / 0.6677 GB, free: 10.5 MB / 0.4981 GB (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