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.002056/0.002056, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.677/1.677, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 87.55 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2856/0.2856, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.111e-05/4.115e-05, allocations: 224 / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.341/2.536, allocations: 0.793 GB / 1.295 GB, free: 47.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/2.537, allocations: 91.94 kB / 1.295 GB, free: 47.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.03/5.566, allocations: 0.7268 GB / 2.022 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.295e-06/5.567, allocations: 0 / 2.022 GB, free: 80.64 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.246e-05/5.567, allocations: 26.08 kB / 2.022 GB, free: 80.64 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.004908/5.572, allocations: 1.391 MB / 2.023 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/5.572, allocations: 11.59 kB / 2.023 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/5.572, allocations: 122 kB / 2.023 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/5.573, allocations: 280.8 kB / 2.023 GB, free: 79.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/5.575, allocations: 0.6707 MB / 2.024 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/5.575, allocations: 114.6 kB / 2.024 GB, free: 79.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/5.575, allocations: 68.14 kB / 2.024 GB, free: 79.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/5.577, allocations: 1.231 MB / 2.026 GB, free: 79.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/5.577, allocations: 2.156 kB / 2.026 GB, free: 79.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/5.577, allocations: 36.34 kB / 2.026 GB, free: 79.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.69e-05/5.578, allocations: 66.56 kB / 2.026 GB, free: 79.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/5.579, allocations: 1.014 MB / 2.027 GB, free: 79.39 MB / 0.5261 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.006654/5.586, allocations: 4.811 MB / 2.031 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/5.586, allocations: 271.9 kB / 2.032 GB, free: 76.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/5.586, allocations: 145.8 kB / 2.032 GB, free: 76.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/5.587, allocations: 270 kB / 2.032 GB, free: 76.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/5.587, allocations: 43.73 kB / 2.032 GB, free: 76.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 4.198e-06/5.587, allocations: 0 / 2.032 GB, free: 76.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005953/5.593, allocations: 1.6 MB / 2.034 GB, free: 75.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/5.593, allocations: 132.5 kB / 2.034 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/5.594, allocations: 0.822 MB / 2.034 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/5.594, allocations: 29.2 kB / 2.035 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/5.595, allocations: 0.5673 MB / 2.035 GB, free: 75.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/5.595, allocations: 141 kB / 2.035 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/5.595, allocations: 17.62 kB / 2.035 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002003/5.595, allocations: 400.9 kB / 2.036 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/5.595, allocations: 260.9 kB / 2.036 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007922/5.596, allocations: 0.8513 MB / 2.037 GB, free: 73.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006506/5.597, allocations: 451.2 kB / 2.037 GB, free: 73.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/5.597, allocations: 3.969 kB / 2.037 GB, free: 73.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001777/5.599, allocations: 1.213 MB / 2.038 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/5.599, allocations: 14.91 kB / 2.038 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/5.599, allocations: 16.91 kB / 2.038 GB, free: 73.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/5.6, allocations: 288.2 kB / 2.039 GB, free: 73.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/5.601, allocations: 203 kB / 2.039 GB, free: 73.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008698/5.602, allocations: 0.8989 MB / 2.04 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/5.602, allocations: 64.56 kB / 2.04 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/5.603, allocations: 71.52 kB / 2.04 GB, free: 73.09 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 () * 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.0001887/5.603, allocations: 181.4 kB / 2.04 GB, free: 72.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/5.603, allocations: 93.61 kB / 2.04 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009639/5.604, allocations: 0.5087 MB / 2.041 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/5.604, allocations: 7.75 kB / 2.041 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/5.604, allocations: 0 / 2.041 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/5.604, allocations: 0 / 2.041 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/5.605, allocations: 1.123 MB / 2.042 GB, free: 72.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/5.605, allocations: 3.234 kB / 2.042 GB, free: 72.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009203/5.606, allocations: 182.3 kB / 2.042 GB, free: 72.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-05/5.607, allocations: 23.59 kB / 2.042 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/5.607, allocations: 14.3 kB / 2.042 GB, free: 72.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/5.608, allocations: 2.667 MB / 2.044 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/5.608, allocations: 6.969 kB / 2.044 GB, free: 69.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/5.609, allocations: 0.6857 MB / 2.045 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/5.609, allocations: 209.3 kB / 2.045 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/5.609, allocations: 10.81 kB / 2.045 GB, free: 69.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/5.61, allocations: 34.03 kB / 2.045 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/5.61, allocations: 23.25 kB / 2.045 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/5.61, allocations: 21.7 kB / 2.045 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007763/5.611, allocations: 0.6126 MB / 2.046 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/5.611, allocations: 0 / 2.046 GB, free: 69.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002107/5.613, allocations: 484.9 kB / 2.047 GB, free: 69.37 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 () * 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.004547/5.617, allocations: 2.479 MB / 2.049 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001771/5.619, allocations: 0.6578 MB / 2.05 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/5.619, allocations: 1.375 kB / 2.05 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000888/5.62, allocations: 350.7 kB / 2.05 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/5.622, allocations: 404.9 kB / 2.05 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/5.626, allocations: 1.445 MB / 2.052 GB, free: 67.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/5.626, allocations: 1.055 MB / 2.053 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001121/5.627, allocations: 384.4 kB / 2.053 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/5.628, allocations: 319.2 kB / 2.053 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of SimCode: time 9.52e-07/5.628, allocations: 0 / 2.053 GB, free: 67.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07565/5.704, allocations: 45.63 MB / 2.098 GB, free: 45.59 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/5.704, allocations: 274.6 kB / 2.098 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/9.302, allocations: 4 kB / 2.098 GB, free: 45.25 MB / 0.5261 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