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.001715/0.001715, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002068/0.002068, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2328/0.2328, allocations: 46.94 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] 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.002356/0.002356, allocations: 80.09 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3632, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2156/0.5788, allocations: 178 MB / 0.7354 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3464/0.9252, allocations: 5.368 MB / 0.7406 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.926, allocations: 27.16 kB / 0.7407 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.927, allocations: 325.9 kB / 0.741 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.9309, allocations: 1.376 MB / 0.7423 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002741/0.9336, allocations: 1.083 MB / 0.7434 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.936, allocations: 1.884 MB / 0.7452 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.9366, allocations: 391.3 kB / 0.7456 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.939, allocations: 1.113 MB / 0.7467 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.9403, allocations: 0.8008 MB / 0.7474 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.886e-05/0.9404, allocations: 62.09 kB / 0.7475 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.9419, allocations: 0.6393 MB / 0.7481 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002538/0.9421, allocations: 274.6 kB / 0.7484 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.9426, allocations: 392.1 kB / 0.7488 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.9443, allocations: 1.311 MB / 0.75 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9443, allocations: 0 / 0.75 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9443, allocations: 2.141 kB / 0.75 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.9444, allocations: 2.375 kB / 0.7501 GB, free: 1.562 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.002299/0.9467, allocations: 1.048 MB / 0.7511 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.9467, allocations: 8.031 kB / 0.7511 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.9468, allocations: 102.8 kB / 0.7512 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007919/0.9476, allocations: 138.2 kB / 0.7513 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.9485, allocations: 475 kB / 0.7518 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.9486, allocations: 155.7 kB / 0.7519 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/0.9487, allocations: 49.12 kB / 0.752 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.9498, allocations: 0.8217 MB / 0.7528 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.9498, allocations: 6.375 kB / 0.7528 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.9499, allocations: 22.5 kB / 0.7528 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.9499, allocations: 41.95 kB / 0.7528 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009311/0.9509, allocations: 0.6228 MB / 0.7534 GB, free: 16.4 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.004214/0.9551, allocations: 3.892 MB / 0.7572 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.9556, allocations: 340.2 kB / 0.7576 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.9558, allocations: 159.1 kB / 0.7577 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.088e-05/0.9559, allocations: 18.92 kB / 0.7577 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.9559, allocations: 37.12 kB / 0.7578 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.9559, allocations: 1.875 kB / 0.7578 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005182/0.9611, allocations: 1.616 MB / 0.7593 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.9612, allocations: 132.6 kB / 0.7595 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.9619, allocations: 0.6136 MB / 0.7601 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.9619, allocations: 38.64 kB / 0.7601 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.9621, allocations: 373.9 kB / 0.7605 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-05/0.9622, allocations: 150 kB / 0.7606 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.9624, allocations: 156.7 kB / 0.7608 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.9626, allocations: 376.8 kB / 0.7611 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.9629, allocations: 207 kB / 0.7613 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.9635, allocations: 0.5109 MB / 0.7618 GB, free: 12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009076/0.9644, allocations: 0.7505 MB / 0.7625 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9644, allocations: 2.812 kB / 0.7625 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001308/0.9657, allocations: 0.8826 MB / 0.7634 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9657, allocations: 8.688 kB / 0.7634 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9657, allocations: 11.94 kB / 0.7634 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.9671, allocations: 313.2 kB / 0.7637 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.9674, allocations: 121.2 kB / 0.7638 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.9685, allocations: 0.933 MB / 0.7648 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.9691, allocations: 26.5 kB / 0.7648 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/0.9691, allocations: 66.5 kB / 0.7648 GB, free: 11.01 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.0003825/0.9695, allocations: 249 kB / 0.7651 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.9696, allocations: 69.58 kB / 0.7651 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.9711, allocations: 0.8692 MB / 0.766 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.9711, allocations: 5.375 kB / 0.766 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9711, allocations: 0 / 0.766 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9711, allocations: 3.797 kB / 0.766 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.973, allocations: 1.209 MB / 0.7672 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.973, allocations: 3.406 kB / 0.7672 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009801/0.974, allocations: 213.6 kB / 0.7674 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.631e-05/0.974, allocations: 28.97 kB / 0.7674 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.9741, allocations: 20.36 kB / 0.7674 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.9764, allocations: 2.678 MB / 0.7701 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9764, allocations: 3.594 kB / 0.7701 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.9777, allocations: 0.8179 MB / 0.7709 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.978, allocations: 119.6 kB / 0.771 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.9781, allocations: 12.59 kB / 0.771 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.9784, allocations: 16.16 kB / 0.771 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.9785, allocations: 38.16 kB / 0.771 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.9786, allocations: 43.95 kB / 0.7711 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005128/0.9791, allocations: 439.3 kB / 0.7715 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.9791, allocations: 0.875 kB / 0.7715 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009691/0.9801, allocations: 256.7 kB / 0.7717 GB, free: 7.52 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.002022/0.9821, allocations: 1.545 MB / 0.7733 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.9832, allocations: 0.5365 MB / 0.7738 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9832, allocations: 4.609 kB / 0.7738 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009698/0.9842, allocations: 405.5 kB / 0.7742 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.9857, allocations: 361.6 kB / 0.7745 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/0.9939, allocations: 6.33 MB / 0.7807 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.9945, allocations: 0.935 MB / 0.7816 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001025/0.9955, allocations: 467.9 kB / 0.7821 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004218/0.9959, allocations: 289 kB / 0.7823 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.9959, allocations: 7.938 kB / 0.7823 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06048/1.056, allocations: 24.95 MB / 0.8067 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14, allocations: 18.23 kB / 0.8067 GB, free: 6.879 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 --stepSize=0.000201919 --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: 16.95177170680836] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.11024193931371 14.135040571 13.186068131 Calling exit ...