Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.001132/0.001133, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001227/0.001227, allocations: 168.7 kB / 15.95 MB, free: 204 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.884/1.884, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.4327/0.4327, allocations: 40.01 MB / 310.4 MB, free: 9.852 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.0005869/0.0005874, allocations: 12 kB / 378.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1321, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.43/0.5621, allocations: 179.3 MB / 0.6017 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.5765, allocations: 9.668 MB / 0.6111 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.5776, allocations: 31.75 kB / 0.6111 GB, free: 6.953 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.5791, allocations: 310 kB / 0.6114 GB, free: 6.648 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00644/0.5855, allocations: 2.077 MB / 0.6135 GB, free: 4.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005883/0.5914, allocations: 1.964 MB / 0.6154 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003514/0.595, allocations: 2.648 MB / 0.618 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000933/0.5959, allocations: 0.495 MB / 0.6184 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.6004, allocations: 1.67 MB / 0.6201 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.6019, allocations: 0.8645 MB / 0.6209 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.602, allocations: 44 kB / 0.621 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008521/0.6105, allocations: 4.716 MB / 0.6256 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006314/0.6112, allocations: 386.9 kB / 0.6259 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.6116, allocations: 209.3 kB / 0.6261 GB, free: 7.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.6162, allocations: 2.666 MB / 0.6287 GB, free: 4.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6162, allocations: 0 / 0.6287 GB, free: 4.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6162, allocations: 4 kB / 0.6287 GB, free: 4.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.6163, allocations: 0 / 0.6287 GB, free: 4.895 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003713/0.62, allocations: 1.606 MB / 0.6303 GB, free: 3.234 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.62, allocations: 8.031 kB / 0.6303 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.6204, allocations: 114.8 kB / 0.6304 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.6213, allocations: 0.5822 MB / 0.631 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.6214, allocations: 113.4 kB / 0.6311 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.6215, allocations: 71.98 kB / 0.6312 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.6234, allocations: 1.162 MB / 0.6323 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.6234, allocations: 3.938 kB / 0.6323 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.6235, allocations: 28 kB / 0.6323 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/0.6236, allocations: 61.97 kB / 0.6324 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2976/0.9212, allocations: 1.16 MB / 0.6335 GB, free: 16.68 MB / 494.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.005665/0.9269, allocations: 5.001 MB / 0.6384 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.9284, allocations: 0.8342 MB / 0.6392 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.9289, allocations: 424.7 kB / 0.6396 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.93, allocations: 1.89 MB / 0.6415 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.9301, allocations: 44 kB / 0.6415 GB, free: 12.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.975e-06/0.9301, allocations: 0 / 0.6415 GB, free: 12.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.01181/0.9419, allocations: 4.156 MB / 0.6456 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.942, allocations: 114.8 kB / 0.6457 GB, free: 11.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008828/0.9429, allocations: 0.6544 MB / 0.6463 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.697e-05/0.943, allocations: 41.55 kB / 0.6464 GB, free: 11.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.9433, allocations: 383.2 kB / 0.6467 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.9436, allocations: 298 kB / 0.647 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.9436, allocations: 18.19 kB / 0.647 GB, free: 10.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9438, allocations: 390.5 kB / 0.6474 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009227/0.9447, allocations: 0.489 MB / 0.6479 GB, free: 10.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/0.9457, allocations: 0.7564 MB / 0.6486 GB, free: 10.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.9467, allocations: 0.5881 MB / 0.6492 GB, free: 10.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.9467, allocations: 3.25 kB / 0.6492 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003068/0.9498, allocations: 1.695 MB / 0.6509 GB, free: 10.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9498, allocations: 9.844 kB / 0.6509 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.9498, allocations: 6.219 kB / 0.6509 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00639/0.9562, allocations: 1.399 MB / 0.6522 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.9569, allocations: 159.5 kB / 0.6524 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.9592, allocations: 1.555 MB / 0.6539 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.9603, allocations: 86.33 kB / 0.654 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.9604, allocations: 59.22 kB / 0.654 GB, free: 9.527 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.0005916/0.961, allocations: 313.4 kB / 0.6543 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.9612, allocations: 87.45 kB / 0.6544 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.9643, allocations: 1.647 MB / 0.656 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.9644, allocations: 11.39 kB / 0.6561 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.9644, allocations: 2.281 kB / 0.6561 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.9644, allocations: 2.766 kB / 0.6561 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004245/0.9686, allocations: 2.56 MB / 0.6586 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.9687, allocations: 1.812 kB / 0.6586 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.9699, allocations: 265.7 kB / 0.6588 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/0.9717, allocations: 398.5 kB / 0.6592 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.9718, allocations: 34.22 kB / 0.6592 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.9741, allocations: 2.271 MB / 0.6614 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9741, allocations: 1.594 kB / 0.6614 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/0.9779, allocations: 2.034 MB / 0.6634 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/0.9786, allocations: 301.9 kB / 0.6637 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.9788, allocations: 22.58 kB / 0.6637 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008081/0.9796, allocations: 78.36 kB / 0.6638 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.9798, allocations: 67.7 kB / 0.6639 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.9799, allocations: 49.12 kB / 0.6639 GB, free: 6.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006321/0.9805, allocations: 490.5 kB / 0.6644 GB, free: 6.375 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9805, allocations: 1.094 kB / 0.6644 GB, free: 6.375 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002256/0.9828, allocations: 0.6993 MB / 0.6651 GB, free: 6.352 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.002359/0.9852, allocations: 0.8804 MB / 0.6659 GB, free: 6.188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003095/0.9883, allocations: 1.242 MB / 0.6671 GB, free: 6.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.9883, allocations: 10.98 kB / 0.6672 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.9901, allocations: 0.7088 MB / 0.6679 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.9927, allocations: 475.4 kB / 0.6683 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/0.9974, allocations: 2.506 MB / 0.6708 GB, free: 5.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.998, allocations: 1.055 MB / 0.6718 GB, free: 4.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00147/0.9994, allocations: 304 kB / 0.6721 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.9998, allocations: 97.42 kB / 0.6722 GB, free: 4.281 MB / 494.1 MB Notification: Performance of SimCode: time 1.483e-06/0.9998, allocations: 0 / 0.6722 GB, free: 4.281 MB / 494.1 MB Notification: Performance of Templates: time 0.04989/1.05, allocations: 33.43 MB / 0.7048 GB, free: 1.312 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) Environment - environmentSimulation: