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.001083/0.001083, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 225.4 MB / 240.1 MB, free: 15.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008722/0.0008723, allocations: 95.05 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 45.15 MB / 389.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.87e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 63.25 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8864/1.004, allocations: 431.5 MB / 0.9329 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.005, allocations: 89.83 kB / 0.9329 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4961/1.501, allocations: 136 MB / 1.066 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.603e-06/1.501, allocations: 0 / 1.066 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.496e-05/1.501, allocations: 19.98 kB / 1.066 GB, free: 92.89 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.001494/1.502, allocations: 0.9041 MB / 1.067 GB, free: 91.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.502, allocations: 12.03 kB / 1.067 GB, free: 91.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.09e-05/1.502, allocations: 98.52 kB / 1.067 GB, free: 91.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/1.503, allocations: 87.83 kB / 1.067 GB, free: 91.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/1.504, allocations: 0.5481 MB / 1.067 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/1.504, allocations: 100.4 kB / 1.067 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/1.504, allocations: 51.98 kB / 1.068 GB, free: 90.99 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009648/1.505, allocations: 0.8022 MB / 1.068 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.505, allocations: 3.938 kB / 1.068 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/1.505, allocations: 20 kB / 1.068 GB, free: 90.09 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/1.505, allocations: 36.98 kB / 1.068 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007401/1.506, allocations: 0.6206 MB / 1.069 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/1.509, allocations: 3.671 MB / 1.073 GB, free: 85.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/1.509, allocations: 403.3 kB / 1.073 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/1.51, allocations: 197.5 kB / 1.073 GB, free: 84.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/1.51, allocations: 0.7327 MB / 1.074 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/1.51, allocations: 38.89 kB / 1.074 GB, free: 84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 1.864e-06/1.51, allocations: 0 / 1.074 GB, free: 84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.002194/1.512, allocations: 1.363 MB / 1.075 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/1.512, allocations: 136.5 kB / 1.075 GB, free: 82.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/1.513, allocations: 0.4892 MB / 1.076 GB, free: 81.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/1.513, allocations: 37.7 kB / 1.076 GB, free: 81.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/1.513, allocations: 355 kB / 1.076 GB, free: 81.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.16e-05/1.513, allocations: 169.7 kB / 1.076 GB, free: 81.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/1.513, allocations: 8 kB / 1.076 GB, free: 81.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/1.513, allocations: 374.8 kB / 1.077 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/1.513, allocations: 209.4 kB / 1.077 GB, free: 80.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/1.514, allocations: 0.4985 MB / 1.077 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/1.514, allocations: 300.7 kB / 1.078 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.514, allocations: 0 / 1.078 GB, free: 79.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00116/1.515, allocations: 0.8863 MB / 1.079 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.515, allocations: 8 kB / 1.079 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.515, allocations: 8 kB / 1.079 GB, free: 78.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/1.517, allocations: 282.5 kB / 1.079 GB, free: 78.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/1.517, allocations: 119.8 kB / 1.079 GB, free: 78.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006801/1.518, allocations: 0.88 MB / 1.08 GB, free: 77.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/1.518, allocations: 51.95 kB / 1.08 GB, free: 77.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/1.518, allocations: 39.98 kB / 1.08 GB, free: 77.53 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.0001216/1.518, allocations: 151.3 kB / 1.08 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/1.518, allocations: 63.25 kB / 1.08 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009465/1.519, allocations: 0.755 MB / 1.081 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.519, allocations: 8 kB / 1.081 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.519, allocations: 0 / 1.081 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.519, allocations: 3.984 kB / 1.081 GB, free: 76.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/1.521, allocations: 1.384 MB / 1.082 GB, free: 75.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.521, allocations: 8.031 kB / 1.082 GB, free: 75.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009333/1.522, allocations: 203.8 kB / 1.082 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.851e-05/1.522, allocations: 28.8 kB / 1.082 GB, free: 74.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.522, allocations: 8 kB / 1.082 GB, free: 74.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001244/1.523, allocations: 2.688 MB / 1.085 GB, free: 71.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.523, allocations: 4.031 kB / 1.085 GB, free: 71.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/1.524, allocations: 1.045 MB / 1.086 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/1.524, allocations: 204.2 kB / 1.086 GB, free: 70.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.242e-05/1.524, allocations: 12 kB / 1.086 GB, free: 70.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/1.525, allocations: 32.03 kB / 1.086 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/1.525, allocations: 39.95 kB / 1.086 GB, free: 70.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/1.525, allocations: 19.98 kB / 1.086 GB, free: 70.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003629/1.525, allocations: 407 kB / 1.087 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.092e-06/1.525, allocations: 0 / 1.087 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007871/1.526, allocations: 247.9 kB / 1.087 GB, free: 69.73 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 (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.001603/1.528, allocations: 2.267 MB / 1.089 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009025/1.529, allocations: 0.572 MB / 1.09 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.529, allocations: 0 / 1.09 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008103/1.53, allocations: 438.2 kB / 1.09 GB, free: 66.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/1.531, allocations: 336.1 kB / 1.091 GB, free: 66.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/1.532, allocations: 1.173 MB / 1.092 GB, free: 64.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.533, allocations: 0.9466 MB / 1.093 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005684/1.533, allocations: 202.7 kB / 1.093 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/1.534, allocations: 243.3 kB / 1.093 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/1.534, allocations: 0 / 1.093 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/1.566, allocations: 22.28 MB / 1.115 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.566, allocations: 242.2 kB / 1.115 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/4.149, allocations: 0 / 1.115 GB, free: 41.1 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