Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_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.001537/0.001536, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 84.94 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.524e-05, allocations: 0 / 314.9 MB, free: 9.055 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3724, allocations: 47.56 MB / 362.4 MB, free: 45.77 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.555, allocations: 437.3 MB / 0.781 GB, free: 42.95 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.555, allocations: 94.94 kB / 0.7811 GB, free: 42.89 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7534/2.309, allocations: 140.1 MB / 0.9179 GB, free: 83.34 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.913e-06/2.309, allocations: 0 / 0.9179 GB, free: 83.34 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.614e-05/2.309, allocations: 11.94 kB / 0.9179 GB, free: 83.33 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001225/2.31, allocations: 0.603 MB / 0.9185 GB, free: 82.68 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/2.31, allocations: 12.03 kB / 0.9185 GB, free: 82.67 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/2.31, allocations: 47.58 kB / 0.9186 GB, free: 82.62 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/2.311, allocations: 270.6 kB / 0.9188 GB, free: 82.32 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/2.311, allocations: 8 kB / 0.9188 GB, free: 82.31 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/2.311, allocations: 16 kB / 0.9189 GB, free: 82.3 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000479/2.311, allocations: 177.1 kB / 0.919 GB, free: 82.12 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/2.312, allocations: 270.6 kB / 0.9193 GB, free: 81.83 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/2.312, allocations: 4 kB / 0.9193 GB, free: 81.82 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.112e-05/2.312, allocations: 0 / 0.9193 GB, free: 81.82 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/2.312, allocations: 8 kB / 0.9193 GB, free: 81.82 MB / 427.1 MB 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.0023/2.314, allocations: 1.551 MB / 0.9208 GB, free: 80.12 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/2.315, allocations: 153.5 kB / 0.921 GB, free: 79.97 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/2.315, allocations: 72.86 kB / 0.921 GB, free: 79.89 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/2.315, allocations: 11.97 kB / 0.921 GB, free: 79.88 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/2.315, allocations: 38.56 kB / 0.9211 GB, free: 79.84 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 3.156e-06/2.315, allocations: 0 / 0.9211 GB, free: 79.84 MB / 427.1 MB Notification: Performance of matching and sorting (n=25): time 0.007021/2.322, allocations: 0.992 MB / 0.922 GB, free: 78.77 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/2.322, allocations: 55.41 kB / 0.9221 GB, free: 78.7 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/2.323, allocations: 199.9 kB / 0.9223 GB, free: 78.5 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/2.323, allocations: 29.7 kB / 0.9223 GB, free: 78.46 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/2.323, allocations: 246.1 kB / 0.9225 GB, free: 78.22 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/2.323, allocations: 86.8 kB / 0.9226 GB, free: 78.13 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/2.323, allocations: 0 / 0.9226 GB, free: 78.13 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/2.323, allocations: 322.8 kB / 0.9229 GB, free: 77.81 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/2.323, allocations: 76 kB / 0.923 GB, free: 77.73 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/2.323, allocations: 175.9 kB / 0.9232 GB, free: 77.52 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/2.324, allocations: 112.5 kB / 0.9233 GB, free: 77.41 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/2.324, allocations: 0 / 0.9233 GB, free: 77.41 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008794/2.325, allocations: 351 kB / 0.9236 GB, free: 77.05 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/2.325, allocations: 4 kB / 0.9236 GB, free: 77.05 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/2.325, allocations: 4 kB / 0.9236 GB, free: 77.05 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/2.325, allocations: 65.69 kB / 0.9237 GB, free: 76.98 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/2.326, allocations: 83.89 kB / 0.9238 GB, free: 76.89 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/2.327, allocations: 1.809 MB / 0.9255 GB, free: 74.95 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/2.327, allocations: 19.88 kB / 0.9256 GB, free: 74.93 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.389e-05/2.328, allocations: 36 kB / 0.9256 GB, free: 74.89 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/2.328, allocations: 117.5 kB / 0.9257 GB, free: 74.77 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000639/2.328, allocations: 256.6 kB / 0.9259 GB, free: 74.51 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/2.328, allocations: 27.67 kB / 0.926 GB, free: 74.48 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/2.33, allocations: 345.5 kB / 0.9263 GB, free: 74.14 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/2.33, allocations: 8 kB / 0.9263 GB, free: 74.13 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/2.33, allocations: 0 / 0.9263 GB, free: 74.13 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005589/2.33, allocations: 0.5476 MB / 0.9268 GB, free: 73.5 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/2.331, allocations: 0.6538 MB / 0.9275 GB, free: 72.79 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/2.332, allocations: 4 kB / 0.9275 GB, free: 72.79 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/2.332, allocations: 75.95 kB / 0.9276 GB, free: 72.71 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/2.332, allocations: 20.84 kB / 0.9276 GB, free: 72.69 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/2.332, allocations: 15.94 kB / 0.9276 GB, free: 72.67 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000848/2.333, allocations: 1.233 MB / 0.9288 GB, free: 71.32 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/2.333, allocations: 3.984 kB / 0.9288 GB, free: 71.32 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008785/2.334, allocations: 469.4 kB / 0.9292 GB, free: 70.82 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/2.334, allocations: 100.8 kB / 0.9293 GB, free: 70.71 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/2.334, allocations: 4 kB / 0.9293 GB, free: 70.7 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/2.335, allocations: 11.98 kB / 0.9294 GB, free: 70.69 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/2.335, allocations: 23.91 kB / 0.9294 GB, free: 70.67 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/2.335, allocations: 32.05 kB / 0.9294 GB, free: 70.64 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002146/2.335, allocations: 160.5 kB / 0.9296 GB, free: 70.48 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.41e-07/2.335, allocations: 0 / 0.9296 GB, free: 70.48 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001087/2.336, allocations: 163.9 kB / 0.9297 GB, free: 70.32 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002637/2.339, allocations: 1.923 MB / 0.9316 GB, free: 68.35 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0009097/2.34, allocations: 358.3 kB / 0.9319 GB, free: 67.99 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/2.34, allocations: 4.125 kB / 0.9319 GB, free: 67.99 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003346/2.34, allocations: 209.7 kB / 0.9321 GB, free: 67.77 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/2.342, allocations: 116.4 kB / 0.9323 GB, free: 67.66 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/2.343, allocations: 0.5921 MB / 0.9328 GB, free: 67.02 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/2.344, allocations: 0.7679 MB / 0.9336 GB, free: 66.22 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/2.344, allocations: 135.4 kB / 0.9337 GB, free: 66.09 MB / 427.1 MB Notification: Performance of SimCode: time 1.733e-06/2.344, allocations: 0 / 0.9337 GB, free: 66.09 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.057/5.402, allocations: 12.33 MB / 0.9458 GB, free: 53.74 MB / 427.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat