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.001372/0.001372, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2243/0.2243, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002182/0.002182, allocations: 83.95 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1294, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4688/0.5982, allocations: 177.3 MB / 0.6421 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008096/0.6064, allocations: 5.327 MB / 0.6473 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009181/0.6074, allocations: 23.81 kB / 0.6473 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.6086, allocations: 322 kB / 0.6476 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004021/0.6127, allocations: 1.335 MB / 0.6489 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.6159, allocations: 1.061 MB / 0.6499 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.6187, allocations: 1.852 MB / 0.6517 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008256/0.6195, allocations: 471 kB / 0.6522 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.6224, allocations: 1.078 MB / 0.6532 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.6242, allocations: 0.751 MB / 0.654 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.6245, allocations: 64 kB / 0.654 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.6265, allocations: 0.5774 MB / 0.6546 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.6269, allocations: 271.3 kB / 0.6549 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000629/0.6276, allocations: 402.2 kB / 0.6552 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.6298, allocations: 1.289 MB / 0.6565 GB, free: 2.992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6298, allocations: 4 kB / 0.6565 GB, free: 2.988 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6298, allocations: 0 / 0.6565 GB, free: 2.988 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.6298, allocations: 0 / 0.6565 GB, free: 2.988 MB / 494.1 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.002606/0.6324, allocations: 1.109 MB / 0.6576 GB, free: 1.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6325, allocations: 12.03 kB / 0.6576 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.6326, allocations: 94.52 kB / 0.6577 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.6335, allocations: 131.1 kB / 0.6578 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.6344, allocations: 0.508 MB / 0.6583 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.6345, allocations: 100.4 kB / 0.6584 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.6346, allocations: 47.98 kB / 0.6585 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.6363, allocations: 0.8246 MB / 0.6593 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.6363, allocations: 0 / 0.6593 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.6364, allocations: 27.94 kB / 0.6593 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.6365, allocations: 36.98 kB / 0.6593 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.6377, allocations: 0.6282 MB / 0.6599 GB, free: 15.29 MB / 0.4981 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.006191/0.6439, allocations: 3.955 MB / 0.6638 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.6446, allocations: 347.6 kB / 0.6641 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.6451, allocations: 173.3 kB / 0.6643 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.6453, allocations: 97.31 kB / 0.6644 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.6454, allocations: 38.78 kB / 0.6644 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 4.117e-06/0.6454, allocations: 4 kB / 0.6644 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006813/0.6522, allocations: 1.676 MB / 0.6661 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.6524, allocations: 136.5 kB / 0.6662 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.6535, allocations: 0.6171 MB / 0.6668 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.6535, allocations: 29.7 kB / 0.6668 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.6539, allocations: 370.9 kB / 0.6672 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.6541, allocations: 138 kB / 0.6673 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.6543, allocations: 158.5 kB / 0.6675 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002305/0.6546, allocations: 374.8 kB / 0.6678 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.6549, allocations: 205.9 kB / 0.668 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006807/0.6556, allocations: 0.5086 MB / 0.6685 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.6567, allocations: 0.7592 MB / 0.6693 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.6568, allocations: 4 kB / 0.6693 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001713/0.6585, allocations: 0.8878 MB / 0.6701 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.6585, allocations: 8 kB / 0.6701 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.6585, allocations: 15.94 kB / 0.6701 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.66, allocations: 300.7 kB / 0.6704 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.6604, allocations: 131.7 kB / 0.6706 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.6617, allocations: 0.929 MB / 0.6715 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.6622, allocations: 28 kB / 0.6715 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.6623, allocations: 67.98 kB / 0.6716 GB, free: 2.637 MB / 0.4981 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.0004128/0.6628, allocations: 245.5 kB / 0.6718 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6629, allocations: 75.16 kB / 0.6719 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.6648, allocations: 0.8578 MB / 0.6727 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6648, allocations: 4 kB / 0.6727 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6648, allocations: 0 / 0.6727 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6648, allocations: 3.984 kB / 0.6727 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.6671, allocations: 1.469 MB / 0.6741 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.6671, allocations: 3.938 kB / 0.6741 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.6682, allocations: 207.8 kB / 0.6743 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.711e-05/0.6683, allocations: 25.03 kB / 0.6744 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.6683, allocations: 19.98 kB / 0.6744 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.6709, allocations: 2.878 MB / 0.6772 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6709, allocations: 4 kB / 0.6772 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.6723, allocations: 0.8291 MB / 0.678 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.6727, allocations: 184.3 kB / 0.6782 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.6728, allocations: 16 kB / 0.6782 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.6732, allocations: 16.06 kB / 0.6782 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6733, allocations: 43.83 kB / 0.6783 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.6734, allocations: 47.97 kB / 0.6783 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006015/0.674, allocations: 439 kB / 0.6787 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.674, allocations: 0 / 0.6787 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009691/0.675, allocations: 248 kB / 0.679 GB, free: 10.56 MB / 0.5137 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.002412/0.6774, allocations: 1.578 MB / 0.6805 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.6788, allocations: 0.5904 MB / 0.6811 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6788, allocations: 0 / 0.6811 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.6799, allocations: 426.2 kB / 0.6815 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.6819, allocations: 368.9 kB / 0.6818 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.6923, allocations: 6.548 MB / 0.6882 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.693, allocations: 0.9261 MB / 0.6891 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001477/0.6945, allocations: 477.8 kB / 0.6896 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005691/0.6951, allocations: 283.3 kB / 0.6899 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.6951, allocations: 0 / 0.6899 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2829/0.978, allocations: 24.2 MB / 0.7135 GB, free: 198.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.55, allocations: 12.12 kB / 0.7135 GB, free: 198.7 MB / 0.5294 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)