Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.001327/0.001328, allocations: 183.2 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008464/0.0008465, allocations: 96.75 kB / 267.1 MB, free: 9.27 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.5194/0.5194, allocations: 43.48 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.398e-05, allocations: 0 / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1793, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.301/2.481, allocations: 0.8269 GB / 1.3 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/2.481, allocations: 95.22 kB / 1.3 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.936/5.417, allocations: 0.7371 GB / 2.037 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/5.417, allocations: 0 / 2.037 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.074e-05/5.417, allocations: 20.03 kB / 2.037 GB, free: 72.49 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004479/5.421, allocations: 1.379 MB / 2.038 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 9.129e-05/5.421, allocations: 9.969 kB / 2.038 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/5.422, allocations: 125.9 kB / 2.038 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/5.423, allocations: 284.2 kB / 2.039 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/5.425, allocations: 0.6626 MB / 2.039 GB, free: 71.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/5.425, allocations: 116 kB / 2.04 GB, free: 71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/5.425, allocations: 65.5 kB / 2.04 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/5.427, allocations: 1.23 MB / 2.041 GB, free: 70.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/5.427, allocations: 15.41 kB / 2.041 GB, free: 70.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/5.427, allocations: 34.39 kB / 2.041 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-05/5.427, allocations: 67.44 kB / 2.041 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/5.429, allocations: 1.015 MB / 2.042 GB, free: 69.96 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005868/5.434, allocations: 4.843 MB / 2.047 GB, free: 65.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/5.435, allocations: 268.4 kB / 2.047 GB, free: 65.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/5.435, allocations: 135.7 kB / 2.047 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/5.435, allocations: 245 kB / 2.047 GB, free: 65.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/5.435, allocations: 42.16 kB / 2.047 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/5.435, allocations: 0 / 2.047 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.005643/5.441, allocations: 1.604 MB / 2.049 GB, free: 64.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/5.441, allocations: 136.5 kB / 2.049 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/5.442, allocations: 0.8218 MB / 2.05 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/5.442, allocations: 36.27 kB / 2.05 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/5.443, allocations: 0.5585 MB / 2.05 GB, free: 63.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/5.443, allocations: 139.9 kB / 2.05 GB, free: 63.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/5.443, allocations: 19.81 kB / 2.051 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001254/5.443, allocations: 397.5 kB / 2.051 GB, free: 62.65 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/5.443, allocations: 255.1 kB / 2.051 GB, free: 62.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/5.444, allocations: 0.8513 MB / 2.052 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/5.444, allocations: 443.5 kB / 2.052 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/5.444, allocations: 11.94 kB / 2.052 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001604/5.446, allocations: 1.201 MB / 2.054 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/5.446, allocations: 15.95 kB / 2.054 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/5.446, allocations: 28.14 kB / 2.054 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/5.447, allocations: 273.9 kB / 2.054 GB, free: 59.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/5.448, allocations: 199.6 kB / 2.054 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008483/5.449, allocations: 0.9052 MB / 2.055 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/5.45, allocations: 64.03 kB / 2.055 GB, free: 58.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/5.45, allocations: 64 kB / 2.055 GB, free: 58.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.000196/5.45, allocations: 188.3 kB / 2.055 GB, free: 57.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/5.45, allocations: 94.88 kB / 2.055 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008944/5.451, allocations: 469.8 kB / 2.056 GB, free: 57.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/5.451, allocations: 14.19 kB / 2.056 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/5.451, allocations: 0 / 2.056 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/5.451, allocations: 6.188 kB / 2.056 GB, free: 57.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/5.453, allocations: 1.114 MB / 2.057 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/5.453, allocations: 4 kB / 2.057 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/5.454, allocations: 179.8 kB / 2.057 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.043e-05/5.454, allocations: 24.88 kB / 2.057 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/5.454, allocations: 11.98 kB / 2.057 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/5.456, allocations: 2.676 MB / 2.06 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/5.456, allocations: 0 / 2.06 GB, free: 52.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/5.457, allocations: 0.6915 MB / 2.06 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/5.457, allocations: 200 kB / 2.061 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/5.457, allocations: 8 kB / 2.061 GB, free: 52.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/5.458, allocations: 39.91 kB / 2.061 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/5.458, allocations: 27.92 kB / 2.061 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/5.458, allocations: 19.98 kB / 2.061 GB, free: 51.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007569/5.458, allocations: 0.6011 MB / 2.061 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/5.458, allocations: 4 kB / 2.061 GB, free: 51.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002508/5.461, allocations: 0.5308 MB / 2.062 GB, free: 50.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.004488/5.466, allocations: 2.601 MB / 2.064 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001635/5.467, allocations: 0.6539 MB / 2.065 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/5.467, allocations: 4.453 kB / 2.065 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/5.468, allocations: 354.5 kB / 2.065 GB, free: 47.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/5.471, allocations: 412.3 kB / 2.066 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/5.474, allocations: 1.47 MB / 2.067 GB, free: 45.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/5.475, allocations: 1.04 MB / 2.068 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001107/5.476, allocations: 316.9 kB / 2.068 GB, free: 44.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/5.477, allocations: 311.3 kB / 2.069 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.224e-06/5.477, allocations: 3.5 kB / 2.069 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4311/5.908, allocations: 46.97 MB / 2.115 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/5.908, allocations: 279.9 kB / 2.115 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.898/9.806, allocations: 0 / 2.115 GB, free: 75.26 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat