Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2613/0.2613, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4003, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2319/0.6322, allocations: 177.3 MB / 0.7037 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008524/0.6408, allocations: 5.335 MB / 0.7089 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007051/0.6415, allocations: 19.88 kB / 0.7089 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.6426, allocations: 318 kB / 0.7092 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003667/0.6463, allocations: 1.348 MB / 0.7106 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.6492, allocations: 1.058 MB / 0.7116 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.6517, allocations: 1.852 MB / 0.7134 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006933/0.6524, allocations: 461.4 kB / 0.7138 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.6549, allocations: 1.094 MB / 0.7149 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.6564, allocations: 0.7589 MB / 0.7157 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.6565, allocations: 64 kB / 0.7157 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.6581, allocations: 0.6272 MB / 0.7163 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.6584, allocations: 267.3 kB / 0.7166 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.6589, allocations: 390.2 kB / 0.717 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.6607, allocations: 1.308 MB / 0.7182 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6608, allocations: 0 / 0.7182 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.172e-06/0.6608, allocations: 0 / 0.7182 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.6608, allocations: 7.938 kB / 0.7182 GB, free: 0.918 MB / 0.5606 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.2745/0.9353, allocations: 1.114 MB / 0.7193 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.9354, allocations: 9.5 kB / 0.7193 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.9355, allocations: 98.59 kB / 0.7194 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.9366, allocations: 138.7 kB / 0.7196 GB, free: 186.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.9376, allocations: 0.5375 MB / 0.7201 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.9378, allocations: 107.2 kB / 0.7202 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.9379, allocations: 51.5 kB / 0.7202 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.9393, allocations: 0.8136 MB / 0.721 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.9394, allocations: 8.906 kB / 0.721 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.9395, allocations: 27.83 kB / 0.7211 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-05/0.9396, allocations: 39.39 kB / 0.7211 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.9405, allocations: 0.6187 MB / 0.7217 GB, free: 184.9 MB / 0.5606 GB 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.003691/0.9442, allocations: 3.939 MB / 0.7256 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.9448, allocations: 363.7 kB / 0.7259 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.9451, allocations: 167.4 kB / 0.7261 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.9452, allocations: 90.39 kB / 0.7262 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.9452, allocations: 41.66 kB / 0.7262 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.234e-06/0.9452, allocations: 3.656 kB / 0.7262 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005333/0.9505, allocations: 1.688 MB / 0.7278 GB, free: 180 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.9506, allocations: 133.3 kB / 0.728 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.9513, allocations: 0.6129 MB / 0.7286 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.9513, allocations: 32.48 kB / 0.7286 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.9515, allocations: 376.7 kB / 0.729 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.9516, allocations: 149.8 kB / 0.7291 GB, free: 179 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.9518, allocations: 156.8 kB / 0.7293 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.9519, allocations: 378.4 kB / 0.7296 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.9522, allocations: 205 kB / 0.7298 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.9526, allocations: 0.509 MB / 0.7303 GB, free: 178 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/0.9535, allocations: 0.7495 MB / 0.731 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.9535, allocations: 6.938 kB / 0.731 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001299/0.9548, allocations: 0.8921 MB / 0.7319 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9548, allocations: 9.156 kB / 0.7319 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.9548, allocations: 10.59 kB / 0.7319 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.9561, allocations: 315.6 kB / 0.7322 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.9565, allocations: 130.2 kB / 0.7324 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009318/0.9574, allocations: 0.9291 MB / 0.7333 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.958, allocations: 34.52 kB / 0.7333 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.9581, allocations: 65.67 kB / 0.7334 GB, free: 176 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.9584, allocations: 244.5 kB / 0.7336 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.9585, allocations: 70.08 kB / 0.7337 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.96, allocations: 0.8571 MB / 0.7345 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.96, allocations: 5.438 kB / 0.7345 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.96, allocations: 1.219 kB / 0.7345 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.96, allocations: 3.984 kB / 0.7345 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.9616, allocations: 1.451 MB / 0.7359 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.9616, allocations: 7.953 kB / 0.7359 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.9625, allocations: 207.8 kB / 0.7361 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.311e-05/0.9626, allocations: 29.84 kB / 0.7362 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.9627, allocations: 22.86 kB / 0.7362 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.964, allocations: 2.885 MB / 0.739 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.964, allocations: 0.9375 kB / 0.739 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.965, allocations: 0.8199 MB / 0.7398 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.9653, allocations: 188.7 kB / 0.74 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.555e-05/0.9654, allocations: 23.92 kB / 0.74 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.9657, allocations: 12 kB / 0.74 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.9658, allocations: 43.89 kB / 0.7401 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.9659, allocations: 43.98 kB / 0.7401 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003906/0.9663, allocations: 439 kB / 0.7405 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9663, allocations: 0 / 0.7405 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009055/0.9672, allocations: 255.8 kB / 0.7408 GB, free: 169.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/0.9689, allocations: 1.56 MB / 0.7423 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009595/0.9699, allocations: 0.5636 MB / 0.7428 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9699, allocations: 5.219 kB / 0.7428 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/0.9707, allocations: 423.4 kB / 0.7432 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.9722, allocations: 369.4 kB / 0.7436 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/0.9788, allocations: 6.331 MB / 0.7498 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.9791, allocations: 0.9417 MB / 0.7507 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008601/0.98, allocations: 458.4 kB / 0.7511 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.9804, allocations: 287.3 kB / 0.7514 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.9804, allocations: 0 / 0.7514 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05734/1.038, allocations: 24.46 MB / 0.7753 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.16, allocations: 23.69 kB / 0.7753 GB, free: 133.9 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)