Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006861/0.006861, allocations: 107.1 kB / 15.74 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 197.6 kB / 16.68 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.461 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2868/0.2868, allocations: 38 MB / 307.9 MB, free: 10.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 75.91 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2875, allocations: 56.47 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5064/0.7939, allocations: 179.7 MB / 0.6535 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.8108, allocations: 8.189 MB / 0.6615 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.8129, allocations: 21.22 kB / 0.6615 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.8145, allocations: 315.2 kB / 0.6618 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007845/0.8224, allocations: 1.481 MB / 0.6633 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00654/0.829, allocations: 1.144 MB / 0.6644 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004554/0.8335, allocations: 1.845 MB / 0.6662 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.8346, allocations: 462.1 kB / 0.6666 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.8398, allocations: 1.23 MB / 0.6678 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.8422, allocations: 0.6569 MB / 0.6685 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.8425, allocations: 60.31 kB / 0.6685 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.8463, allocations: 0.8275 MB / 0.6693 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.8469, allocations: 266 kB / 0.6696 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008772/0.8478, allocations: 394.1 kB / 0.67 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.8513, allocations: 1.426 MB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8513, allocations: 0 / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.786e-06/0.8513, allocations: 3.875 kB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.8513, allocations: 1.094 kB / 0.6714 GB, free: 1.246 MB / 0.4981 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.004124/0.8554, allocations: 1.129 MB / 0.6725 GB, free: 16.62 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.726e-05/0.8555, allocations: 14.33 kB / 0.6725 GB, free: 16.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.8574, allocations: 129.1 kB / 0.6726 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.859, allocations: 0.535 MB / 0.6731 GB, free: 16.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.8592, allocations: 106.6 kB / 0.6732 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.8594, allocations: 51.25 kB / 0.6733 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.8617, allocations: 0.8117 MB / 0.6741 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.8617, allocations: 5.25 kB / 0.6741 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.8619, allocations: 23.69 kB / 0.6741 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.862, allocations: 40.88 kB / 0.6741 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.8641, allocations: 0.6195 MB / 0.6747 GB, free: 16.02 MB / 0.5137 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.00844/0.8726, allocations: 3.981 MB / 0.6786 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.8737, allocations: 357.6 kB / 0.679 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.8742, allocations: 175.1 kB / 0.6791 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007517/0.875, allocations: 359 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.875, allocations: 38.59 kB / 0.6795 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 3.777e-06/0.8751, allocations: 0.9375 kB / 0.6795 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.0108/0.8859, allocations: 1.668 MB / 0.6811 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.886, allocations: 132.7 kB / 0.6813 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.8874, allocations: 0.6158 MB / 0.6819 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.8875, allocations: 38.67 kB / 0.6819 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.8879, allocations: 364.4 kB / 0.6823 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.8882, allocations: 139.8 kB / 0.6824 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.8886, allocations: 162.4 kB / 0.6825 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002749/0.8888, allocations: 375.6 kB / 0.6829 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.8895, allocations: 201.5 kB / 0.6831 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.8905, allocations: 0.5189 MB / 0.6836 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.8922, allocations: 0.7458 MB / 0.6843 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.8922, allocations: 6.812 kB / 0.6843 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002696/0.8949, allocations: 0.8802 MB / 0.6852 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.895, allocations: 11.75 kB / 0.6852 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.895, allocations: 10.72 kB / 0.6852 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.8974, allocations: 315.7 kB / 0.6855 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.898, allocations: 121.2 kB / 0.6856 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.8999, allocations: 0.9293 MB / 0.6865 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.901, allocations: 29.02 kB / 0.6866 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.9012, allocations: 67.77 kB / 0.6866 GB, free: 10.21 MB / 0.5137 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.0007432/0.902, allocations: 243.5 kB / 0.6869 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.9023, allocations: 76.48 kB / 0.6869 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.9048, allocations: 0.6776 MB / 0.6876 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.9048, allocations: 3.531 kB / 0.6876 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.9048, allocations: 1.844 kB / 0.6876 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.9049, allocations: 2.203 kB / 0.6876 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/0.9088, allocations: 1.611 MB / 0.6892 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.9088, allocations: 2.75 kB / 0.6892 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001945/0.9107, allocations: 205.7 kB / 0.6894 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.9109, allocations: 22.67 kB / 0.6894 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.738e-05/0.911, allocations: 27.92 kB / 0.6894 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003471/0.9145, allocations: 2.876 MB / 0.6922 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9145, allocations: 0 / 0.6922 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.9167, allocations: 0.808 MB / 0.693 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006203/0.9173, allocations: 194.8 kB / 0.6932 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.9175, allocations: 17.25 kB / 0.6932 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/0.9183, allocations: 14.91 kB / 0.6932 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.9184, allocations: 44.06 kB / 0.6933 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.9185, allocations: 48.66 kB / 0.6933 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001028/0.9196, allocations: 441.1 kB / 0.6937 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9196, allocations: 1.094 kB / 0.6938 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002075/0.9217, allocations: 291.2 kB / 0.694 GB, free: 5.992 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001562/0.9233, allocations: 376.1 kB / 0.6944 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.9254, allocations: 0.5409 MB / 0.6949 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9254, allocations: 1.875 kB / 0.6949 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/0.9271, allocations: 423 kB / 0.6953 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.9301, allocations: 370.7 kB / 0.6957 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.9335, allocations: 1.305 MB / 0.6969 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.9344, allocations: 0.9346 MB / 0.6979 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001277/0.9357, allocations: 265.5 kB / 0.6981 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.9361, allocations: 96.52 kB / 0.6982 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.9361, allocations: 2.812 kB / 0.6982 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of Templates: time 0.05205/0.9882, allocations: 18.5 MB / 0.7163 GB, free: 8.594 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)