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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0011/0.001099, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009773/0.0009773, allocations: 96.02 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 45.14 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.757e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.409/8.544, allocations: 3.548 GB / 4.052 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/8.544, allocations: 91.94 kB / 4.052 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.507/10.05, allocations: 404.6 MB / 4.447 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/10.05, allocations: 0 / 4.447 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.047e-05/10.05, allocations: 16 kB / 4.448 GB, free: 26.04 MB / 0.5261 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.007959/10.06, allocations: 2.244 MB / 4.45 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/10.06, allocations: 19.95 kB / 4.45 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/10.06, allocations: 107 kB / 4.45 GB, free: 23.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/10.06, allocations: 0.6291 MB / 4.45 GB, free: 22.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/10.06, allocations: 97.34 kB / 4.451 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/10.06, allocations: 44 kB / 4.451 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001373/10.06, allocations: 1.027 MB / 4.452 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/10.06, allocations: 1.024 MB / 4.453 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/10.06, allocations: 4 kB / 4.453 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/10.06, allocations: 0 / 4.453 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/10.06, allocations: 53.97 kB / 4.453 GB, free: 20.63 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/10.07, allocations: 5.014 MB / 4.458 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/10.07, allocations: 0.6921 MB / 4.458 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/10.07, allocations: 362.7 kB / 4.459 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007339/10.07, allocations: 1.124 MB / 4.46 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/10.07, allocations: 55.06 kB / 4.46 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 3.106e-06/10.07, allocations: 0 / 4.46 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01232/10.08, allocations: 3.664 MB / 4.463 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/10.08, allocations: 115.6 kB / 4.463 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/10.09, allocations: 481.9 kB / 4.464 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.185e-05/10.09, allocations: 33.7 kB / 4.464 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/10.09, allocations: 410.9 kB / 4.464 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/10.09, allocations: 260.2 kB / 4.465 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/10.09, allocations: 0 / 4.465 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001548/10.09, allocations: 386.7 kB / 4.465 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/10.09, allocations: 422.5 kB / 4.465 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/10.09, allocations: 0.6785 MB / 4.466 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/10.09, allocations: 0.6917 MB / 4.467 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/10.09, allocations: 4 kB / 4.467 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002791/10.09, allocations: 1.579 MB / 4.468 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/10.09, allocations: 8 kB / 4.468 GB, free: 3.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/10.09, allocations: 8 kB / 4.468 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004785/10.1, allocations: 1.051 MB / 4.469 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/10.1, allocations: 159.7 kB / 4.469 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/10.1, allocations: 1.529 MB / 4.471 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/10.1, allocations: 71.91 kB / 4.471 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/10.1, allocations: 51.98 kB / 4.471 GB, free: 0.9375 MB / 0.5261 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 () * 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.0002767/10.1, allocations: 136.7 kB / 4.471 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002502/10.1, allocations: 1.105 MB / 4.472 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/10.1, allocations: 83.09 kB / 4.472 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/10.11, allocations: 1.463 MB / 4.474 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/10.11, allocations: 15.98 kB / 4.474 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/10.11, allocations: 0 / 4.474 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/10.11, allocations: 3.984 kB / 4.474 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005101/10.11, allocations: 2.716 MB / 4.476 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/10.11, allocations: 4 kB / 4.476 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/10.11, allocations: 251.7 kB / 4.477 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/10.11, allocations: 304.9 kB / 4.477 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-05/10.11, allocations: 27.92 kB / 4.477 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/10.12, allocations: 2.135 MB / 4.479 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/10.12, allocations: 4.031 kB / 4.479 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/10.12, allocations: 1.976 MB / 4.481 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/10.12, allocations: 284 kB / 4.481 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/10.12, allocations: 8 kB / 4.481 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/10.12, allocations: 63.81 kB / 4.481 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/10.12, allocations: 60.62 kB / 4.481 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/10.12, allocations: 51.97 kB / 4.481 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005743/10.12, allocations: 370.9 kB / 4.482 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/10.12, allocations: 0 / 4.482 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003682/10.13, allocations: 0.757 MB / 4.482 GB, free: 4.719 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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.3742/10.5, allocations: 4.756 MB / 4.487 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002701/10.5, allocations: 1.066 MB / 4.488 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/10.5, allocations: 6.312 kB / 4.488 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/10.51, allocations: 0.6091 MB / 4.489 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/10.51, allocations: 369.1 kB / 4.489 GB, free: 84.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/10.51, allocations: 2.044 MB / 4.491 GB, free: 83.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/10.51, allocations: 1.059 MB / 4.492 GB, free: 83.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001076/10.51, allocations: 312.2 kB / 4.492 GB, free: 83.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/10.52, allocations: 317.2 kB / 4.493 GB, free: 83.13 MB / 0.5417 GB Notification: Performance of SimCode: time 1.333e-06/10.52, allocations: 2.078 kB / 4.493 GB, free: 83.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08969/10.6, allocations: 41.23 MB / 4.533 GB, free: 82.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/10.61, allocations: 183.8 kB / 4.533 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.47/14.08, allocations: 0 / 4.533 GB, free: 82.02 MB / 0.5417 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