Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001606/0.001611, allocations: 186.7 kB / 16.4 MB, free: 5.75 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.071/2.071, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001175/0.001175, allocations: 92.38 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5374/0.5374, allocations: 43.55 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006721/0.0006722, allocations: 12 kB / 431.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1392, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.681/1.82, allocations: 429.7 MB / 0.8985 GB, free: 146 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/1.82, allocations: 95.12 kB / 0.8985 GB, free: 146 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4462/2.267, allocations: 134 MB / 1.029 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.405e-06/2.267, allocations: 0 / 1.029 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.147e-05/2.267, allocations: 12 kB / 1.029 GB, free: 49.31 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.002826/2.27, allocations: 0.9829 MB / 1.03 GB, free: 48.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/2.27, allocations: 8.031 kB / 1.03 GB, free: 48.27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/2.27, allocations: 102 kB / 1.031 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/2.27, allocations: 87.14 kB / 1.031 GB, free: 48.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/2.272, allocations: 0.5404 MB / 1.031 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/2.272, allocations: 104.4 kB / 1.031 GB, free: 47.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/2.272, allocations: 51.98 kB / 1.031 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/2.274, allocations: 0.8067 MB / 1.032 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/2.274, allocations: 3.938 kB / 1.032 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/2.274, allocations: 23.98 kB / 1.032 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/2.274, allocations: 44.97 kB / 1.032 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/2.276, allocations: 0.6361 MB / 1.033 GB, free: 45.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006107/2.282, allocations: 3.678 MB / 1.036 GB, free: 41.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/2.283, allocations: 400.1 kB / 1.037 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/2.284, allocations: 0.7327 MB / 1.037 GB, free: 40.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/2.284, allocations: 46.89 kB / 1.037 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.476e-06/2.284, allocations: 0 / 1.037 GB, free: 40.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004763/2.288, allocations: 1.522 MB / 1.039 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/2.289, allocations: 140.5 kB / 1.039 GB, free: 38.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/2.289, allocations: 0.4942 MB / 1.04 GB, free: 38.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/2.29, allocations: 41.64 kB / 1.04 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/2.29, allocations: 385.5 kB / 1.04 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/2.29, allocations: 161.7 kB / 1.04 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.702e-05/2.29, allocations: 19.94 kB / 1.04 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/2.29, allocations: 342.8 kB / 1.04 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/2.291, allocations: 205.9 kB / 1.041 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/2.291, allocations: 0.5006 MB / 1.041 GB, free: 36.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00076/2.292, allocations: 305 kB / 1.041 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/2.292, allocations: 4 kB / 1.041 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002326/2.295, allocations: 0.8594 MB / 1.042 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/2.295, allocations: 11.95 kB / 1.042 GB, free: 35.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/2.295, allocations: 12 kB / 1.042 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/2.297, allocations: 277.2 kB / 1.043 GB, free: 34.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/2.298, allocations: 131.8 kB / 1.043 GB, free: 34.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/2.299, allocations: 0.8831 MB / 1.044 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/2.3, allocations: 47.95 kB / 1.044 GB, free: 33.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/2.3, allocations: 39.98 kB / 1.044 GB, free: 33.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.0005138/2.301, allocations: 241.6 kB / 1.044 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/2.301, allocations: 67.25 kB / 1.044 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/2.303, allocations: 0.7683 MB / 1.045 GB, free: 32.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/2.303, allocations: 4 kB / 1.045 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/2.303, allocations: 0 / 1.045 GB, free: 32.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/2.303, allocations: 7.984 kB / 1.045 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/2.306, allocations: 1.399 MB / 1.046 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/2.306, allocations: 4 kB / 1.046 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/2.308, allocations: 199.8 kB / 1.046 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/2.308, allocations: 24.84 kB / 1.046 GB, free: 31.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/2.308, allocations: 15.98 kB / 1.046 GB, free: 31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/2.31, allocations: 2.696 MB / 1.049 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/2.31, allocations: 4.031 kB / 1.049 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/2.313, allocations: 1.068 MB / 1.05 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/2.313, allocations: 200.3 kB / 1.05 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/2.313, allocations: 12 kB / 1.05 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/2.314, allocations: 39.89 kB / 1.05 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/2.314, allocations: 35.91 kB / 1.05 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-05/2.314, allocations: 27.97 kB / 1.05 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006779/2.315, allocations: 403 kB / 1.051 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/2.315, allocations: 0 / 1.051 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001254/2.316, allocations: 243.9 kB / 1.051 GB, free: 25.91 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.003027/2.319, allocations: 2.285 MB / 1.053 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001863/2.321, allocations: 0.5759 MB / 1.054 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/2.321, allocations: 4 kB / 1.054 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/2.323, allocations: 430.1 kB / 1.054 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/2.325, allocations: 326.6 kB / 1.054 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009912/2.335, allocations: 10.46 MB / 1.065 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/2.336, allocations: 0.9503 MB / 1.066 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/2.336, allocations: 247.3 kB / 1.066 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/2.336, allocations: 4 kB / 1.066 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.702/6.038, allocations: 18.69 MB / 1.084 GB, free: 108.3 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat