Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01436/0.01436, allocations: 168.5 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.965/1.965, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002042/0.002041, allocations: 115 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4581/0.4581, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004723, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 48.7 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/1.712, allocations: 0.4969 GB / 0.8989 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/1.712, allocations: 96.5 kB / 0.899 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432/3.144, allocations: 219.1 MB / 1.113 GB, free: 74.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.605e-06/3.145, allocations: 0 / 1.113 GB, free: 74.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.776e-05/3.145, allocations: 18.3 kB / 1.113 GB, free: 74.24 MB / 442.7 MB 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.004216/3.149, allocations: 1.194 MB / 1.114 GB, free: 73.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/3.149, allocations: 9.688 kB / 1.114 GB, free: 73.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/3.149, allocations: 97.3 kB / 1.114 GB, free: 73.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/3.15, allocations: 137.1 kB / 1.114 GB, free: 73.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/3.152, allocations: 0.5491 MB / 1.115 GB, free: 73.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/3.152, allocations: 105.8 kB / 1.115 GB, free: 73.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/3.152, allocations: 50.44 kB / 1.115 GB, free: 73.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/3.154, allocations: 0.8028 MB / 1.116 GB, free: 73.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/3.154, allocations: 1.062 kB / 1.116 GB, free: 73.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/3.154, allocations: 24.62 kB / 1.116 GB, free: 73.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.583e-05/3.155, allocations: 46.2 kB / 1.116 GB, free: 73.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/3.156, allocations: 0.6124 MB / 1.116 GB, free: 73.22 MB / 442.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.006125/3.162, allocations: 3.908 MB / 1.12 GB, free: 70.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/3.163, allocations: 328.1 kB / 1.121 GB, free: 70.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/3.163, allocations: 24.94 kB / 1.121 GB, free: 70.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/3.163, allocations: 44.23 kB / 1.121 GB, free: 70.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/3.163, allocations: 0 / 1.121 GB, free: 70.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.00908/3.173, allocations: 1.62 MB / 1.122 GB, free: 70.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/3.173, allocations: 131.5 kB / 1.122 GB, free: 69.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/3.174, allocations: 0.5242 MB / 1.123 GB, free: 69.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/3.174, allocations: 37.98 kB / 1.123 GB, free: 69.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/3.174, allocations: 378.8 kB / 1.123 GB, free: 69.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/3.174, allocations: 143.2 kB / 1.123 GB, free: 69.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/3.174, allocations: 13.75 kB / 1.123 GB, free: 69.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/3.175, allocations: 378.8 kB / 1.124 GB, free: 69.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005695/3.175, allocations: 196 kB / 1.124 GB, free: 69.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007432/3.176, allocations: 0.5261 MB / 1.124 GB, free: 68.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/3.177, allocations: 300.9 kB / 1.125 GB, free: 68.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/3.177, allocations: 6.594 kB / 1.125 GB, free: 68.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002289/3.179, allocations: 0.8838 MB / 1.126 GB, free: 68.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/3.179, allocations: 11.66 kB / 1.126 GB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/3.179, allocations: 13.06 kB / 1.126 GB, free: 68.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/3.181, allocations: 308.1 kB / 1.126 GB, free: 68.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/3.182, allocations: 129.3 kB / 1.126 GB, free: 68.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/3.184, allocations: 0.9051 MB / 1.127 GB, free: 68.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/3.185, allocations: 54.36 kB / 1.127 GB, free: 68.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/3.185, allocations: 70.38 kB / 1.127 GB, free: 68.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005481/3.186, allocations: 248.9 kB / 1.127 GB, free: 68.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/3.186, allocations: 66.06 kB / 1.127 GB, free: 68.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/3.188, allocations: 0.6651 MB / 1.128 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/3.188, allocations: 2.719 kB / 1.128 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/3.188, allocations: 0 / 1.128 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/3.188, allocations: 6.734 kB / 1.128 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/3.191, allocations: 1.258 MB / 1.129 GB, free: 67.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/3.191, allocations: 5.938 kB / 1.129 GB, free: 67.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/3.193, allocations: 204.7 kB / 1.129 GB, free: 67.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/3.193, allocations: 30.55 kB / 1.13 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/3.193, allocations: 14.28 kB / 1.13 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/3.196, allocations: 2.701 MB / 1.132 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/3.196, allocations: 0 / 1.132 GB, free: 64.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/3.198, allocations: 0.8499 MB / 1.133 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/3.198, allocations: 178.6 kB / 1.133 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/3.198, allocations: 10.33 kB / 1.133 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/3.199, allocations: 34.95 kB / 1.133 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/3.199, allocations: 44.09 kB / 1.133 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.376e-05/3.199, allocations: 48.53 kB / 1.133 GB, free: 64.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007456/3.2, allocations: 417.7 kB / 1.134 GB, free: 64.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/3.2, allocations: 0 / 1.134 GB, free: 64.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002155/3.202, allocations: 376.2 kB / 1.134 GB, free: 64.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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.004576/3.207, allocations: 2.658 MB / 1.137 GB, free: 63.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/3.209, allocations: 0.5484 MB / 1.137 GB, free: 63.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/3.209, allocations: 0.75 kB / 1.137 GB, free: 63.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/3.21, allocations: 395.4 kB / 1.138 GB, free: 63.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/3.213, allocations: 322.2 kB / 1.138 GB, free: 63.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/3.233, allocations: 12.92 MB / 1.15 GB, free: 54.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/3.233, allocations: 0.944 MB / 1.151 GB, free: 53.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001883/3.235, allocations: 268.2 kB / 1.152 GB, free: 53.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008725/3.236, allocations: 266.9 kB / 1.152 GB, free: 53.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.804e-06/3.236, allocations: 0 / 1.152 GB, free: 53.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09504/3.331, allocations: 35.36 MB / 1.186 GB, free: 52.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/3.331, allocations: 274.8 kB / 1.187 GB, free: 51.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.932/7.264, allocations: 0 / 1.187 GB, free: 51.95 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat