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.002162/0.002162, allocations: 182.8 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.87/1.87, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008867/0.0008865, allocations: 89.86 kB / 267 MB, free: 9.281 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.5246/0.5246, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.708e-05/7.726e-05, allocations: 0 / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.649/1.821, allocations: 0.5083 GB / 0.9813 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/1.822, allocations: 95.94 kB / 0.9814 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9027/2.724, allocations: 218.9 MB / 1.195 GB, free: 96.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/2.724, allocations: 0 / 1.195 GB, free: 96.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.106e-05/2.724, allocations: 25.06 kB / 1.195 GB, free: 96.98 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.003643/2.728, allocations: 1.096 MB / 1.196 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/2.728, allocations: 7.75 kB / 1.196 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002941/2.729, allocations: 97.14 kB / 1.196 GB, free: 96.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/2.73, allocations: 136.8 kB / 1.196 GB, free: 96.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/2.731, allocations: 0.5424 MB / 1.197 GB, free: 95.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/2.732, allocations: 105.3 kB / 1.197 GB, free: 95.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/2.732, allocations: 46.28 kB / 1.197 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/2.733, allocations: 0.8004 MB / 1.198 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/2.734, allocations: 3.938 kB / 1.198 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/2.734, allocations: 31.41 kB / 1.198 GB, free: 95.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.938e-05/2.734, allocations: 44.12 kB / 1.198 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/2.735, allocations: 0.6053 MB / 1.199 GB, free: 94.99 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.005368/2.74, allocations: 3.925 MB / 1.202 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/2.741, allocations: 341.1 kB / 1.203 GB, free: 91.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/2.741, allocations: 163.4 kB / 1.203 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/2.741, allocations: 22.56 kB / 1.203 GB, free: 91.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/2.741, allocations: 39.92 kB / 1.203 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/2.741, allocations: 0 / 1.203 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.005479/2.747, allocations: 1.517 MB / 1.204 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/2.747, allocations: 140.1 kB / 1.205 GB, free: 90.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/2.748, allocations: 0.5306 MB / 1.205 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/2.748, allocations: 33.61 kB / 1.205 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/2.748, allocations: 365.6 kB / 1.205 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/2.748, allocations: 142.6 kB / 1.206 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/2.748, allocations: 11.81 kB / 1.206 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/2.748, allocations: 374.6 kB / 1.206 GB, free: 89.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/2.749, allocations: 196.8 kB / 1.206 GB, free: 89.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/2.749, allocations: 0.4963 MB / 1.207 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/2.75, allocations: 291.6 kB / 1.207 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/2.75, allocations: 3.344 kB / 1.207 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00146/2.751, allocations: 0.8503 MB / 1.208 GB, free: 88.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/2.751, allocations: 11.95 kB / 1.208 GB, free: 88.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/2.751, allocations: 11.66 kB / 1.208 GB, free: 88.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/2.753, allocations: 309.4 kB / 1.208 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/2.753, allocations: 122.5 kB / 1.208 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009496/2.754, allocations: 0.925 MB / 1.209 GB, free: 87.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007193/2.755, allocations: 46.47 kB / 1.209 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/2.755, allocations: 70.58 kB / 1.209 GB, free: 87.85 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 () * 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.0002003/2.755, allocations: 152.4 kB / 1.209 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/2.755, allocations: 69.62 kB / 1.209 GB, free: 87.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/2.757, allocations: 0.6646 MB / 1.21 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/2.757, allocations: 8.594 kB / 1.21 GB, free: 87.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/2.757, allocations: 5.031 kB / 1.21 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/2.757, allocations: 3.141 kB / 1.21 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/2.759, allocations: 1.249 MB / 1.211 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/2.759, allocations: 3.969 kB / 1.211 GB, free: 86.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/2.76, allocations: 207.2 kB / 1.212 GB, free: 86.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/2.76, allocations: 29.2 kB / 1.212 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/2.76, allocations: 18.62 kB / 1.212 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/2.762, allocations: 2.677 MB / 1.214 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.762, allocations: 0 / 1.214 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/2.763, allocations: 0.8337 MB / 1.215 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004115/2.764, allocations: 182.7 kB / 1.215 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/2.764, allocations: 15.5 kB / 1.215 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/2.764, allocations: 29.89 kB / 1.215 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/2.764, allocations: 34.36 kB / 1.215 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.42e-05/2.764, allocations: 46.8 kB / 1.215 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006225/2.765, allocations: 419.1 kB / 1.216 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.765, allocations: 3.906 kB / 1.216 GB, free: 83.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001759/2.767, allocations: 381.1 kB / 1.216 GB, free: 82.95 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 () * 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.003422/2.77, allocations: 2.587 MB / 1.219 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001121/2.771, allocations: 0.5215 MB / 1.219 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.771, allocations: 0 / 1.219 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008608/2.772, allocations: 397.3 kB / 1.219 GB, free: 81.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/2.774, allocations: 331.9 kB / 1.22 GB, free: 80.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/2.777, allocations: 1.172 MB / 1.221 GB, free: 80.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/2.777, allocations: 0.9431 MB / 1.222 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001062/2.778, allocations: 261.8 kB / 1.222 GB, free: 79.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/2.779, allocations: 268.4 kB / 1.222 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/2.779, allocations: 0 / 1.222 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07177/2.85, allocations: 38.46 MB / 1.26 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/2.851, allocations: 246.1 kB / 1.26 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/6.221, allocations: 0 / 1.26 GB, free: 49.35 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