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.01324/0.01324, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.002859/0.002859, allocations: 188.3 kB / 16.67 MB, free: 5.969 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.716/1.716, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.332/0.332, allocations: 37.99 MB / 307.9 MB, free: 10.02 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.001565/0.001565, allocations: 75.89 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3017, allocations: 56.46 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5727/0.8744, allocations: 196.4 MB / 0.6698 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01509/0.8896, allocations: 10.28 MB / 0.6799 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.8908, allocations: 22.28 kB / 0.6799 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.8921, allocations: 440.3 kB / 0.6803 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.9022, allocations: 2.584 MB / 0.6828 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01121/0.9135, allocations: 2.639 MB / 0.6854 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004689/0.9182, allocations: 2.196 MB / 0.6876 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.9194, allocations: 0.5946 MB / 0.6882 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005663/0.9251, allocations: 1.967 MB / 0.6901 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.9266, allocations: 0.8665 MB / 0.6909 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.9267, allocations: 94.34 kB / 0.691 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01223/0.939, allocations: 5.743 MB / 0.6966 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009514/0.94, allocations: 429.7 kB / 0.697 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.9411, allocations: 0.5291 MB / 0.6975 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.9536, allocations: 4.074 MB / 0.7015 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9536, allocations: 0 / 0.7015 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.917e-06/0.9536, allocations: 4.953 kB / 0.7015 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.9537, allocations: 2.25 kB / 0.7015 GB, free: 15.31 MB / 0.5137 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.004626/0.9583, allocations: 1.794 MB / 0.7033 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.9584, allocations: 14.08 kB / 0.7033 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.9588, allocations: 111.1 kB / 0.7034 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.9599, allocations: 0.6185 MB / 0.704 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.9601, allocations: 120.4 kB / 0.7041 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.9602, allocations: 71.03 kB / 0.7042 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.9621, allocations: 1.171 MB / 0.7053 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.9621, allocations: 4.781 kB / 0.7053 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.523e-05/0.9622, allocations: 36.69 kB / 0.7054 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/0.9623, allocations: 62.89 kB / 0.7054 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.964, allocations: 1.166 MB / 0.7066 GB, free: 13.07 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.006876/0.9709, allocations: 4.987 MB / 0.7114 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.9727, allocations: 0.8311 MB / 0.7122 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.9733, allocations: 428 kB / 0.7127 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.9749, allocations: 1.89 MB / 0.7145 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.975, allocations: 50.12 kB / 0.7146 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 3.176e-06/0.975, allocations: 0.9688 kB / 0.7146 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01385/0.9889, allocations: 4.022 MB / 0.7185 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.989, allocations: 119.5 kB / 0.7186 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008837/0.9899, allocations: 0.664 MB / 0.7192 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.99, allocations: 45.7 kB / 0.7193 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.9903, allocations: 384.1 kB / 0.7197 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.9905, allocations: 285.3 kB / 0.7199 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.9909, allocations: 202.4 kB / 0.7201 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.991, allocations: 390.8 kB / 0.7205 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.992, allocations: 497.7 kB / 0.721 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.9933, allocations: 0.7551 MB / 0.7217 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.9956, allocations: 1.286 MB / 0.723 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.9956, allocations: 7.938 kB / 0.723 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003632/0.9993, allocations: 1.688 MB / 0.7246 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.9993, allocations: 11.94 kB / 0.7246 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.9994, allocations: 8 kB / 0.7246 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007334/1.007, allocations: 1.32 MB / 0.7259 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/1.007, allocations: 156.5 kB / 0.7261 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/1.01, allocations: 1.539 MB / 0.7276 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/1.011, allocations: 52.02 kB / 0.7276 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.011, allocations: 59.97 kB / 0.7277 GB, free: 10.8 MB / 0.5294 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.0005606/1.012, allocations: 302.8 kB / 0.728 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/1.012, allocations: 82.25 kB / 0.728 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/1.016, allocations: 1.645 MB / 0.7297 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.016, allocations: 8 kB / 0.7297 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.016, allocations: 0 / 0.7297 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.016, allocations: 7.969 kB / 0.7297 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/1.021, allocations: 2.54 MB / 0.7322 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.021, allocations: 160 / 0.7322 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.022, allocations: 266.1 kB / 0.7324 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/1.024, allocations: 379.1 kB / 0.7328 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.162e-05/1.024, allocations: 39.97 kB / 0.7328 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/1.027, allocations: 2.345 MB / 0.7351 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.027, allocations: 7.219 kB / 0.7351 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/1.03, allocations: 2.014 MB / 0.7371 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/1.031, allocations: 291.9 kB / 0.7373 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/1.031, allocations: 31.94 kB / 0.7374 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/1.032, allocations: 51.95 kB / 0.7374 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.032, allocations: 60.91 kB / 0.7375 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.032, allocations: 51.97 kB / 0.7375 GB, free: 456 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007192/1.033, allocations: 0.4978 MB / 0.738 GB, free: 15.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.033, allocations: 0 / 0.738 GB, free: 15.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002434/1.035, allocations: 0.7105 MB / 0.7387 GB, free: 15.24 MB / 0.545 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.002023/1.037, allocations: 0.8999 MB / 0.7396 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00262/1.04, allocations: 1.252 MB / 0.7408 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.04, allocations: 0 / 0.7408 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.042, allocations: 0.7158 MB / 0.7415 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.044, allocations: 0.5157 MB / 0.742 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/1.049, allocations: 2.149 MB / 0.7441 GB, free: 9.797 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009936/1.05, allocations: 1.043 MB / 0.7451 GB, free: 8.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001581/1.052, allocations: 319.8 kB / 0.7454 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/1.052, allocations: 95.41 kB / 0.7455 GB, free: 8.32 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/1.052, allocations: 0 / 0.7455 GB, free: 8.32 MB / 0.545 GB Notification: Performance of Templates: time 0.1028/1.155, allocations: 36.8 MB / 0.7815 GB, free: 3.59 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)