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.001562/0.001561, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.121/2.121, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001099/0.001099, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.817e-05, allocations: 7.938 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 47.57 MB / 369.2 MB, free: 2.105 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.582, allocations: 437.9 MB / 0.7882 GB, free: 67.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/1.583, allocations: 102 kB / 0.7883 GB, free: 67.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7464/2.329, allocations: 141.8 MB / 0.9268 GB, free: 98.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/2.329, allocations: 0 / 0.9268 GB, free: 98.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/2.329, allocations: 8 kB / 0.9268 GB, free: 98.38 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.001151/2.33, allocations: 0.593 MB / 0.9274 GB, free: 97.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/2.33, allocations: 12.03 kB / 0.9274 GB, free: 97.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.764e-05/2.331, allocations: 62.53 kB / 0.9274 GB, free: 97.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/2.331, allocations: 39.62 kB / 0.9275 GB, free: 97.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/2.331, allocations: 270.6 kB / 0.9277 GB, free: 97.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/2.331, allocations: 20.56 kB / 0.9277 GB, free: 97.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/2.331, allocations: 24 kB / 0.9278 GB, free: 97.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/2.332, allocations: 319.7 kB / 0.9281 GB, free: 96.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/2.332, allocations: 0 / 0.9281 GB, free: 96.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/2.332, allocations: 12 kB / 0.9281 GB, free: 96.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/2.332, allocations: 7.938 kB / 0.9281 GB, free: 96.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/2.333, allocations: 193.6 kB / 0.9283 GB, free: 96.72 MB / 426.7 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.002249/2.335, allocations: 1.577 MB / 0.9298 GB, free: 94.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/2.335, allocations: 163.1 kB / 0.93 GB, free: 94.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/2.336, allocations: 93.22 kB / 0.9301 GB, free: 94.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/2.336, allocations: 8.125 kB / 0.9301 GB, free: 94.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/2.336, allocations: 38.75 kB / 0.9301 GB, free: 94.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 4.118e-06/2.336, allocations: 0 / 0.9301 GB, free: 94.67 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.008373/2.344, allocations: 1.247 MB / 0.9313 GB, free: 93.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/2.344, allocations: 63.39 kB / 0.9314 GB, free: 93.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/2.345, allocations: 225 kB / 0.9316 GB, free: 93.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/2.345, allocations: 33.7 kB / 0.9316 GB, free: 93.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/2.345, allocations: 226.5 kB / 0.9318 GB, free: 92.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.113e-05/2.345, allocations: 102.6 kB / 0.9319 GB, free: 92.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/2.345, allocations: 11.94 kB / 0.932 GB, free: 92.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.132e-05/2.345, allocations: 322.8 kB / 0.9323 GB, free: 92.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/2.345, allocations: 80 kB / 0.9323 GB, free: 92.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/2.346, allocations: 187.8 kB / 0.9325 GB, free: 92.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/2.346, allocations: 124.4 kB / 0.9326 GB, free: 91.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/2.346, allocations: 7.953 kB / 0.9326 GB, free: 91.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009834/2.347, allocations: 378.8 kB / 0.933 GB, free: 91.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/2.347, allocations: 4 kB / 0.933 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/2.347, allocations: 4.406 kB / 0.933 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003551/2.347, allocations: 77.67 kB / 0.9331 GB, free: 91.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/2.348, allocations: 83.89 kB / 0.9332 GB, free: 91.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/2.349, allocations: 1.848 MB / 0.935 GB, free: 89.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/2.35, allocations: 28.08 kB / 0.935 GB, free: 89.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/2.35, allocations: 36 kB / 0.935 GB, free: 89.3 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 () * 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.0001678/2.35, allocations: 125.2 kB / 0.9351 GB, free: 89.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-05/2.35, allocations: 31.64 kB / 0.9352 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/2.352, allocations: 443.6 kB / 0.9356 GB, free: 88.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/2.352, allocations: 4 kB / 0.9356 GB, free: 88.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/2.352, allocations: 4 kB / 0.9356 GB, free: 88.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006321/2.353, allocations: 0.559 MB / 0.9362 GB, free: 88.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/2.354, allocations: 0.7055 MB / 0.9368 GB, free: 87.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/2.354, allocations: 0 / 0.9368 GB, free: 87.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/2.355, allocations: 79.83 kB / 0.9369 GB, free: 87.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/2.355, allocations: 20.91 kB / 0.9369 GB, free: 87.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/2.355, allocations: 12 kB / 0.937 GB, free: 87.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008794/2.356, allocations: 1.284 MB / 0.9382 GB, free: 85.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/2.356, allocations: 4.031 kB / 0.9382 GB, free: 85.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009485/2.357, allocations: 497.6 kB / 0.9387 GB, free: 85.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/2.357, allocations: 104.8 kB / 0.9388 GB, free: 85.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/2.357, allocations: 8 kB / 0.9388 GB, free: 85.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/2.357, allocations: 15.98 kB / 0.9388 GB, free: 85.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/2.357, allocations: 27.95 kB / 0.9388 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/2.357, allocations: 27.98 kB / 0.9389 GB, free: 85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002525/2.358, allocations: 191.2 kB / 0.939 GB, free: 84.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.358, allocations: 0 / 0.939 GB, free: 84.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001009/2.359, allocations: 187.9 kB / 0.9392 GB, free: 84.63 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 () * 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.002557/2.361, allocations: 1.833 MB / 0.941 GB, free: 82.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009659/2.362, allocations: 379 kB / 0.9414 GB, free: 82.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/2.362, allocations: 0 / 0.9414 GB, free: 82.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/2.363, allocations: 222.5 kB / 0.9416 GB, free: 82.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/2.364, allocations: 160.3 kB / 0.9417 GB, free: 81.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/2.366, allocations: 0.5949 MB / 0.9423 GB, free: 81.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/2.366, allocations: 0.7804 MB / 0.9431 GB, free: 80.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/2.367, allocations: 135.4 kB / 0.9432 GB, free: 80.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/2.367, allocations: 3.938 kB / 0.9432 GB, free: 80.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.109/5.476, allocations: 12.8 MB / 0.9557 GB, free: 67.59 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