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.001598/0.001598, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.2 MB / 245 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 103.8 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5183/0.5183, allocations: 45.23 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003148, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.4994, allocations: 63.25 MB / 0.5193 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.562/9.061, allocations: 3.549 GB / 4.068 GB, free: 94.64 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/9.062, allocations: 101 kB / 4.068 GB, free: 94.55 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.739/10.8, allocations: 409.4 MB / 4.468 GB, free: 80.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.062e-06/10.8, allocations: 0 / 4.468 GB, free: 80.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.872e-05/10.8, allocations: 22.78 kB / 4.468 GB, free: 80.81 MB / 0.5417 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.008177/10.81, allocations: 2.33 MB / 4.47 GB, free: 79.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/10.81, allocations: 6.219 kB / 4.47 GB, free: 79.51 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/10.81, allocations: 127.1 kB / 4.47 GB, free: 79.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003833/10.81, allocations: 115.6 kB / 4.47 GB, free: 79.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/10.81, allocations: 0.6338 MB / 4.471 GB, free: 79.13 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/10.81, allocations: 121.6 kB / 4.471 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/10.81, allocations: 71.59 kB / 4.471 GB, free: 79.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/10.81, allocations: 1.143 MB / 4.472 GB, free: 78.87 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/10.81, allocations: 0 / 4.472 GB, free: 78.87 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/10.81, allocations: 40.64 kB / 4.472 GB, free: 78.87 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.757e-05/10.81, allocations: 56.14 kB / 4.472 GB, free: 78.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/10.81, allocations: 1.138 MB / 4.473 GB, free: 78.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006072/10.82, allocations: 4.679 MB / 4.478 GB, free: 76.53 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/10.82, allocations: 0.8136 MB / 4.479 GB, free: 76.49 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/10.82, allocations: 1.634 MB / 4.48 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/10.82, allocations: 49.22 kB / 4.48 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 3.396e-06/10.82, allocations: 0 / 4.48 GB, free: 74.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.01398/10.84, allocations: 4.259 MB / 4.484 GB, free: 73.26 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/10.84, allocations: 120.3 kB / 4.485 GB, free: 73.13 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008146/10.84, allocations: 0.5803 MB / 4.485 GB, free: 72.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/10.84, allocations: 44.42 kB / 4.485 GB, free: 72.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/10.84, allocations: 382.2 kB / 4.486 GB, free: 72.53 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/10.84, allocations: 289.8 kB / 4.486 GB, free: 72.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/10.84, allocations: 19.66 kB / 4.486 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001231/10.84, allocations: 394.5 kB / 4.486 GB, free: 71.95 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/10.84, allocations: 495.3 kB / 4.487 GB, free: 71.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009753/10.84, allocations: 0.7429 MB / 4.487 GB, free: 71.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/10.84, allocations: 0.5882 MB / 4.488 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/10.84, allocations: 3.938 kB / 4.488 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003045/10.85, allocations: 1.67 MB / 4.49 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/10.85, allocations: 7.75 kB / 4.49 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/10.85, allocations: 7.781 kB / 4.49 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00782/10.85, allocations: 1.433 MB / 4.491 GB, free: 70.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/10.85, allocations: 162 kB / 4.491 GB, free: 70.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/10.86, allocations: 1.534 MB / 4.493 GB, free: 69.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/10.86, allocations: 97.98 kB / 4.493 GB, free: 69.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/10.86, allocations: 56.81 kB / 4.493 GB, free: 69.33 MB / 0.5417 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.0006413/10.86, allocations: 291.5 kB / 4.493 GB, free: 69.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/10.86, allocations: 84.44 kB / 4.493 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/10.86, allocations: 1.679 MB / 4.495 GB, free: 68.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/10.86, allocations: 11.83 kB / 4.495 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/10.86, allocations: 3.891 kB / 4.495 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/10.86, allocations: 7.422 kB / 4.495 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/10.87, allocations: 2.634 MB / 4.497 GB, free: 67.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/10.87, allocations: 0 / 4.497 GB, free: 67.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/10.87, allocations: 264.4 kB / 4.498 GB, free: 67.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/10.87, allocations: 404.8 kB / 4.498 GB, free: 67.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/10.87, allocations: 30.98 kB / 4.498 GB, free: 67.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/10.87, allocations: 2.277 MB / 4.5 GB, free: 65.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/10.87, allocations: 0 / 4.5 GB, free: 65.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/10.87, allocations: 2.11 MB / 4.502 GB, free: 64.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007173/10.88, allocations: 294.3 kB / 4.503 GB, free: 63.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/10.88, allocations: 22.91 kB / 4.503 GB, free: 63.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008791/10.88, allocations: 75.28 kB / 4.503 GB, free: 63.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/10.88, allocations: 70.98 kB / 4.503 GB, free: 63.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/10.88, allocations: 49.92 kB / 4.503 GB, free: 63.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005882/10.88, allocations: 480.7 kB / 4.503 GB, free: 63.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/10.88, allocations: 0 / 4.503 GB, free: 63.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003324/10.88, allocations: 0.8109 MB / 4.504 GB, free: 63.41 MB / 0.5417 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.007785/10.89, allocations: 4.472 MB / 4.509 GB, free: 61.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00267/10.89, allocations: 1.242 MB / 4.51 GB, free: 60.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/10.89, allocations: 7.016 kB / 4.51 GB, free: 60.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/10.89, allocations: 0.6965 MB / 4.51 GB, free: 60.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/10.9, allocations: 473.7 kB / 4.511 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/10.91, allocations: 11.94 MB / 4.523 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/10.91, allocations: 1.064 MB / 4.524 GB, free: 49.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001259/10.91, allocations: 342.2 kB / 4.524 GB, free: 49.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/10.91, allocations: 331.7 kB / 4.524 GB, free: 49.11 MB / 0.5417 GB Notification: Performance of SimCode: time 8.92e-07/10.91, allocations: 0 / 4.524 GB, free: 49.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08239/11, allocations: 52.41 MB / 4.575 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/11, allocations: 271.5 kB / 4.576 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.08/15.08, allocations: 2.344 kB / 4.576 GB, free: 1.023 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