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.0009849/0.000985, 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 1.91/1.91, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0009896/0.0009896, allocations: 90.61 kB / 261.8 MB, free: 1.68 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.2425/0.2425, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.57e-05, allocations: 0 / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.696/2.842, allocations: 0.8263 GB / 1.292 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/2.842, allocations: 96.09 kB / 1.292 GB, free: 178.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.487/5.33, allocations: 0.7272 GB / 2.02 GB, free: 22.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/5.33, allocations: 4.219 kB / 2.02 GB, free: 22.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.957e-05/5.33, allocations: 27.92 kB / 2.02 GB, free: 22.8 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00388/5.334, allocations: 1.376 MB / 2.021 GB, free: 21.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/5.334, allocations: 8.031 kB / 2.021 GB, free: 21.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/5.335, allocations: 278.6 kB / 2.021 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/5.336, allocations: 0.6719 MB / 2.022 GB, free: 20.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/5.336, allocations: 97.38 kB / 2.022 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/5.336, allocations: 36 kB / 2.022 GB, free: 20.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001172/5.338, allocations: 0.8707 MB / 2.023 GB, free: 19.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/5.339, allocations: 1.126 MB / 2.024 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/5.339, allocations: 3.938 kB / 2.024 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/5.339, allocations: 4 kB / 2.024 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/5.339, allocations: 65.28 kB / 2.024 GB, free: 18.09 MB / 0.4948 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.005705/5.345, allocations: 4.746 MB / 2.029 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/5.345, allocations: 250.5 kB / 2.029 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/5.346, allocations: 137.2 kB / 2.029 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/5.346, allocations: 243.9 kB / 2.029 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/5.346, allocations: 46.69 kB / 2.029 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 3.396e-06/5.346, allocations: 0 / 2.029 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005365/5.351, allocations: 1.529 MB / 2.031 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/5.351, allocations: 144.5 kB / 2.031 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/5.352, allocations: 0.6559 MB / 2.032 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/5.352, allocations: 25.7 kB / 2.032 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/5.352, allocations: 0.5784 MB / 2.032 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/5.352, allocations: 126.3 kB / 2.032 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/5.352, allocations: 0 / 2.032 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001022/5.353, allocations: 386.8 kB / 2.033 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/5.353, allocations: 246.5 kB / 2.033 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/5.353, allocations: 0.8261 MB / 2.034 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/5.354, allocations: 428 kB / 2.034 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/5.354, allocations: 7.938 kB / 2.034 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001375/5.355, allocations: 1.056 MB / 2.035 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/5.355, allocations: 16 kB / 2.035 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/5.355, allocations: 16 kB / 2.035 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/5.356, allocations: 257.3 kB / 2.035 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/5.357, allocations: 207.6 kB / 2.036 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/5.358, allocations: 0.9178 MB / 2.037 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009462/5.359, allocations: 48.03 kB / 2.037 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/5.359, allocations: 72 kB / 2.037 GB, free: 4.352 MB / 0.4948 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.0002335/5.359, allocations: 148.5 kB / 2.037 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006468/5.36, allocations: 377.4 kB / 2.037 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/5.36, allocations: 83.02 kB / 2.037 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008461/5.361, allocations: 442 kB / 2.038 GB, free: 3.293 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/5.361, allocations: 4 kB / 2.038 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/5.361, allocations: 0 / 2.038 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/5.361, allocations: 48 / 2.038 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/5.363, allocations: 1.036 MB / 2.039 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/5.363, allocations: 0 / 2.039 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/5.364, allocations: 179.8 kB / 2.039 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.629e-05/5.364, allocations: 24.84 kB / 2.039 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/5.364, allocations: 12.02 kB / 2.039 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/5.365, allocations: 2.561 MB / 2.041 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/5.365, allocations: 4.031 kB / 2.041 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/5.366, allocations: 0.6579 MB / 2.042 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/5.367, allocations: 200.1 kB / 2.042 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/5.367, allocations: 7.984 kB / 2.042 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/5.367, allocations: 24 kB / 2.042 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/5.367, allocations: 23.97 kB / 2.042 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/5.367, allocations: 19.98 kB / 2.042 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006535/5.368, allocations: 479.1 kB / 2.043 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/5.368, allocations: 0 / 2.043 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002151/5.37, allocations: 483.7 kB / 2.043 GB, free: 13.29 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.004663/5.375, allocations: 2.764 MB / 2.046 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001484/5.376, allocations: 0.5998 MB / 2.046 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/5.376, allocations: 7.938 kB / 2.047 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/5.377, allocations: 342.5 kB / 2.047 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/5.379, allocations: 307.2 kB / 2.047 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/5.383, allocations: 1.412 MB / 2.049 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/5.384, allocations: 1.043 MB / 2.05 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001087/5.385, allocations: 295 kB / 2.05 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/5.386, allocations: 311.3 kB / 2.05 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/5.386, allocations: 0 / 2.05 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4388/5.824, allocations: 31.8 MB / 2.081 GB, free: 87.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/5.825, allocations: 230.4 kB / 2.081 GB, free: 87.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/9.21, allocations: 3.797 kB / 2.081 GB, free: 87.62 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