Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 99.86 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.001549/0.001549, 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.462/1.462, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3473/0.3473, allocations: 38.03 MB / 308.4 MB, free: 10.43 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.000645/0.0006451, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1296, allocations: 57.52 MB / 433.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3884/0.518, allocations: 155.7 MB / 0.5758 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.5301, allocations: 10.66 MB / 0.5862 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007377/0.5309, allocations: 27.75 kB / 0.5862 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008855/0.5318, allocations: 346.3 kB / 0.5866 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.5366, allocations: 1.975 MB / 0.5885 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004112/0.5407, allocations: 1.722 MB / 0.5902 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.5422, allocations: 1.224 MB / 0.5914 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006184/0.5428, allocations: 0.5012 MB / 0.5919 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/0.5453, allocations: 1.379 MB / 0.5932 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008671/0.5461, allocations: 0.6037 MB / 0.5938 GB, free: 9.703 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.5463, allocations: 48 kB / 0.5939 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.5572, allocations: 4.49 MB / 0.5982 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006967/0.558, allocations: 351.1 kB / 0.5986 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004594/0.5584, allocations: 209.3 kB / 0.5988 GB, free: 4.605 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005713/0.5642, allocations: 2.405 MB / 0.6011 GB, free: 2.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.5642, allocations: 0 / 0.6011 GB, free: 2.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5642, allocations: 3.938 kB / 0.6011 GB, free: 2.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.5643, allocations: 0 / 0.6011 GB, free: 2.195 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005501/0.5698, allocations: 1.536 MB / 0.6026 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5698, allocations: 8.031 kB / 0.6026 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006227/0.5705, allocations: 114.9 kB / 0.6027 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.5719, allocations: 0.5822 MB / 0.6033 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.5721, allocations: 113.4 kB / 0.6034 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.5723, allocations: 75.98 kB / 0.6035 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.575, allocations: 1.155 MB / 0.6046 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.575, allocations: 3.938 kB / 0.6046 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.5752, allocations: 32 kB / 0.6047 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/0.5753, allocations: 57.97 kB / 0.6047 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.5781, allocations: 1.167 MB / 0.6059 GB, free: 13.2 MB / 478.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.009326/0.5874, allocations: 5.033 MB / 0.6108 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.5899, allocations: 0.8388 MB / 0.6116 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/0.5915, allocations: 1.556 MB / 0.6131 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.5916, allocations: 47.08 kB / 0.6131 GB, free: 5.051 MB / 478.1 MB Notification: Performance of pre-optimization done (n=70): time 3.597e-06/0.5916, allocations: 0 / 0.6131 GB, free: 5.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.01932/0.6109, allocations: 4.133 MB / 0.6172 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.611, allocations: 123.4 kB / 0.6173 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.6123, allocations: 0.6563 MB / 0.6179 GB, free: 52 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.6124, allocations: 41.7 kB / 0.618 GB, free: 4 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.6128, allocations: 387.5 kB / 0.6184 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.6132, allocations: 291.9 kB / 0.6186 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/0.6133, allocations: 20 kB / 0.6187 GB, free: 15.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.6135, allocations: 386.8 kB / 0.619 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.6149, allocations: 0.4899 MB / 0.6195 GB, free: 14.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.6167, allocations: 0.7562 MB / 0.6202 GB, free: 13.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.6183, allocations: 0.5846 MB / 0.6208 GB, free: 12.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.6183, allocations: 7.938 kB / 0.6208 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004581/0.6229, allocations: 1.688 MB / 0.6225 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.6229, allocations: 11.98 kB / 0.6225 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.623, allocations: 8 kB / 0.6225 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00745/0.6304, allocations: 1.398 MB / 0.6238 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.6312, allocations: 159.7 kB / 0.624 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.634, allocations: 1.549 MB / 0.6255 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.6351, allocations: 87.84 kB / 0.6256 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/0.6353, allocations: 59.98 kB / 0.6257 GB, free: 7.98 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0005761/0.6359, allocations: 306.5 kB / 0.6259 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.6361, allocations: 87.02 kB / 0.626 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.6397, allocations: 1.657 MB / 0.6276 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.6397, allocations: 15.92 kB / 0.6277 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6397, allocations: 0 / 0.6277 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.6397, allocations: 3.984 kB / 0.6277 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.6443, allocations: 2.572 MB / 0.6302 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.6443, allocations: 4.031 kB / 0.6302 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.6456, allocations: 263.7 kB / 0.6304 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.6475, allocations: 392.3 kB / 0.6308 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.62e-05/0.6476, allocations: 35.91 kB / 0.6308 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.6501, allocations: 2.277 MB / 0.6331 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6501, allocations: 0 / 0.6331 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2007/0.8508, allocations: 2.092 MB / 0.6351 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.8516, allocations: 304.6 kB / 0.6354 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.8517, allocations: 27 kB / 0.6354 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008506/0.8526, allocations: 78.53 kB / 0.6355 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.8527, allocations: 56.53 kB / 0.6356 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.8529, allocations: 52.91 kB / 0.6356 GB, free: 155.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005667/0.8534, allocations: 487.8 kB / 0.6361 GB, free: 155.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8534, allocations: 0.9688 kB / 0.6361 GB, free: 155.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001853/0.8553, allocations: 0.6965 MB / 0.6367 GB, free: 155.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/0.8571, allocations: 0.8616 MB / 0.6376 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.8596, allocations: 1.258 MB / 0.6388 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8596, allocations: 1.875 kB / 0.6388 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.8612, allocations: 0.7162 MB / 0.6395 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.8635, allocations: 466.7 kB / 0.64 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.8677, allocations: 2.509 MB / 0.6424 GB, free: 154.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.8681, allocations: 1.06 MB / 0.6435 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001237/0.8694, allocations: 301.3 kB / 0.6437 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.8697, allocations: 104.5 kB / 0.6438 GB, free: 153.7 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.8697, allocations: 0 / 0.6438 GB, free: 153.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05613/0.9258, allocations: 33.06 MB / 0.6761 GB, free: 144.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: