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.002336/0.002335, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 95.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3033/0.3033, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.848e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4198, allocations: 58.86 MB / 477.2 MB, free: 5.188 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.681, allocations: 428.9 MB / 0.8849 GB, free: 128.4 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/1.682, allocations: 93.62 kB / 0.885 GB, free: 128.4 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.4442/2.126, allocations: 132.4 MB / 1.014 GB, free: 4.348 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.235e-06/2.126, allocations: 0 / 1.014 GB, free: 4.348 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.704e-05/2.126, allocations: 16.44 kB / 1.014 GB, free: 4.332 MB / 0.4952 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.002672/2.129, allocations: 0.9084 MB / 1.015 GB, free: 3.375 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/2.129, allocations: 8.031 kB / 1.015 GB, free: 3.367 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000612/2.129, allocations: 95 kB / 1.015 GB, free: 3.273 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/2.131, allocations: 0.5429 MB / 1.016 GB, free: 2.691 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/2.131, allocations: 88.7 kB / 1.016 GB, free: 2.594 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/2.131, allocations: 28 kB / 1.016 GB, free: 2.566 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/2.133, allocations: 0.5492 MB / 1.017 GB, free: 2.016 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/2.134, allocations: 0.7354 MB / 1.017 GB, free: 1.207 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/2.134, allocations: 7.875 kB / 1.017 GB, free: 1.199 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/2.134, allocations: 4 kB / 1.017 GB, free: 1.195 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.423e-05/2.135, allocations: 37.3 kB / 1.017 GB, free: 1.16 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3685/2.503, allocations: 3.795 MB / 1.021 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/2.505, allocations: 319.5 kB / 1.021 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/2.505, allocations: 163.5 kB / 1.021 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006574/2.506, allocations: 0.4938 MB / 1.022 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/2.506, allocations: 40.8 kB / 1.022 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=34): time 4.999e-06/2.506, allocations: 1.75 kB / 1.022 GB, free: 110.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39): time 0.00845/2.514, allocations: 1.289 MB / 1.023 GB, free: 110.3 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/2.515, allocations: 135.8 kB / 1.023 GB, free: 110.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/2.516, allocations: 447.9 kB / 1.024 GB, free: 110.1 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/2.516, allocations: 26.89 kB / 1.024 GB, free: 110 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/2.516, allocations: 422.4 kB / 1.024 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/2.517, allocations: 132.6 kB / 1.024 GB, free: 109.7 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/2.517, allocations: 0 / 1.024 GB, free: 109.7 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001333/2.517, allocations: 347.9 kB / 1.025 GB, free: 109.4 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000744/2.518, allocations: 189.1 kB / 1.025 GB, free: 109.4 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/2.519, allocations: 487.9 kB / 1.025 GB, free: 109.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/2.521, allocations: 320 kB / 1.026 GB, free: 109.1 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/2.521, allocations: 2.375 kB / 1.026 GB, free: 109.1 MB / 0.4952 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005621/2.526, allocations: 0.8278 MB / 1.026 GB, free: 109 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/2.527, allocations: 11.88 kB / 1.026 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/2.527, allocations: 9.5 kB / 1.026 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/2.529, allocations: 232 kB / 1.027 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/2.53, allocations: 125.6 kB / 1.027 GB, free: 109 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/2.533, allocations: 0.9072 MB / 1.028 GB, free: 108.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/2.535, allocations: 34.92 kB / 1.028 GB, free: 108.4 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/2.535, allocations: 35.36 kB / 1.028 GB, free: 108.4 MB / 0.4952 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.0004266/2.536, allocations: 132.2 kB / 1.028 GB, free: 108.3 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002312/2.538, allocations: 0.5205 MB / 1.028 GB, free: 108.2 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/2.538, allocations: 62.86 kB / 1.028 GB, free: 108.1 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/2.541, allocations: 0.6342 MB / 1.029 GB, free: 108 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/2.541, allocations: 6.641 kB / 1.029 GB, free: 108 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/2.541, allocations: 2.469 kB / 1.029 GB, free: 108 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/2.541, allocations: 2.25 kB / 1.029 GB, free: 108 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/2.545, allocations: 1.522 MB / 1.031 GB, free: 107.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/2.545, allocations: 5.297 kB / 1.031 GB, free: 107.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/2.547, allocations: 198.3 kB / 1.031 GB, free: 107.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/2.547, allocations: 23 kB / 1.031 GB, free: 107.3 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/2.547, allocations: 16.2 kB / 1.031 GB, free: 107.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/2.549, allocations: 2.576 MB / 1.033 GB, free: 104.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/2.549, allocations: 2.594 kB / 1.033 GB, free: 104.8 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/2.552, allocations: 0.9921 MB / 1.034 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/2.552, allocations: 196.7 kB / 1.034 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/2.553, allocations: 3.422 kB / 1.034 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/2.553, allocations: 23.88 kB / 1.034 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/2.553, allocations: 38.67 kB / 1.035 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.372e-05/2.554, allocations: 26.77 kB / 1.035 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0006182/2.554, allocations: 322.8 kB / 1.035 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.824e-06/2.554, allocations: 0 / 1.035 GB, free: 104.2 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001507/2.556, allocations: 227.7 kB / 1.035 GB, free: 104.2 MB / 0.4952 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.003519/2.559, allocations: 2.208 MB / 1.037 GB, free: 102.8 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001838/2.561, allocations: 0.516 MB / 1.038 GB, free: 102.8 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.561, allocations: 2.594 kB / 1.038 GB, free: 102.8 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/2.563, allocations: 395.5 kB / 1.038 GB, free: 102.7 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/2.565, allocations: 273.3 kB / 1.038 GB, free: 102.7 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/2.569, allocations: 1.14 MB / 1.039 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/2.57, allocations: 0.9469 MB / 1.04 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/2.57, allocations: 241 kB / 1.041 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of SimCode: time 1.002e-06/2.57, allocations: 1.094 kB / 1.041 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.582/6.152, allocations: 17.98 MB / 1.058 GB, free: 101.1 MB / 0.4952 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