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.0008961/0.0008961, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006914/0.006915, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.736/1.736, allocations: 205.4 MB / 222.4 MB, free: 5.547 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.3524/0.3524, allocations: 40 MB / 310.7 MB, free: 9.918 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.0005584/0.0005585, allocations: 16 kB / 379.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1348, allocations: 57.97 MB / 437.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4697/0.6045, allocations: 193.2 MB / 0.6159 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.6189, allocations: 10.47 MB / 0.6261 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.62, allocations: 27.75 kB / 0.6261 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.6216, allocations: 386.1 kB / 0.6265 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007905/0.6295, allocations: 2.276 MB / 0.6287 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007213/0.6367, allocations: 2.333 MB / 0.631 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.3303/0.9671, allocations: 3.204 MB / 0.6341 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.9685, allocations: 0.5081 MB / 0.6346 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004666/0.9731, allocations: 1.765 MB / 0.6363 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.9745, allocations: 0.8877 MB / 0.6372 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.9747, allocations: 46.94 kB / 0.6372 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009975/0.9847, allocations: 5.93 MB / 0.643 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008931/0.9856, allocations: 386.1 kB / 0.6434 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008805/0.9865, allocations: 0.5076 MB / 0.6439 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.9985, allocations: 4.145 MB / 0.6479 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.9985, allocations: 2.5 kB / 0.6479 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9985, allocations: 0 / 0.6479 GB, free: 3.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.9986, allocations: 0 / 0.6479 GB, free: 3.797 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.006631/1.005, allocations: 1.601 MB / 0.6495 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.005, allocations: 9.094 kB / 0.6495 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005329/1.006, allocations: 111.5 kB / 0.6496 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.007, allocations: 0.5894 MB / 0.6502 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.007, allocations: 118.8 kB / 0.6503 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.007, allocations: 72.69 kB / 0.6504 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/1.009, allocations: 1.174 MB / 0.6515 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.009, allocations: 1.75 kB / 0.6515 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/1.009, allocations: 37.88 kB / 0.6516 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.785e-05/1.01, allocations: 57.38 kB / 0.6516 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/1.011, allocations: 1.173 MB / 0.6528 GB, free: 18.36 MB / 0.4981 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.007683/1.019, allocations: 5.004 MB / 0.6577 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/1.021, allocations: 0.827 MB / 0.6585 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007253/1.022, allocations: 434.1 kB / 0.6589 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/1.024, allocations: 1.889 MB / 0.6607 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.024, allocations: 47 kB / 0.6608 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.447e-06/1.024, allocations: 0 / 0.6608 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01414/1.038, allocations: 4.157 MB / 0.6648 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/1.038, allocations: 112.5 kB / 0.6649 GB, free: 13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.039, allocations: 0.6549 MB / 0.6656 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/1.039, allocations: 49.09 kB / 0.6656 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/1.039, allocations: 384.9 kB / 0.666 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/1.04, allocations: 292 kB / 0.6663 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/1.04, allocations: 88.23 kB / 0.6663 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.04, allocations: 391 kB / 0.6667 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009803/1.041, allocations: 499.8 kB / 0.6672 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.042, allocations: 0.7682 MB / 0.6679 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/1.045, allocations: 1.293 MB / 0.6692 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/1.045, allocations: 6.281 kB / 0.6692 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003614/1.048, allocations: 1.701 MB / 0.6709 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/1.048, allocations: 11.94 kB / 0.6709 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.048, allocations: 7.688 kB / 0.6709 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007662/1.056, allocations: 1.393 MB / 0.6723 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/1.057, allocations: 161.5 kB / 0.6724 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/1.06, allocations: 1.55 MB / 0.6739 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.061, allocations: 95.92 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.061, allocations: 60.47 kB / 0.6741 GB, free: 10.77 MB / 0.4981 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.0005582/1.061, allocations: 294.9 kB / 0.6744 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/1.062, allocations: 90.75 kB / 0.6744 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/1.065, allocations: 1.646 MB / 0.676 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.065, allocations: 15.91 kB / 0.6761 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.065, allocations: 0 / 0.6761 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.065, allocations: 4.828 kB / 0.6761 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/1.069, allocations: 2.572 MB / 0.6786 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.069, allocations: 0 / 0.6786 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.07, allocations: 269.3 kB / 0.6788 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/1.072, allocations: 396.5 kB / 0.6792 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.984e-05/1.072, allocations: 36.27 kB / 0.6792 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/1.075, allocations: 2.278 MB / 0.6815 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.075, allocations: 3.938 kB / 0.6815 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/1.079, allocations: 2.031 MB / 0.6835 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/1.08, allocations: 307.8 kB / 0.6838 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/1.08, allocations: 29.22 kB / 0.6838 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/1.081, allocations: 73.61 kB / 0.6839 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.081, allocations: 67.86 kB / 0.6839 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.081, allocations: 58.8 kB / 0.684 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006011/1.081, allocations: 0.4895 MB / 0.6845 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.081, allocations: 0 / 0.6845 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002228/1.084, allocations: 0.7043 MB / 0.6851 GB, free: 7.098 MB / 0.4981 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.002291/1.086, allocations: 0.8946 MB / 0.686 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002578/1.089, allocations: 1.25 MB / 0.6872 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.089, allocations: 4.891 kB / 0.6872 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/1.09, allocations: 0.7274 MB / 0.6879 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/1.093, allocations: 0.4942 MB / 0.6884 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/1.098, allocations: 2.583 MB / 0.691 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/1.098, allocations: 1.046 MB / 0.692 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001375/1.1, allocations: 320 kB / 0.6923 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/1.1, allocations: 101 kB / 0.6924 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of SimCode: time 9.51e-07/1.1, allocations: 0 / 0.6924 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.05427/1.154, allocations: 34.78 MB / 0.7263 GB, free: 3.539 MB / 0.5294 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: