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.001175/0.001175, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.001/2.001, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 90.62 kB / 261.8 MB, free: 1.676 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.2496/0.2496, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.428e-05, allocations: 4 kB / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 58.85 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.278, allocations: 428.9 MB / 0.8849 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.278, allocations: 98.5 kB / 0.885 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5824/1.86, allocations: 132.4 MB / 1.014 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.635e-06/1.86, allocations: 0 / 1.014 GB, free: 85.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.63e-05/1.86, allocations: 19.94 kB / 1.014 GB, free: 85.3 MB / 0.4948 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.001581/1.862, allocations: 0.9035 MB / 1.015 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.862, allocations: 8.031 kB / 1.015 GB, free: 84.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/1.862, allocations: 83.84 kB / 1.015 GB, free: 84.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/1.863, allocations: 0.5542 MB / 1.016 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/1.863, allocations: 84.72 kB / 1.016 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-05/1.863, allocations: 28 kB / 1.016 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007776/1.864, allocations: 0.5492 MB / 1.017 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008687/1.865, allocations: 0.7314 MB / 1.017 GB, free: 82.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/1.865, allocations: 7.938 kB / 1.017 GB, free: 82.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/1.865, allocations: 4 kB / 1.017 GB, free: 82.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/1.865, allocations: 41.28 kB / 1.017 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/1.869, allocations: 3.794 MB / 1.021 GB, free: 78.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/1.869, allocations: 323.4 kB / 1.021 GB, free: 77.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.87, allocations: 157.4 kB / 1.021 GB, free: 77.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/1.87, allocations: 0.4988 MB / 1.022 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/1.87, allocations: 42.84 kB / 1.022 GB, free: 77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.472e-06/1.87, allocations: 0 / 1.022 GB, free: 77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.002892/1.873, allocations: 1.288 MB / 1.023 GB, free: 75.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.873, allocations: 132.5 kB / 1.023 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/1.873, allocations: 450 kB / 1.024 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/1.873, allocations: 29.7 kB / 1.024 GB, free: 75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/1.874, allocations: 375.2 kB / 1.024 GB, free: 74.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/1.874, allocations: 137.9 kB / 1.024 GB, free: 74.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/1.874, allocations: 0 / 1.024 GB, free: 74.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/1.874, allocations: 370.8 kB / 1.025 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/1.874, allocations: 189.5 kB / 1.025 GB, free: 73.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/1.874, allocations: 494.3 kB / 1.025 GB, free: 73.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/1.875, allocations: 312.5 kB / 1.026 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.875, allocations: 4 kB / 1.026 GB, free: 73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001696/1.877, allocations: 0.8667 MB / 1.026 GB, free: 72.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.877, allocations: 12.62 kB / 1.026 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/1.877, allocations: 8 kB / 1.026 GB, free: 72.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009048/1.878, allocations: 232 kB / 1.027 GB, free: 71.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/1.878, allocations: 131.8 kB / 1.027 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008096/1.879, allocations: 0.888 MB / 1.028 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/1.879, allocations: 47.83 kB / 1.028 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/1.879, allocations: 40 kB / 1.028 GB, free: 70.75 MB / 0.4948 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.000139/1.88, allocations: 132.8 kB / 1.028 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008758/1.88, allocations: 0.5107 MB / 1.028 GB, free: 70.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/1.881, allocations: 63.3 kB / 1.028 GB, free: 70.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/1.882, allocations: 0.6397 MB / 1.029 GB, free: 69.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.882, allocations: 7.984 kB / 1.029 GB, free: 69.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.882, allocations: 0 / 1.029 GB, free: 69.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.882, allocations: 0 / 1.029 GB, free: 69.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/1.883, allocations: 1.524 MB / 1.031 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.883, allocations: 0 / 1.031 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009722/1.884, allocations: 195.8 kB / 1.031 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/1.885, allocations: 29.03 kB / 1.031 GB, free: 67.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.885, allocations: 7.984 kB / 1.031 GB, free: 67.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/1.886, allocations: 2.569 MB / 1.033 GB, free: 64.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.886, allocations: 12.17 kB / 1.033 GB, free: 64.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/1.887, allocations: 0.9893 MB / 1.034 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/1.887, allocations: 200.3 kB / 1.035 GB, free: 63.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/1.887, allocations: 7.938 kB / 1.035 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/1.888, allocations: 27.94 kB / 1.035 GB, free: 63.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/1.888, allocations: 35.94 kB / 1.035 GB, free: 63.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/1.888, allocations: 23.97 kB / 1.035 GB, free: 63.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003605/1.888, allocations: 326.9 kB / 1.035 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.888, allocations: 4 kB / 1.035 GB, free: 62.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008899/1.889, allocations: 219.9 kB / 1.035 GB, free: 62.72 MB / 0.4948 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.00192/1.891, allocations: 2.206 MB / 1.037 GB, free: 60.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008677/1.892, allocations: 0.5081 MB / 1.038 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.892, allocations: 0 / 1.038 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008059/1.893, allocations: 410 kB / 1.038 GB, free: 59.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.894, allocations: 270.5 kB / 1.038 GB, free: 59.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/1.897, allocations: 1.107 MB / 1.04 GB, free: 58.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/1.897, allocations: 0.9497 MB / 1.04 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007062/1.898, allocations: 201.2 kB / 1.041 GB, free: 56.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/1.898, allocations: 227.4 kB / 1.041 GB, free: 56.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.593e-06/1.898, allocations: 0 / 1.041 GB, free: 56.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04688/1.945, allocations: 18.61 MB / 1.059 GB, free: 38.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/1.945, allocations: 190.7 kB / 1.059 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/4.686, allocations: 0 / 1.059 GB, free: 37.93 MB / 0.4948 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