Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 183.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001157, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2901/0.2901, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.000518, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 58.86 MB / 490.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.233, allocations: 429.7 MB / 0.8985 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/1.234, allocations: 97.5 kB / 0.8986 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5486/1.783, allocations: 134 MB / 1.029 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/1.783, allocations: 0 / 1.029 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.894e-05/1.783, allocations: 12 kB / 1.029 GB, free: 94.38 MB / 0.5105 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.002739/1.785, allocations: 0.9859 MB / 1.03 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.786, allocations: 8.031 kB / 1.03 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003097/1.786, allocations: 102.5 kB / 1.031 GB, free: 93.22 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/1.786, allocations: 91.73 kB / 1.031 GB, free: 93.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.788, allocations: 0.5404 MB / 1.031 GB, free: 92.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.836e-05/1.788, allocations: 100.4 kB / 1.031 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/1.788, allocations: 55.97 kB / 1.031 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/1.789, allocations: 0.8101 MB / 1.032 GB, free: 91.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/1.789, allocations: 3.938 kB / 1.032 GB, free: 91.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/1.789, allocations: 20 kB / 1.032 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.713e-05/1.789, allocations: 36.98 kB / 1.032 GB, free: 91.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/1.79, allocations: 0.6478 MB / 1.033 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004656/1.795, allocations: 3.679 MB / 1.036 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007405/1.796, allocations: 416.1 kB / 1.037 GB, free: 86.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/1.796, allocations: 0.7366 MB / 1.037 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.796, allocations: 38.89 kB / 1.038 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.667e-06/1.796, allocations: 0 / 1.038 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004065/1.801, allocations: 1.525 MB / 1.039 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/1.801, allocations: 144.5 kB / 1.039 GB, free: 83.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/1.801, allocations: 0.4943 MB / 1.04 GB, free: 83.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/1.802, allocations: 33.7 kB / 1.04 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/1.802, allocations: 355 kB / 1.04 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/1.802, allocations: 165.7 kB / 1.04 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/1.802, allocations: 16 kB / 1.04 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.802, allocations: 370.8 kB / 1.041 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/1.802, allocations: 209.9 kB / 1.041 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/1.803, allocations: 0.5045 MB / 1.041 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/1.803, allocations: 307.8 kB / 1.042 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.803, allocations: 4 kB / 1.042 GB, free: 81.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001511/1.805, allocations: 0.8907 MB / 1.042 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.805, allocations: 8 kB / 1.042 GB, free: 80.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.805, allocations: 12 kB / 1.042 GB, free: 80.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/1.806, allocations: 287.6 kB / 1.043 GB, free: 79.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/1.807, allocations: 123.8 kB / 1.043 GB, free: 79.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00084/1.808, allocations: 0.884 MB / 1.044 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/1.808, allocations: 40.02 kB / 1.044 GB, free: 78.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/1.809, allocations: 39.98 kB / 1.044 GB, free: 78.86 MB / 0.5105 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.000355/1.809, allocations: 253.5 kB / 1.044 GB, free: 78.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/1.809, allocations: 71.11 kB / 1.044 GB, free: 78.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.81, allocations: 0.7489 MB / 1.045 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.81, allocations: 4 kB / 1.045 GB, free: 77.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.81, allocations: 7.984 kB / 1.045 GB, free: 77.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.81, allocations: 0 / 1.045 GB, free: 77.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/1.812, allocations: 1.387 MB / 1.046 GB, free: 76.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.812, allocations: 4 kB / 1.046 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.813, allocations: 207.9 kB / 1.046 GB, free: 76.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.271e-05/1.813, allocations: 28.8 kB / 1.046 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/1.813, allocations: 8 kB / 1.046 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/1.815, allocations: 2.711 MB / 1.049 GB, free: 73.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.815, allocations: 0 / 1.049 GB, free: 73.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.816, allocations: 1.064 MB / 1.05 GB, free: 71.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/1.816, allocations: 208.2 kB / 1.05 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.816, allocations: 12 kB / 1.05 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/1.817, allocations: 31.91 kB / 1.05 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/1.817, allocations: 39.95 kB / 1.05 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/1.817, allocations: 23.98 kB / 1.05 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004379/1.818, allocations: 411 kB / 1.051 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/1.818, allocations: 0 / 1.051 GB, free: 71.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009747/1.819, allocations: 247.8 kB / 1.051 GB, free: 70.9 MB / 0.5105 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.002083/1.821, allocations: 2.257 MB / 1.053 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001141/1.822, allocations: 0.5833 MB / 1.054 GB, free: 67.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.822, allocations: 4.312 kB / 1.054 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008952/1.823, allocations: 450 kB / 1.054 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.824, allocations: 327.4 kB / 1.055 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006992/1.831, allocations: 10.42 MB / 1.065 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/1.832, allocations: 0.9464 MB / 1.066 GB, free: 55.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008061/1.832, allocations: 205.8 kB / 1.066 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/1.833, allocations: 239.3 kB / 1.066 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/1.833, allocations: 0 / 1.066 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/1.872, allocations: 22.03 MB / 1.088 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.872, allocations: 281.3 kB / 1.088 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/4.646, allocations: 0 / 1.088 GB, free: 32.73 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat