Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.001472/0.001472, allocations: 181.4 kB / 15.76 MB, free: 6.363 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.622/1.622, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000997/0.0009968, allocations: 94.78 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2498/0.2498, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 12 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 58.85 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.683/1.858, allocations: 0.5084 GB / 0.9873 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/1.859, allocations: 102.6 kB / 0.9874 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7687/2.628, allocations: 219.4 MB / 1.202 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/2.628, allocations: 4 kB / 1.202 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.24e-05/2.628, allocations: 16 kB / 1.202 GB, free: 114.4 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002852/2.63, allocations: 1.179 MB / 1.203 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/2.631, allocations: 11.97 kB / 1.203 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/2.631, allocations: 102.5 kB / 1.203 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007801/2.631, allocations: 142.8 kB / 1.203 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/2.633, allocations: 0.5362 MB / 1.204 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/2.633, allocations: 112.1 kB / 1.204 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/2.633, allocations: 44 kB / 1.204 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/2.634, allocations: 0.815 MB / 1.205 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/2.634, allocations: 8 kB / 1.205 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/2.634, allocations: 16 kB / 1.205 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/2.634, allocations: 48.88 kB / 1.205 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/2.635, allocations: 0.6165 MB / 1.205 GB, free: 110.6 MB / 0.5105 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.003861/2.639, allocations: 3.949 MB / 1.209 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/2.64, allocations: 336.3 kB / 1.209 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/2.64, allocations: 20.94 kB / 1.209 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/2.64, allocations: 42.83 kB / 1.209 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 4.248e-06/2.64, allocations: 0 / 1.209 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005335/2.645, allocations: 1.646 MB / 1.211 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/2.645, allocations: 140.4 kB / 1.211 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006245/2.646, allocations: 0.5422 MB / 1.212 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/2.646, allocations: 29.7 kB / 1.212 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/2.646, allocations: 362 kB / 1.212 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/2.646, allocations: 142 kB / 1.212 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/2.646, allocations: 16 kB / 1.212 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001184/2.646, allocations: 382.8 kB / 1.213 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/2.647, allocations: 193.8 kB / 1.213 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/2.647, allocations: 0.5047 MB / 1.213 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/2.648, allocations: 287.8 kB / 1.214 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/2.648, allocations: 4 kB / 1.214 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001177/2.649, allocations: 0.8696 MB / 1.214 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/2.649, allocations: 12 kB / 1.214 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/2.649, allocations: 8 kB / 1.214 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/2.65, allocations: 324 kB / 1.215 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/2.651, allocations: 119.8 kB / 1.215 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008916/2.651, allocations: 0.9234 MB / 1.216 GB, free: 99.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/2.652, allocations: 51.98 kB / 1.216 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/2.652, allocations: 71.98 kB / 1.216 GB, free: 99.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0003447/2.653, allocations: 237.6 kB / 1.216 GB, free: 98.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/2.653, allocations: 75.14 kB / 1.216 GB, free: 98.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/2.654, allocations: 0.6792 MB / 1.217 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/2.654, allocations: 4 kB / 1.217 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/2.654, allocations: 0 / 1.217 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/2.654, allocations: 3.984 kB / 1.217 GB, free: 98.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/2.656, allocations: 1.263 MB / 1.218 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/2.656, allocations: 0 / 1.218 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/2.657, allocations: 211.8 kB / 1.218 GB, free: 96.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.447e-05/2.657, allocations: 32.89 kB / 1.218 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/2.657, allocations: 16 kB / 1.218 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/2.658, allocations: 2.692 MB / 1.221 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.658, allocations: 8 kB / 1.221 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009878/2.659, allocations: 0.8337 MB / 1.222 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/2.659, allocations: 184.3 kB / 1.222 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/2.66, allocations: 8 kB / 1.222 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004277/2.66, allocations: 35.83 kB / 1.222 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/2.66, allocations: 40.02 kB / 1.222 GB, free: 92.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/2.66, allocations: 43.98 kB / 1.222 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004484/2.661, allocations: 427 kB / 1.223 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/2.661, allocations: 0 / 1.223 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001474/2.662, allocations: 379.8 kB / 1.223 GB, free: 91.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * 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.002872/2.665, allocations: 2.592 MB / 1.225 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001133/2.666, allocations: 0.5432 MB / 1.226 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/2.666, allocations: 0 / 1.226 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008268/2.667, allocations: 400 kB / 1.226 GB, free: 88.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/2.668, allocations: 323 kB / 1.227 GB, free: 87.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/2.676, allocations: 10.87 MB / 1.237 GB, free: 76.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/2.676, allocations: 0.9456 MB / 1.238 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001126/2.677, allocations: 257.9 kB / 1.238 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/2.678, allocations: 279.3 kB / 1.239 GB, free: 75.17 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/2.678, allocations: 0 / 1.239 GB, free: 75.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/2.734, allocations: 35.95 MB / 1.274 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/2.734, allocations: 292.2 kB / 1.274 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/5.939, allocations: 0 / 1.274 GB, free: 38.86 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat