Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001168/0.001168, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001235/0.001235, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3126/0.3126, allocations: 40 MB / 310.4 MB, free: 9.738 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.2. 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.0005173/0.0005174, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.382/0.5004, allocations: 141.9 MB / 0.5651 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.5128, allocations: 8.808 MB / 0.5737 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.5138, allocations: 19.81 kB / 0.5737 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009676/0.5148, allocations: 270.5 kB / 0.574 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.5187, allocations: 1.187 MB / 0.5752 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.5215, allocations: 0.8977 MB / 0.576 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.5234, allocations: 1.047 MB / 0.577 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.5241, allocations: 379.8 kB / 0.5774 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.5257, allocations: 0.7401 MB / 0.5781 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/0.5264, allocations: 458.5 kB / 0.5786 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.303e-05/0.5265, allocations: 35.94 kB / 0.5786 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.5282, allocations: 0.6203 MB / 0.5792 GB, free: 7.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.5284, allocations: 219.4 kB / 0.5794 GB, free: 7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.5287, allocations: 161.4 kB / 0.5796 GB, free: 6.836 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.5298, allocations: 0.9818 MB / 0.5805 GB, free: 5.859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5298, allocations: 0 / 0.5805 GB, free: 5.859 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5298, allocations: 3.938 kB / 0.5805 GB, free: 5.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5299, allocations: 0 / 0.5805 GB, free: 5.855 MB / 446.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.001998/0.5319, allocations: 0.9908 MB / 0.5815 GB, free: 4.816 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.5319, allocations: 12.56 kB / 0.5815 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.5327, allocations: 135.1 kB / 0.5816 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.5335, allocations: 488.6 kB / 0.5821 GB, free: 4.152 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.5336, allocations: 108.3 kB / 0.5822 GB, free: 4.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.5337, allocations: 48 kB / 0.5823 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.5349, allocations: 0.8124 MB / 0.5831 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.535, allocations: 4 kB / 0.5831 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.535, allocations: 24 kB / 0.5831 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.5351, allocations: 44.91 kB / 0.5831 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009761/0.5361, allocations: 0.6205 MB / 0.5837 GB, free: 2.41 MB / 446.1 MB 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.004302/0.5404, allocations: 3.958 MB / 0.5876 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.541, allocations: 355.6 kB / 0.5879 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.044e-05/0.5411, allocations: 28.92 kB / 0.588 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.5411, allocations: 34.84 kB / 0.588 GB, free: 13.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.655e-06/0.5411, allocations: 0 / 0.588 GB, free: 13.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=39): time 0.005422/0.5465, allocations: 1.667 MB / 0.5896 GB, free: 12.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.5466, allocations: 144.4 kB / 0.5898 GB, free: 11.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.5474, allocations: 0.6093 MB / 0.5904 GB, free: 11.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.5474, allocations: 29.7 kB / 0.5904 GB, free: 11.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.5477, allocations: 363 kB / 0.5907 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5479, allocations: 149.9 kB / 0.5909 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.5479, allocations: 12 kB / 0.5909 GB, free: 10.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5481, allocations: 374.8 kB / 0.5912 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.5484, allocations: 201.9 kB / 0.5914 GB, free: 10.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.5489, allocations: 0.5047 MB / 0.5919 GB, free: 9.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.5494, allocations: 291.8 kB / 0.5922 GB, free: 9.199 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.5494, allocations: 7.938 kB / 0.5922 GB, free: 9.191 MB / 462.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001319/0.5507, allocations: 0.8761 MB / 0.5931 GB, free: 8.305 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5507, allocations: 11.95 kB / 0.5931 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.5508, allocations: 12 kB / 0.5931 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.5522, allocations: 325.3 kB / 0.5934 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.5526, allocations: 123.8 kB / 0.5935 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.5536, allocations: 0.9343 MB / 0.5944 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.5542, allocations: 44.05 kB / 0.5945 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/0.5543, allocations: 63.98 kB / 0.5945 GB, free: 6.777 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003385/0.5546, allocations: 245.5 kB / 0.5948 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.5548, allocations: 71.16 kB / 0.5948 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.5561, allocations: 0.6804 MB / 0.5955 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5562, allocations: 9.516 kB / 0.5955 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5562, allocations: 0 / 0.5955 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5562, allocations: 0 / 0.5955 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.558, allocations: 1.273 MB / 0.5968 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.558, allocations: 0 / 0.5968 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.559, allocations: 211.9 kB / 0.597 GB, free: 4.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-05/0.5591, allocations: 24.84 kB / 0.597 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.5592, allocations: 19.98 kB / 0.597 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.5611, allocations: 2.701 MB / 0.5996 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5611, allocations: 4.031 kB / 0.5996 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.5623, allocations: 0.8489 MB / 0.6005 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.5626, allocations: 188.2 kB / 0.6006 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.5627, allocations: 11.25 kB / 0.6007 GB, free: 56 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.5631, allocations: 28.05 kB / 0.6007 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5633, allocations: 36 kB / 0.6007 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.5633, allocations: 43.94 kB / 0.6008 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005095/0.5638, allocations: 435 kB / 0.6012 GB, free: 15.53 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5638, allocations: 0 / 0.6012 GB, free: 15.53 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001024/0.5649, allocations: 287.9 kB / 0.6015 GB, free: 15.25 MB / 478.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008992/0.5658, allocations: 380.2 kB / 0.6018 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.5669, allocations: 0.5375 MB / 0.6023 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5669, allocations: 0 / 0.6023 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.5679, allocations: 420 kB / 0.6027 GB, free: 13.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.5694, allocations: 325.6 kB / 0.6031 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.5716, allocations: 1.543 MB / 0.6046 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.5721, allocations: 0.9494 MB / 0.6055 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.5732, allocations: 266 kB / 0.6057 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.5735, allocations: 95.41 kB / 0.6058 GB, free: 10.69 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5735, allocations: 4 kB / 0.6058 GB, free: 10.69 MB / 478.1 MB Notification: Performance of Templates: time 0.02801/0.6015, allocations: 17.07 MB / 0.6225 GB, free: 9.66 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) Environment - environmentSimulation: