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.001715/0.001715, allocations: 177.6 kB / 8.004 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.863/1.863, allocations: 205.3 MB / 213.7 MB, free: 1.727 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.001017/0.001017, allocations: 83.91 kB / 261.7 MB, free: 1.676 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.2551/0.2551, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.859e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 58.87 MB / 477.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.694/1.833, allocations: 0.5077 GB / 0.9737 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.834, allocations: 99.03 kB / 0.9738 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8525/2.686, allocations: 216.3 MB / 1.185 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.193e-06/2.686, allocations: 0 / 1.185 GB, free: 92.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.179e-05/2.686, allocations: 16 kB / 1.185 GB, free: 92.92 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002674/2.689, allocations: 1.101 MB / 1.186 GB, free: 91.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/2.689, allocations: 12.02 kB / 1.186 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/2.69, allocations: 135.1 kB / 1.186 GB, free: 91.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/2.691, allocations: 0.5414 MB / 1.187 GB, free: 91.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.702e-05/2.691, allocations: 84.66 kB / 1.187 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/2.691, allocations: 35.98 kB / 1.187 GB, free: 90.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007612/2.692, allocations: 0.5219 MB / 1.187 GB, free: 90.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/2.693, allocations: 0.7293 MB / 1.188 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/2.693, allocations: 7.938 kB / 1.188 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/2.693, allocations: 0 / 1.188 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/2.693, allocations: 41.28 kB / 1.188 GB, free: 89.55 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.004535/2.697, allocations: 3.887 MB / 1.192 GB, free: 85.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/2.698, allocations: 251.2 kB / 1.192 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/2.698, allocations: 129.3 kB / 1.192 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/2.698, allocations: 25 kB / 1.192 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/2.698, allocations: 38.8 kB / 1.192 GB, free: 85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.615e-06/2.698, allocations: 0 / 1.192 GB, free: 85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005087/2.703, allocations: 1.456 MB / 1.194 GB, free: 83.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/2.703, allocations: 132.5 kB / 1.194 GB, free: 83.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/2.704, allocations: 466 kB / 1.194 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/2.704, allocations: 25.7 kB / 1.194 GB, free: 82.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/2.704, allocations: 390.8 kB / 1.195 GB, free: 82.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/2.704, allocations: 118.4 kB / 1.195 GB, free: 82.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/2.704, allocations: 0 / 1.195 GB, free: 82.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001061/2.704, allocations: 374.7 kB / 1.195 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/2.705, allocations: 177.5 kB / 1.195 GB, free: 81.76 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/2.705, allocations: 493.1 kB / 1.196 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/2.705, allocations: 323.9 kB / 1.196 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/2.705, allocations: 0 / 1.196 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001218/2.707, allocations: 0.8263 MB / 1.197 GB, free: 79.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/2.707, allocations: 12 kB / 1.197 GB, free: 79.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/2.707, allocations: 12.12 kB / 1.197 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/2.708, allocations: 268.7 kB / 1.197 GB, free: 79.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/2.708, allocations: 123.8 kB / 1.197 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009148/2.709, allocations: 0.9569 MB / 1.198 GB, free: 78.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/2.71, allocations: 32.03 kB / 1.198 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/2.71, allocations: 67.94 kB / 1.198 GB, free: 78.49 MB / 0.4948 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.0001585/2.71, allocations: 132.7 kB / 1.199 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006993/2.711, allocations: 429.5 kB / 1.199 GB, free: 77.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/2.711, allocations: 63.3 kB / 1.199 GB, free: 77.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/2.712, allocations: 0.5087 MB / 1.2 GB, free: 77.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/2.712, allocations: 4 kB / 1.2 GB, free: 77.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/2.712, allocations: 4 kB / 1.2 GB, free: 77.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.712, allocations: 3.984 kB / 1.2 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/2.713, allocations: 0.9837 MB / 1.201 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/2.713, allocations: 0 / 1.201 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009524/2.714, allocations: 199.8 kB / 1.201 GB, free: 76.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.067e-05/2.714, allocations: 24.75 kB / 1.201 GB, free: 76.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/2.714, allocations: 11.98 kB / 1.201 GB, free: 76.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/2.716, allocations: 2.585 MB / 1.203 GB, free: 73.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.716, allocations: 8.016 kB / 1.203 GB, free: 73.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000848/2.717, allocations: 0.6861 MB / 1.204 GB, free: 72.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/2.717, allocations: 172.3 kB / 1.204 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/2.717, allocations: 160 / 1.204 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/2.717, allocations: 19.98 kB / 1.204 GB, free: 72.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/2.718, allocations: 39.91 kB / 1.204 GB, free: 72.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/2.718, allocations: 35.98 kB / 1.204 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004022/2.718, allocations: 342.9 kB / 1.205 GB, free: 71.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.718, allocations: 0 / 1.205 GB, free: 71.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001742/2.72, allocations: 351.8 kB / 1.205 GB, free: 71.58 MB / 0.4948 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 (34): * Single equations (assignments): 32 * 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.002888/2.723, allocations: 2.359 MB / 1.207 GB, free: 69.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001016/2.724, allocations: 488.9 kB / 1.208 GB, free: 68.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/2.724, allocations: 4.25 kB / 1.208 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/2.725, allocations: 357.5 kB / 1.208 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/2.726, allocations: 250.1 kB / 1.208 GB, free: 68.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/2.728, allocations: 1.075 MB / 1.209 GB, free: 67.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/2.728, allocations: 0.9373 MB / 1.21 GB, free: 66.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008827/2.729, allocations: 237.2 kB / 1.21 GB, free: 65.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/2.73, allocations: 263.3 kB / 1.211 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/2.73, allocations: 0 / 1.211 GB, free: 65.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/2.783, allocations: 25.58 MB / 1.236 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/2.783, allocations: 194 kB / 1.236 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/5.877, allocations: 7.375 kB / 1.236 GB, free: 39.89 MB / 0.4948 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