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.002106/0.002106, allocations: 186.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001169/0.001168, allocations: 100.3 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004328, allocations: 12 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3388, allocations: 47.57 MB / 374.6 MB, free: 45.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.477, allocations: 438 MB / 0.7936 GB, free: 10.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/1.477, allocations: 102.1 kB / 0.7937 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7161/2.193, allocations: 142.2 MB / 0.9326 GB, free: 43.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.193, allocations: 0 / 0.9326 GB, free: 43.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/2.193, allocations: 8 kB / 0.9326 GB, free: 43.57 MB / 426.7 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.001183/2.194, allocations: 0.6206 MB / 0.9332 GB, free: 42.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/2.195, allocations: 8.031 kB / 0.9332 GB, free: 42.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/2.195, allocations: 66.53 kB / 0.9333 GB, free: 42.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/2.195, allocations: 43.56 kB / 0.9333 GB, free: 42.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/2.195, allocations: 282.9 kB / 0.9336 GB, free: 42.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/2.195, allocations: 20.52 kB / 0.9336 GB, free: 42.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/2.196, allocations: 24 kB / 0.9336 GB, free: 42.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/2.196, allocations: 315.7 kB / 0.9339 GB, free: 42.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/2.196, allocations: 3.938 kB / 0.9339 GB, free: 42.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/2.196, allocations: 12 kB / 0.934 GB, free: 42.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/2.196, allocations: 8 kB / 0.934 GB, free: 42.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/2.197, allocations: 201.6 kB / 0.9342 GB, free: 41.87 MB / 426.7 MB 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.002077/2.199, allocations: 1.581 MB / 0.9357 GB, free: 40.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/2.199, allocations: 163.1 kB / 0.9359 GB, free: 39.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/2.199, allocations: 8.125 kB / 0.9359 GB, free: 39.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/2.199, allocations: 42.75 kB / 0.9359 GB, free: 39.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 2.915e-06/2.199, allocations: 0 / 0.9359 GB, free: 39.9 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.00904/2.208, allocations: 1.613 MB / 0.9375 GB, free: 38.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/2.208, allocations: 55.39 kB / 0.9375 GB, free: 38.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/2.209, allocations: 228.1 kB / 0.9377 GB, free: 37.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/2.209, allocations: 33.7 kB / 0.9378 GB, free: 37.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/2.209, allocations: 234.6 kB / 0.938 GB, free: 37.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/2.209, allocations: 90.66 kB / 0.9381 GB, free: 37.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/2.209, allocations: 11.94 kB / 0.9381 GB, free: 37.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.548e-05/2.209, allocations: 326.8 kB / 0.9384 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/2.209, allocations: 83.97 kB / 0.9385 GB, free: 37.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/2.21, allocations: 191.8 kB / 0.9387 GB, free: 36.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/2.21, allocations: 116.4 kB / 0.9388 GB, free: 36.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/2.21, allocations: 0 / 0.9388 GB, free: 36.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009209/2.211, allocations: 386.8 kB / 0.9392 GB, free: 36.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/2.211, allocations: 8 kB / 0.9392 GB, free: 36.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/2.211, allocations: 0 / 0.9392 GB, free: 36.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/2.211, allocations: 77.61 kB / 0.9392 GB, free: 36.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/2.212, allocations: 88.25 kB / 0.9393 GB, free: 36.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/2.213, allocations: 1.864 MB / 0.9411 GB, free: 34.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/2.214, allocations: 15.95 kB / 0.9412 GB, free: 34.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/2.214, allocations: 43.98 kB / 0.9412 GB, free: 34.09 MB / 426.7 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 () * Number of clocked 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.0002357/2.214, allocations: 157.8 kB / 0.9414 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.642e-05/2.214, allocations: 27.72 kB / 0.9414 GB, free: 33.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/2.216, allocations: 444.7 kB / 0.9418 GB, free: 33.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/2.216, allocations: 7.953 kB / 0.9418 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.216, allocations: 0 / 0.9418 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007036/2.216, allocations: 0.5568 MB / 0.9424 GB, free: 32.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/2.218, allocations: 0.7173 MB / 0.9431 GB, free: 32.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.218, allocations: 0 / 0.9431 GB, free: 32.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/2.218, allocations: 75.89 kB / 0.9431 GB, free: 31.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/2.218, allocations: 24.83 kB / 0.9431 GB, free: 31.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/2.218, allocations: 15.98 kB / 0.9432 GB, free: 31.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008218/2.219, allocations: 1.28 MB / 0.9444 GB, free: 30.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.219, allocations: 4.031 kB / 0.9444 GB, free: 30.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/2.22, allocations: 0.494 MB / 0.9449 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/2.22, allocations: 100.8 kB / 0.945 GB, free: 29.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/2.221, allocations: 11.95 kB / 0.945 GB, free: 29.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/2.221, allocations: 27.89 kB / 0.945 GB, free: 29.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/2.221, allocations: 23.97 kB / 0.9451 GB, free: 29.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/2.221, allocations: 35.98 kB / 0.9451 GB, free: 29.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002332/2.221, allocations: 182 kB / 0.9453 GB, free: 29.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.221, allocations: 0 / 0.9453 GB, free: 29.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009483/2.222, allocations: 188 kB / 0.9454 GB, free: 29.37 MB / 426.7 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 () * Number of clocked 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.002551/2.225, allocations: 1.841 MB / 0.9472 GB, free: 27.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009091/2.226, allocations: 370.4 kB / 0.9476 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/2.226, allocations: 0.8125 kB / 0.9476 GB, free: 27.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/2.226, allocations: 238.6 kB / 0.9478 GB, free: 26.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/2.228, allocations: 161.6 kB / 0.948 GB, free: 26.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/2.232, allocations: 3.87 MB / 0.9518 GB, free: 22.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/2.232, allocations: 0.7803 MB / 0.9525 GB, free: 21.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/2.233, allocations: 131.4 kB / 0.9526 GB, free: 21.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/2.233, allocations: 0 / 0.9526 GB, free: 21.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.02/5.253, allocations: 12.83 MB / 0.9652 GB, free: 8.945 MB / 426.7 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