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.01059/0.01059, allocations: 102 kB / 15.73 MB, free: 6.055 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.002041/0.002041, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.534/1.534, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1838/0.1838, allocations: 38.01 MB / 307.9 MB, free: 5.965 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.001567/0.001567, allocations: 68.42 kB / 433 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 56.47 MB / 489.5 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4602/0.5647, allocations: 196.4 MB / 0.6698 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.5794, allocations: 10.29 MB / 0.6799 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.5805, allocations: 19.88 kB / 0.6799 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.582, allocations: 437.5 kB / 0.6803 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.5889, allocations: 2.581 MB / 0.6828 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00833/0.5973, allocations: 2.648 MB / 0.6854 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003193/0.6005, allocations: 2.189 MB / 0.6876 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6017, allocations: 0.5995 MB / 0.6882 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.6058, allocations: 1.954 MB / 0.6901 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.6069, allocations: 0.8605 MB / 0.6909 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.6071, allocations: 96 kB / 0.691 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009126/0.6162, allocations: 5.74 MB / 0.6966 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.6167, allocations: 423 kB / 0.697 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006485/0.6174, allocations: 0.5368 MB / 0.6975 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006105/0.6235, allocations: 4.077 MB / 0.7015 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6235, allocations: 0 / 0.7015 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6235, allocations: 0 / 0.7015 GB, free: 9.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.6235, allocations: 0 / 0.7015 GB, free: 9.125 MB / 0.545 GB 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.003843/0.6274, allocations: 1.793 MB / 0.7033 GB, free: 7.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6274, allocations: 11.89 kB / 0.7033 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.6278, allocations: 114.8 kB / 0.7034 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.6289, allocations: 0.6326 MB / 0.704 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.629, allocations: 113.4 kB / 0.7041 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.6292, allocations: 71.98 kB / 0.7042 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.6309, allocations: 1.162 MB / 0.7053 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.6309, allocations: 4 kB / 0.7053 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6311, allocations: 35.97 kB / 0.7053 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/0.6311, allocations: 57.97 kB / 0.7054 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.6331, allocations: 1.175 MB / 0.7066 GB, free: 3.805 MB / 0.545 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.006606/0.6397, allocations: 4.998 MB / 0.7114 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.6414, allocations: 0.8317 MB / 0.7122 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.642, allocations: 426.3 kB / 0.7127 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/0.6435, allocations: 1.88 MB / 0.7145 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.6435, allocations: 43.12 kB / 0.7145 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.516e-06/0.6435, allocations: 0 / 0.7145 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01407/0.6576, allocations: 4.02 MB / 0.7185 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/0.6578, allocations: 115.5 kB / 0.7186 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.6588, allocations: 0.664 MB / 0.7192 GB, free: 6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.659, allocations: 41.7 kB / 0.7193 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.6593, allocations: 383.5 kB / 0.7196 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/0.6596, allocations: 287.9 kB / 0.7199 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.6599, allocations: 206.4 kB / 0.7201 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.6602, allocations: 390.8 kB / 0.7205 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.6613, allocations: 493.7 kB / 0.7209 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.6625, allocations: 0.7571 MB / 0.7217 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.6649, allocations: 1.286 MB / 0.7229 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.6649, allocations: 0 / 0.7229 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003683/0.6686, allocations: 1.692 MB / 0.7246 GB, free: 244 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.6687, allocations: 8 kB / 0.7246 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.6687, allocations: 8.594 kB / 0.7246 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00725/0.676, allocations: 1.335 MB / 0.7259 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.6767, allocations: 159.7 kB / 0.7261 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.6794, allocations: 1.537 MB / 0.7276 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.6804, allocations: 51.95 kB / 0.7276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.6806, allocations: 67.97 kB / 0.7277 GB, free: 13.05 MB / 0.5762 GB 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 (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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005524/0.6811, allocations: 293.5 kB / 0.7279 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.6814, allocations: 83.06 kB / 0.728 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.6848, allocations: 1.627 MB / 0.7296 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.6848, allocations: 12 kB / 0.7296 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6848, allocations: 0 / 0.7296 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.6849, allocations: 15.91 kB / 0.7296 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/0.6894, allocations: 2.539 MB / 0.7321 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.6894, allocations: 4 kB / 0.7321 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.6908, allocations: 263.7 kB / 0.7324 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/0.6925, allocations: 384.3 kB / 0.7327 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/0.6926, allocations: 27.98 kB / 0.7328 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.6951, allocations: 2.348 MB / 0.7351 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6951, allocations: 3.984 kB / 0.7351 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.6991, allocations: 2.026 MB / 0.737 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007275/0.6998, allocations: 291.9 kB / 0.7373 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.7, allocations: 24 kB / 0.7373 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/0.7009, allocations: 51.95 kB / 0.7374 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.7011, allocations: 68.91 kB / 0.7375 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/0.7013, allocations: 51.97 kB / 0.7375 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006797/0.7019, allocations: 0.4989 MB / 0.738 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.702, allocations: 0 / 0.738 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002161/0.7041, allocations: 0.7066 MB / 0.7387 GB, free: 1.434 MB / 0.5762 GB 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002354/0.7065, allocations: 0.9088 MB / 0.7396 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2218/0.9283, allocations: 1.241 MB / 0.7408 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.9283, allocations: 1.406 kB / 0.7408 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.9305, allocations: 0.7184 MB / 0.7415 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/0.933, allocations: 0.5199 MB / 0.742 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.938, allocations: 2.133 MB / 0.7441 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/0.9387, allocations: 1.043 MB / 0.7451 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00133/0.9401, allocations: 304.9 kB / 0.7454 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.9404, allocations: 102.4 kB / 0.7455 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.9404, allocations: 0 / 0.7455 GB, free: 219.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.04492/0.9853, allocations: 36.39 MB / 0.781 GB, free: 198.7 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (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)