Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 177.1 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 89.2 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4167/0.4167, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 11.98 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5194, allocations: 61.91 MB / 0.5097 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.486/3.006, allocations: 0.793 GB / 1.303 GB, free: 140 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/3.006, allocations: 100.1 kB / 1.303 GB, free: 140 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.572/5.578, allocations: 0.7264 GB / 2.029 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/5.578, allocations: 4 kB / 2.029 GB, free: 52.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001023/5.578, allocations: 24 kB / 2.029 GB, free: 52.01 MB / 0.5261 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.005348/5.583, allocations: 1.497 MB / 2.031 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/5.584, allocations: 8.031 kB / 2.031 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004969/5.584, allocations: 138.6 kB / 2.031 GB, free: 50.33 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/5.586, allocations: 278.6 kB / 2.031 GB, free: 50.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/5.587, allocations: 0.6582 MB / 2.032 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/5.588, allocations: 121.4 kB / 2.032 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/5.588, allocations: 67.91 kB / 2.032 GB, free: 49.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/5.59, allocations: 1.252 MB / 2.033 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/5.59, allocations: 7.938 kB / 2.033 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/5.59, allocations: 28 kB / 2.033 GB, free: 47.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/5.59, allocations: 69.27 kB / 2.033 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/5.592, allocations: 1.039 MB / 2.034 GB, free: 46.68 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00576/5.597, allocations: 4.812 MB / 2.039 GB, free: 41.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/5.598, allocations: 273.3 kB / 2.039 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/5.598, allocations: 263.5 kB / 2.039 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/5.598, allocations: 38.8 kB / 2.04 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.436e-06/5.598, allocations: 0 / 2.04 GB, free: 40.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005604/5.604, allocations: 1.733 MB / 2.041 GB, free: 39.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/5.604, allocations: 132.5 kB / 2.041 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009764/5.605, allocations: 0.8209 MB / 2.042 GB, free: 38.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/5.605, allocations: 33.7 kB / 2.042 GB, free: 38.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/5.605, allocations: 0.5672 MB / 2.043 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/5.605, allocations: 130.3 kB / 2.043 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/5.605, allocations: 20 kB / 2.043 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00011/5.605, allocations: 402.7 kB / 2.043 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/5.606, allocations: 270.5 kB / 2.044 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005832/5.606, allocations: 0.857 MB / 2.044 GB, free: 35.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005629/5.607, allocations: 455.1 kB / 2.045 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/5.607, allocations: 4 kB / 2.045 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001675/5.609, allocations: 1.227 MB / 2.046 GB, free: 33.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/5.609, allocations: 12 kB / 2.046 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/5.609, allocations: 23.94 kB / 2.046 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/5.61, allocations: 297.4 kB / 2.046 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/5.611, allocations: 207.6 kB / 2.047 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008624/5.611, allocations: 0.9038 MB / 2.047 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/5.612, allocations: 67.97 kB / 2.047 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/5.612, allocations: 64 kB / 2.048 GB, free: 32.26 MB / 0.5261 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 () * Number of clocked 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.0004734/5.613, allocations: 341.2 kB / 2.048 GB, free: 31.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/5.613, allocations: 98.83 kB / 2.048 GB, free: 31.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/5.614, allocations: 0.5055 MB / 2.048 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/5.614, allocations: 4 kB / 2.048 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/5.614, allocations: 6.953 kB / 2.048 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/5.614, allocations: 3.984 kB / 2.048 GB, free: 31.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/5.616, allocations: 1.129 MB / 2.05 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/5.616, allocations: 0 / 2.05 GB, free: 30.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009449/5.617, allocations: 183.8 kB / 2.05 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.398e-05/5.617, allocations: 24.84 kB / 2.05 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/5.617, allocations: 11.98 kB / 2.05 GB, free: 29.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/5.618, allocations: 2.688 MB / 2.052 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/5.618, allocations: 0 / 2.052 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/5.619, allocations: 0.7007 MB / 2.053 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/5.62, allocations: 204.3 kB / 2.053 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/5.62, allocations: 12 kB / 2.053 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/5.62, allocations: 27.92 kB / 2.053 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/5.62, allocations: 23.95 kB / 2.053 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/5.62, allocations: 20 kB / 2.053 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007365/5.621, allocations: 0.6165 MB / 2.054 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/5.621, allocations: 4 kB / 2.054 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00191/5.623, allocations: 475.8 kB / 2.054 GB, free: 24.8 MB / 0.5261 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 () * Number of clocked 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.00403/5.627, allocations: 2.501 MB / 2.057 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001326/5.628, allocations: 0.6704 MB / 2.058 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/5.628, allocations: 384 / 2.058 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/5.629, allocations: 362.3 kB / 2.058 GB, free: 21.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/5.631, allocations: 414.2 kB / 2.058 GB, free: 20.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/5.643, allocations: 19.01 MB / 2.077 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/5.644, allocations: 1.051 MB / 2.078 GB, free: 168 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00142/5.646, allocations: 387.8 kB / 2.078 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/5.646, allocations: 323.3 kB / 2.079 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of SimCode: time 1.593e-06/5.646, allocations: 0 / 2.079 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4582/6.104, allocations: 42.79 MB / 2.12 GB, free: 92.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/6.105, allocations: 302.2 kB / 2.121 GB, free: 92.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/9.559, allocations: 0 / 2.121 GB, free: 92.5 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat