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.001869/0.001869, 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.477/1.477, allocations: 227.2 MB / 245 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009556/0.0009556, allocations: 104.8 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4712/0.4712, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 8 kB / 468.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4062, allocations: 63.25 MB / 0.5193 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.735, allocations: 431.6 MB / 0.9407 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003721/1.736, allocations: 101.8 kB / 0.9408 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2896/2.025, allocations: 136.5 MB / 1.074 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.946e-06/2.026, allocations: 0 / 1.074 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.962e-05/2.026, allocations: 27.98 kB / 1.074 GB, free: 31.15 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003099/2.029, allocations: 0.9797 MB / 1.075 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/2.029, allocations: 8.031 kB / 1.075 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003379/2.029, allocations: 106.4 kB / 1.075 GB, free: 30 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005359/2.03, allocations: 91.09 kB / 1.075 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/2.031, allocations: 0.5404 MB / 1.076 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/2.031, allocations: 100.4 kB / 1.076 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/2.031, allocations: 48 kB / 1.076 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/2.033, allocations: 0.8107 MB / 1.077 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/2.033, allocations: 3.938 kB / 1.077 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.831e-05/2.033, allocations: 27.98 kB / 1.077 GB, free: 28.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/2.033, allocations: 36.98 kB / 1.077 GB, free: 28.23 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008774/2.034, allocations: 0.6478 MB / 1.077 GB, free: 27.58 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/2.038, allocations: 3.669 MB / 1.081 GB, free: 23.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/2.038, allocations: 404.1 kB / 1.081 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/2.039, allocations: 0.7366 MB / 1.082 GB, free: 22.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/2.039, allocations: 46.83 kB / 1.082 GB, free: 22.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 3.036e-06/2.039, allocations: 0 / 1.082 GB, free: 22.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.003052/2.042, allocations: 1.529 MB / 1.084 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/2.042, allocations: 136.5 kB / 1.084 GB, free: 20.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005289/2.043, allocations: 0.4943 MB / 1.084 GB, free: 20.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/2.043, allocations: 37.7 kB / 1.084 GB, free: 20.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/2.043, allocations: 354.9 kB / 1.085 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/2.043, allocations: 161.7 kB / 1.085 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/2.043, allocations: 16 kB / 1.085 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001126/2.043, allocations: 374.8 kB / 1.085 GB, free: 19.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/2.043, allocations: 213.9 kB / 1.085 GB, free: 18.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/2.044, allocations: 0.5006 MB / 1.086 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/2.044, allocations: 300.5 kB / 1.086 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/2.044, allocations: 4 kB / 1.086 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00133/2.046, allocations: 0.8944 MB / 1.087 GB, free: 17.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/2.046, allocations: 15.39 kB / 1.087 GB, free: 17.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/2.046, allocations: 12 kB / 1.087 GB, free: 17.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/2.047, allocations: 284.8 kB / 1.087 GB, free: 16.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/2.048, allocations: 119.8 kB / 1.087 GB, free: 16.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00086/2.048, allocations: 0.8762 MB / 1.088 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/2.049, allocations: 55.94 kB / 1.088 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/2.049, allocations: 32 kB / 1.088 GB, free: 15.66 MB / 0.5417 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.0003447/2.049, allocations: 253.4 kB / 1.089 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.885e-05/2.05, allocations: 67.25 kB / 1.089 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/2.051, allocations: 0.76 MB / 1.089 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/2.051, allocations: 7.984 kB / 1.089 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/2.051, allocations: 0 / 1.089 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/2.051, allocations: 3.938 kB / 1.089 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/2.053, allocations: 1.395 MB / 1.091 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/2.053, allocations: 4.234 kB / 1.091 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/2.054, allocations: 207.7 kB / 1.091 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-05/2.054, allocations: 24.84 kB / 1.091 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/2.054, allocations: 12 kB / 1.091 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/2.055, allocations: 2.7 MB / 1.094 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.055, allocations: 4.031 kB / 1.094 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/2.057, allocations: 1.057 MB / 1.095 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/2.057, allocations: 204.3 kB / 1.095 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/2.057, allocations: 8 kB / 1.095 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/2.058, allocations: 43.88 kB / 1.095 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/2.058, allocations: 39.84 kB / 1.095 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/2.058, allocations: 23.98 kB / 1.095 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000497/2.058, allocations: 407 kB / 1.095 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/2.058, allocations: 4 kB / 1.095 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001137/2.059, allocations: 243.9 kB / 1.096 GB, free: 7.691 MB / 0.5417 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.002463/2.062, allocations: 2.281 MB / 1.098 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001255/2.063, allocations: 0.5876 MB / 1.098 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/2.063, allocations: 0 / 1.098 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009318/2.064, allocations: 446.4 kB / 1.099 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/2.066, allocations: 324.6 kB / 1.099 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3846/2.45, allocations: 10.41 MB / 1.109 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008057/2.451, allocations: 0.9522 MB / 1.11 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001061/2.452, allocations: 198.3 kB / 1.11 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/2.453, allocations: 238.5 kB / 1.111 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.453e-06/2.453, allocations: 0 / 1.111 GB, free: 123.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/2.512, allocations: 22.08 MB / 1.132 GB, free: 123 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/2.512, allocations: 270.3 kB / 1.133 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/5.466, allocations: 0 / 1.133 GB, free: 122.6 MB / 0.5417 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