Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.0009471, allocations: 103.1 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4124/0.4124, allocations: 44.21 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004913, allocations: 16 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4319, allocations: 61.89 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.748, allocations: 430.5 MB / 0.9301 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/1.749, allocations: 106.9 kB / 0.9302 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2721/2.021, allocations: 136.4 MB / 1.063 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.008e-06/2.021, allocations: 0 / 1.063 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.13e-05/2.021, allocations: 24.12 kB / 1.063 GB, free: 21.02 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002214/2.023, allocations: 0.9857 MB / 1.064 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/2.023, allocations: 8.031 kB / 1.064 GB, free: 19.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/2.024, allocations: 98.52 kB / 1.064 GB, free: 19.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/2.024, allocations: 91.05 kB / 1.065 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/2.025, allocations: 0.5443 MB / 1.065 GB, free: 19.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/2.025, allocations: 100.4 kB / 1.065 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.1e-05/2.025, allocations: 51.97 kB / 1.065 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/2.026, allocations: 0.8096 MB / 1.066 GB, free: 18.15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/2.026, allocations: 3.938 kB / 1.066 GB, free: 18.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/2.026, allocations: 20 kB / 1.066 GB, free: 18.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/2.027, allocations: 44.86 kB / 1.066 GB, free: 18.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/2.027, allocations: 0.6401 MB / 1.067 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/2.031, allocations: 3.666 MB / 1.07 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/2.032, allocations: 413 kB / 1.071 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004863/2.032, allocations: 0.7327 MB / 1.071 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/2.032, allocations: 42.83 kB / 1.071 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.106e-06/2.032, allocations: 0 / 1.071 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002937/2.035, allocations: 1.521 MB / 1.073 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/2.035, allocations: 132.5 kB / 1.073 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/2.036, allocations: 0.5059 MB / 1.074 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/2.036, allocations: 33.7 kB / 1.074 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/2.036, allocations: 351 kB / 1.074 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/2.036, allocations: 169.7 kB / 1.074 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/2.036, allocations: 15.94 kB / 1.074 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000103/2.036, allocations: 370.8 kB / 1.074 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/2.037, allocations: 209.9 kB / 1.075 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/2.037, allocations: 0.5084 MB / 1.075 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/2.038, allocations: 304.6 kB / 1.075 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/2.038, allocations: 4 kB / 1.075 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001383/2.039, allocations: 0.8869 MB / 1.076 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/2.039, allocations: 8 kB / 1.076 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/2.039, allocations: 12 kB / 1.076 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/2.041, allocations: 281.8 kB / 1.077 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/2.041, allocations: 127.8 kB / 1.077 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008366/2.042, allocations: 0.8812 MB / 1.078 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/2.042, allocations: 47.97 kB / 1.078 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/2.043, allocations: 36 kB / 1.078 GB, free: 5.527 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000378/2.043, allocations: 253.5 kB / 1.078 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/2.043, allocations: 75.11 kB / 1.078 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/2.044, allocations: 0.7524 MB / 1.079 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/2.044, allocations: 7.984 kB / 1.079 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/2.044, allocations: 0 / 1.079 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/2.044, allocations: 0 / 1.079 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/2.046, allocations: 1.399 MB / 1.08 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/2.046, allocations: 11.92 kB / 1.08 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000993/2.047, allocations: 207.9 kB / 1.08 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.721e-05/2.047, allocations: 28.78 kB / 1.08 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/2.047, allocations: 8 kB / 1.08 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4375/2.485, allocations: 2.693 MB / 1.083 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/2.485, allocations: 5.375 kB / 1.083 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/2.487, allocations: 1.049 MB / 1.084 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/2.487, allocations: 208.4 kB / 1.084 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.434e-05/2.487, allocations: 17.34 kB / 1.084 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/2.488, allocations: 32.16 kB / 1.084 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/2.488, allocations: 41.31 kB / 1.084 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/2.488, allocations: 21.84 kB / 1.084 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007395/2.489, allocations: 407.8 kB / 1.085 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/2.489, allocations: 2.969 kB / 1.085 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001122/2.49, allocations: 242.6 kB / 1.085 GB, free: 113.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (47): * Single equations (assignments): 43 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002564/2.493, allocations: 2.283 MB / 1.087 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001374/2.494, allocations: 0.5844 MB / 1.088 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/2.494, allocations: 3.75 kB / 1.088 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009538/2.495, allocations: 444.2 kB / 1.088 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/2.497, allocations: 314.8 kB / 1.088 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007838/2.504, allocations: 10.43 MB / 1.099 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/2.505, allocations: 0.9485 MB / 1.1 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008687/2.506, allocations: 215 kB / 1.1 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/2.506, allocations: 235.7 kB / 1.1 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.242e-06/2.506, allocations: 0 / 1.1 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04899/2.555, allocations: 22.05 MB / 1.121 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/2.555, allocations: 277.8 kB / 1.122 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/5.487, allocations: 4 kB / 1.122 GB, free: 102.8 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat