Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001628/0.001629, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.0008719, allocations: 96.3 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 45.16 MB / 383.8 MB, free: 284 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.765e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1354, allocations: 63.24 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.33, allocations: 430.8 MB / 0.9252 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.331, allocations: 94.44 kB / 0.9253 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6961/2.027, allocations: 134.9 MB / 1.057 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.715e-06/2.027, allocations: 0 / 1.057 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.818e-05/2.027, allocations: 20 kB / 1.057 GB, free: 110.3 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.002801/2.03, allocations: 0.9078 MB / 1.058 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/2.03, allocations: 12.02 kB / 1.058 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006354/2.03, allocations: 91.78 kB / 1.058 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/2.032, allocations: 0.5504 MB / 1.059 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/2.032, allocations: 80.72 kB / 1.059 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/2.032, allocations: 28 kB / 1.059 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/2.033, allocations: 0.5531 MB / 1.059 GB, free: 108 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/2.035, allocations: 0.7315 MB / 1.06 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/2.035, allocations: 7.922 kB / 1.06 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/2.035, allocations: 4 kB / 1.06 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/2.035, allocations: 41.28 kB / 1.06 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004643/2.039, allocations: 3.79 MB / 1.064 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/2.04, allocations: 319.5 kB / 1.064 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/2.04, allocations: 161.4 kB / 1.064 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003427/2.041, allocations: 0.4989 MB / 1.065 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/2.041, allocations: 38.84 kB / 1.065 GB, free: 102 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/2.041, allocations: 0 / 1.065 GB, free: 102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.003502/2.044, allocations: 1.292 MB / 1.066 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/2.044, allocations: 136.5 kB / 1.066 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/2.045, allocations: 442 kB / 1.066 GB, free: 100 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/2.045, allocations: 25.7 kB / 1.067 GB, free: 99.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/2.045, allocations: 383 kB / 1.067 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/2.045, allocations: 145.9 kB / 1.067 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/2.045, allocations: 4 kB / 1.067 GB, free: 99.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001145/2.045, allocations: 362.8 kB / 1.067 GB, free: 99.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/2.046, allocations: 193.5 kB / 1.068 GB, free: 98.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/2.046, allocations: 486.9 kB / 1.068 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007539/2.047, allocations: 316.5 kB / 1.068 GB, free: 97.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/2.047, allocations: 4 kB / 1.068 GB, free: 97.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002021/2.049, allocations: 0.8596 MB / 1.069 GB, free: 97.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/2.049, allocations: 8 kB / 1.069 GB, free: 97.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/2.049, allocations: 16.06 kB / 1.069 GB, free: 97.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000978/2.05, allocations: 238.3 kB / 1.069 GB, free: 96.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/2.05, allocations: 119.8 kB / 1.07 GB, free: 96.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00096/2.051, allocations: 0.8957 MB / 1.07 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/2.052, allocations: 43.89 kB / 1.07 GB, free: 95.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/2.052, allocations: 32 kB / 1.07 GB, free: 95.73 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 () * 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.000224/2.052, allocations: 138.8 kB / 1.071 GB, free: 95.59 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000978/2.053, allocations: 0.5147 MB / 1.071 GB, free: 95.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/2.054, allocations: 67.2 kB / 1.071 GB, free: 94.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/2.055, allocations: 0.6265 MB / 1.072 GB, free: 94.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/2.055, allocations: 7.984 kB / 1.072 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/2.055, allocations: 4 kB / 1.072 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/2.055, allocations: 0 / 1.072 GB, free: 94.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/2.057, allocations: 1.527 MB / 1.073 GB, free: 92.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/2.057, allocations: 4 kB / 1.073 GB, free: 92.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009328/2.058, allocations: 192 kB / 1.073 GB, free: 92.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-05/2.058, allocations: 24.84 kB / 1.074 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/2.058, allocations: 15.98 kB / 1.074 GB, free: 92.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/2.06, allocations: 2.577 MB / 1.076 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/2.06, allocations: 3.953 kB / 1.076 GB, free: 89.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/2.061, allocations: 0.9895 MB / 1.077 GB, free: 88.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/2.061, allocations: 204.2 kB / 1.077 GB, free: 88.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/2.061, allocations: 8.062 kB / 1.077 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/2.062, allocations: 23.84 kB / 1.077 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/2.062, allocations: 35.89 kB / 1.077 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/2.062, allocations: 27.97 kB / 1.077 GB, free: 88.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004308/2.063, allocations: 326.9 kB / 1.078 GB, free: 87.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.063, allocations: 0 / 1.078 GB, free: 87.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001114/2.064, allocations: 219.9 kB / 1.078 GB, free: 87.69 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * 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.002349/2.066, allocations: 2.216 MB / 1.08 GB, free: 85.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001052/2.067, allocations: 0.5107 MB / 1.08 GB, free: 84.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/2.067, allocations: 8.062 kB / 1.08 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008554/2.068, allocations: 397.5 kB / 1.081 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/2.069, allocations: 271.3 kB / 1.081 GB, free: 84.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/2.072, allocations: 1.109 MB / 1.082 GB, free: 83.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/2.073, allocations: 0.9497 MB / 1.083 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007558/2.073, allocations: 192.5 kB / 1.083 GB, free: 81.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/2.074, allocations: 239.2 kB / 1.084 GB, free: 81.68 MB / 0.5261 GB Notification: Performance of SimCode: time 9.71e-07/2.074, allocations: 0 / 1.084 GB, free: 81.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05322/2.127, allocations: 18.61 MB / 1.102 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/2.127, allocations: 196 kB / 1.102 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/4.956, allocations: 0 / 1.102 GB, free: 62.97 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat