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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001659/0.001659, allocations: 108.6 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 213.8 kB / 22.99 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2429/0.2429, allocations: 46.89 MB / 359.4 MB, free: 4.984 MB / 286.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "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.002297/0.002297, allocations: 83.86 kB / 0.4941 GB, free: 8.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3867, allocations: 65.99 MB / 0.5586 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.221/0.6078, allocations: 178 MB / 0.7324 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4023/1.01, allocations: 5.371 MB / 0.7377 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/1.011, allocations: 22.25 kB / 0.7377 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/1.012, allocations: 323.4 kB / 0.738 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004258/1.016, allocations: 1.36 MB / 0.7393 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003431/1.02, allocations: 1.067 MB / 0.7404 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002767/1.023, allocations: 1.865 MB / 0.7422 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/1.023, allocations: 393.5 kB / 0.7426 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/1.026, allocations: 1.105 MB / 0.7436 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/1.027, allocations: 0.7944 MB / 0.7444 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001221/1.028, allocations: 64.11 kB / 0.7445 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/1.029, allocations: 0.6362 MB / 0.7451 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/1.029, allocations: 265 kB / 0.7454 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/1.03, allocations: 403 kB / 0.7457 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/1.032, allocations: 1.31 MB / 0.747 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.032, allocations: 0 / 0.747 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/1.032, allocations: 0.9062 kB / 0.747 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.133e-05/1.032, allocations: 1.203 kB / 0.747 GB, free: 1.598 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.002277/1.034, allocations: 1.125 MB / 0.7481 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/1.034, allocations: 9.469 kB / 0.7481 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/1.034, allocations: 94.17 kB / 0.7482 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/1.035, allocations: 148.4 kB / 0.7484 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/1.036, allocations: 0.5312 MB / 0.7489 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/1.036, allocations: 107.7 kB / 0.749 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/1.036, allocations: 51.56 kB / 0.749 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.037, allocations: 0.8196 MB / 0.7498 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.037, allocations: 4.031 kB / 0.7498 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/1.037, allocations: 23.94 kB / 0.7499 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-05/1.037, allocations: 45.27 kB / 0.7499 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009255/1.038, allocations: 0.6194 MB / 0.7505 GB, free: 16.34 MB / 0.5762 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.004339/1.042, allocations: 3.947 MB / 0.7544 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/1.043, allocations: 338.9 kB / 0.7547 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/1.043, allocations: 167.5 kB / 0.7548 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/1.043, allocations: 95.78 kB / 0.7549 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.043, allocations: 36.91 kB / 0.755 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/1.043, allocations: 4.188 kB / 0.755 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005435/1.049, allocations: 1.678 MB / 0.7566 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.049, allocations: 135.1 kB / 0.7567 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/1.05, allocations: 0.6158 MB / 0.7573 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/1.05, allocations: 37.77 kB / 0.7574 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/1.05, allocations: 371 kB / 0.7577 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/1.05, allocations: 151.7 kB / 0.7579 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.05, allocations: 158.9 kB / 0.758 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001953/1.05, allocations: 376.7 kB / 0.7584 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/1.051, allocations: 202.5 kB / 0.7586 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/1.051, allocations: 0.517 MB / 0.7591 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/1.052, allocations: 0.7456 MB / 0.7598 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.052, allocations: 4.969 kB / 0.7598 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001325/1.054, allocations: 0.881 MB / 0.7607 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/1.054, allocations: 14.14 kB / 0.7607 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.054, allocations: 8.438 kB / 0.7607 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/1.055, allocations: 314.2 kB / 0.761 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.055, allocations: 126.2 kB / 0.7611 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/1.056, allocations: 0.931 MB / 0.762 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/1.057, allocations: 32.05 kB / 0.7621 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/1.057, allocations: 69.28 kB / 0.7621 GB, free: 10.73 MB / 0.5762 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.0003651/1.057, allocations: 244.4 kB / 0.7624 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.058, allocations: 71.14 kB / 0.7624 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/1.059, allocations: 0.8614 MB / 0.7633 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.059, allocations: 6.75 kB / 0.7633 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.059, allocations: 0 / 0.7633 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.059, allocations: 3.984 kB / 0.7633 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/1.061, allocations: 1.463 MB / 0.7647 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.061, allocations: 0.875 kB / 0.7647 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009912/1.062, allocations: 212.2 kB / 0.7649 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/1.062, allocations: 25.12 kB / 0.7649 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/1.062, allocations: 24.27 kB / 0.765 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/1.065, allocations: 2.872 MB / 0.7678 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.065, allocations: 7.344 kB / 0.7678 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.066, allocations: 0.8198 MB / 0.7686 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.066, allocations: 188.7 kB / 0.7687 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.136e-05/1.066, allocations: 20.72 kB / 0.7688 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/1.067, allocations: 23.5 kB / 0.7688 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/1.067, allocations: 41.02 kB / 0.7688 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/1.067, allocations: 44.06 kB / 0.7689 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004855/1.067, allocations: 440.1 kB / 0.7693 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/1.067, allocations: 1.031 kB / 0.7693 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009203/1.068, allocations: 252 kB / 0.7695 GB, free: 6.578 MB / 0.5762 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.00214/1.07, allocations: 1.562 MB / 0.7711 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001137/1.071, allocations: 0.5295 MB / 0.7716 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.071, allocations: 5.062 kB / 0.7716 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009511/1.072, allocations: 415.2 kB / 0.772 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.074, allocations: 374.1 kB / 0.7723 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009358/1.083, allocations: 6.334 MB / 0.7785 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/1.084, allocations: 0.9335 MB / 0.7794 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001283/1.085, allocations: 464.2 kB / 0.7799 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/1.086, allocations: 286.7 kB / 0.7801 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/1.086, allocations: 0 / 0.7801 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0894/1.175, allocations: 24.62 MB / 0.8042 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/14.38, allocations: 64 / 0.8042 GB, free: 6.539 MB / 0.5919 GB " [Timeout remaining time 646] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.41842768198694] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.48941313000978 14.510589165 13.474739128 Calling exit ...