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.001664/0.001664, allocations: 109.4 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.002154/0.002154, allocations: 218.7 kB / 23 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.48/1.48, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2386/0.2386, allocations: 46.88 MB / 359.4 MB, free: 4.926 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.002273/0.002273, allocations: 83.84 kB / 0.4941 GB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3957, allocations: 65.99 MB / 0.5586 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2212/0.6169, allocations: 178 MB / 0.7324 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4317/1.049, allocations: 5.373 MB / 0.7377 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008109/1.049, allocations: 18.03 kB / 0.7377 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009841/1.05, allocations: 324.5 kB / 0.738 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004013/1.054, allocations: 1.361 MB / 0.7393 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003509/1.058, allocations: 1.069 MB / 0.7404 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002809/1.061, allocations: 1.86 MB / 0.7422 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/1.061, allocations: 395.3 kB / 0.7426 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/1.064, allocations: 1.101 MB / 0.7436 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/1.065, allocations: 0.8018 MB / 0.7444 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/1.065, allocations: 61.91 kB / 0.7445 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/1.066, allocations: 0.6344 MB / 0.7451 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/1.067, allocations: 270.1 kB / 0.7454 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004848/1.067, allocations: 402.5 kB / 0.7457 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/1.069, allocations: 1.308 MB / 0.747 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.069, allocations: 0 / 0.747 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/1.069, allocations: 1.031 kB / 0.747 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.213e-05/1.069, allocations: 1.203 kB / 0.747 GB, free: 1.605 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.002291/1.071, allocations: 1.127 MB / 0.7481 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.072, allocations: 10.19 kB / 0.7481 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/1.072, allocations: 94.62 kB / 0.7482 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007696/1.072, allocations: 141.5 kB / 0.7484 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/1.073, allocations: 0.5382 MB / 0.7489 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/1.073, allocations: 108.5 kB / 0.749 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.563e-05/1.073, allocations: 48.31 kB / 0.749 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/1.075, allocations: 0.8148 MB / 0.7498 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.075, allocations: 5.938 kB / 0.7498 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/1.075, allocations: 27.64 kB / 0.7499 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.465e-05/1.075, allocations: 38.47 kB / 0.7499 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000979/1.076, allocations: 0.6213 MB / 0.7505 GB, free: 16.35 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.004372/1.08, allocations: 3.946 MB / 0.7544 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/1.081, allocations: 336.9 kB / 0.7547 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/1.081, allocations: 163 kB / 0.7548 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/1.081, allocations: 90.78 kB / 0.7549 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.081, allocations: 45.09 kB / 0.755 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/1.081, allocations: 0 / 0.755 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005293/1.086, allocations: 1.689 MB / 0.7566 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.087, allocations: 135.4 kB / 0.7567 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/1.087, allocations: 0.6153 MB / 0.7573 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/1.087, allocations: 38.08 kB / 0.7574 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/1.088, allocations: 373.3 kB / 0.7577 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/1.088, allocations: 152.2 kB / 0.7579 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.088, allocations: 159.5 kB / 0.758 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.088, allocations: 375.4 kB / 0.7584 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/1.089, allocations: 203.6 kB / 0.7586 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/1.089, allocations: 0.5154 MB / 0.7591 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.09, allocations: 0.7482 MB / 0.7598 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.09, allocations: 4.281 kB / 0.7598 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001453/1.092, allocations: 0.8783 MB / 0.7607 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.092, allocations: 12.98 kB / 0.7607 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.092, allocations: 14.03 kB / 0.7607 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/1.093, allocations: 313.5 kB / 0.761 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/1.094, allocations: 120.8 kB / 0.7611 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/1.095, allocations: 0.9301 MB / 0.762 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/1.095, allocations: 31.3 kB / 0.7621 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.096, allocations: 70.05 kB / 0.7621 GB, free: 10.74 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.0004541/1.096, allocations: 246.5 kB / 0.7624 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/1.096, allocations: 71.2 kB / 0.7624 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/1.098, allocations: 0.8624 MB / 0.7633 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.098, allocations: 8.938 kB / 0.7633 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.098, allocations: 0 / 0.7633 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.098, allocations: 3.906 kB / 0.7633 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/1.1, allocations: 1.459 MB / 0.7647 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.1, allocations: 0.9062 kB / 0.7647 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009941/1.101, allocations: 208.3 kB / 0.7649 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.564e-05/1.101, allocations: 29.23 kB / 0.7649 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/1.101, allocations: 24.11 kB / 0.765 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002454/1.104, allocations: 2.879 MB / 0.7678 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.104, allocations: 7.125 kB / 0.7678 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/1.105, allocations: 0.8193 MB / 0.7686 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/1.105, allocations: 192 kB / 0.7688 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/1.106, allocations: 14.06 kB / 0.7688 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/1.106, allocations: 19.12 kB / 0.7688 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/1.106, allocations: 36.98 kB / 0.7688 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/1.106, allocations: 43.89 kB / 0.7689 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004857/1.107, allocations: 440.5 kB / 0.7693 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.107, allocations: 0 / 0.7693 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000938/1.108, allocations: 261.5 kB / 0.7695 GB, free: 6.59 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.002298/1.11, allocations: 1.552 MB / 0.7711 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.111, allocations: 0.5336 MB / 0.7716 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/1.111, allocations: 5.906 kB / 0.7716 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009522/1.112, allocations: 405.9 kB / 0.772 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.114, allocations: 384.4 kB / 0.7723 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008605/1.122, allocations: 6.333 MB / 0.7785 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/1.123, allocations: 0.9335 MB / 0.7794 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001143/1.124, allocations: 464.2 kB / 0.7799 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/1.125, allocations: 282.9 kB / 0.7801 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/1.125, allocations: 4 kB / 0.7801 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07057/1.195, allocations: 24.64 MB / 0.8042 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.19, allocations: 3.938 kB / 0.8042 GB, free: 6.574 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.099221220996697] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.301419024006464 14.32694252 13.253234388 Calling exit ...